Revert "Use external Zookeeper in Local mode"
This reverts commit d156980a52
.
Change-Id: I8a0bbf34db9d25503e50d4ef9d9da466f229fc78
This commit is contained in:
parent
d156980a52
commit
37ccf62158
@ -102,10 +102,7 @@ public class ThresholdingEngine {
|
|||||||
|
|
||||||
if (local) {
|
if (local) {
|
||||||
logger.info("submitting topology {} to local storm cluster", topologyName);
|
logger.info("submitting topology {} to local storm cluster", topologyName);
|
||||||
new LocalCluster(
|
new LocalCluster().submitTopology(topologyName, config, topology);
|
||||||
System.getenv("ZOOKEEPER_SERVERS"),
|
|
||||||
new Long(System.getenv("ZOOKEEPER_PORT"))
|
|
||||||
).submitTopology(topologyName, config, topology);
|
|
||||||
} else {
|
} else {
|
||||||
logger.info("submitting topology {} to non-local storm cluster", topologyName);
|
logger.info("submitting topology {} to non-local storm cluster", topologyName);
|
||||||
StormSubmitter.submitTopology(topologyName, config, topology);
|
StormSubmitter.submitTopology(topologyName, config, topology);
|
||||||
|
Loading…
Reference in New Issue
Block a user