if(args!=null && args.length > 0) {
conf.setNumWorkers(3);
StormSubmitter.submitTopology(args[0], conf, builder.createTopology());
} else {
conf.setMaxTaskParallelism(3);
LocalCluster cluster = new LocalCluster();
cluster.submitTopology("Juggaloader-dummy", conf, builder.createTopology());
Thread.sleep(10000);
cluster.shutdown();
}
}