\r
log.info("Initializing statistics collector");\r
executor = Executors.newScheduledThreadPool(2);\r
- // FIXME Nullpointer if jobsout is not available?\r
+\r
if (collectClusterStats()) {\r
- // TODO remove work out of the constructor Tomcat takes ages to\r
- // start!\r
+\r
ExecutionStatCollector clusterCollector = new ExecutionStatCollector(\r
clusterWorkDir, clusterMaxRuntime);\r
clustercf = executor.scheduleAtFixedRate(clusterCollector, 60,\r
} else {\r
log.info("Local statistics collector is disabled or not configured! ");\r
}\r
-\r
}\r
\r
static String getClusterJobDir() {\r