Add Storm UI example

This commit is contained in:
Elisey Zanko 2016-10-11 11:28:06 +05:00
parent e163b8fb17
commit f0bb352cc0
No known key found for this signature in database
GPG Key ID: 08BBC369B144F2DF
1 changed files with 5 additions and 1 deletions

View File

@ -28,10 +28,14 @@ Assuming you have `storm-starter-topologies-1.0.2.jar` in the current directory.
$ docker run -d --restart always --name supervisor --link some-zookeeper:zookeeper --link some-nimbus:nimbus storm:1.0.2 storm supervisor
4. Now we can submit a topology to our cluster.
4. Now you can submit a topology to our cluster.
$ docker run --link some-nimbus:nimbus -it --rm -v $(pwd)/storm-starter-topologies-1.0.2.jar:/topology.jar storm:1.0.2 storm jar /topology.jar org.apache.storm.starter.WordCountTopology topology
5. Optionally, you can start the Storm UI.
$ docker run -d -p 8080:8080 --restart always --name ui --link some-nimbus:nimbus storm:1.0.2 storm ui
## %%COMPOSE%%
Run `docker-compose up` and wait for it to initialize completely. The Nimbus will be available at your host and port `6627`.