Fix bug with deleted Cassandra table column
authorSasha Sherstnev <a.sherstnev@dundee.ac.uk>
Tue, 4 Feb 2014 16:18:55 +0000 (16:18 +0000)
committerSasha Sherstnev <a.sherstnev@dundee.ac.uk>
Tue, 4 Feb 2014 16:18:55 +0000 (16:18 +0000)
datadb/compbio/cassandra/CassandraWriter.java

index 8c1bc9d..04adcec 100644 (file)
@@ -155,7 +155,6 @@ public class CassandraWriter {
                        // requests)
                        // TODO I don't like the bit of code. There should not be so many
                        // counters...
-                       int njobsTotal = 1;
                        int njobsOk = 0;
                        int njobsStop = 0;
                        int njobsError = 0;
@@ -175,7 +174,6 @@ public class CassandraWriter {
                        }
                        if (!results4.isExhausted()) {
                                Row r = results4.one();
-                               njobsTotal += r.getLong("Total");
                                njobsOk += r.getLong("TotalOK");
                                njobsError += r.getLong("TotalError");
                                njobsStop += r.getLong("TotalStopped");