Question

Is there an easy way to deploy Apache storm on a local machine (Ubuntu 12.4 LTS vm) for evaluation purposes?

Was it helpful?

Solution 3

OTHER TIPS

You can deploy a pseudo-distributed cluster with Docker: https://registry.hub.docker.com/u/fhuz/docker-storm/

I can't recommend wirbelsturm high enough.

We used it to kickstart our production like dev environment.

Running Apache Storm on a local machine for testing purposes is ridiculously easy. Checkout Storm Local Mode.

If you use the below code, the topology is submited to the cluster through active nimbus node.

StormSubmitter.submitTopology("Topology_Name", conf, Topology_Object);

But if you use the below code, the topology is submited locally in the same machine. In this case, a new local cluster is created with nimbus, zookeepers and supervisors in the same machine.

LocalCluster cluster = new LocalCluster();
cluster.submitTopology("Topology_Name", conf, Topology_Object);
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top