Commit 016ac195 authored by Jonathan Mace's avatar Jonathan Mace
Browse files

Fix logging again

parent ed0c766b
......@@ -154,10 +154,6 @@ public class SparkTPCDSBatchGenerator {
Object[] row = { end, iteration, query.benchmarkName(), query.queryName, query, end-begin, successful, errorreason, taskId, taskId+1 };
statusLog.println(StringUtils.join(row, "\t"));
statusLog.flush();
long postQ = System.currentTimeMillis();
System.out.printf("Load time: %d, Query time: %d\n", postLoad-preLoad, postQ-postLoad);
xtrace.log(String.format("Load time: %d, Query time: %d", postLoad-preLoad, postQ-postLoad));
iteration++;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment