parent
7a97916b1f
commit
bd80606e7a
|
|
@ -8,8 +8,6 @@ Apache Storm is a distributed computation framework written predominantly in the
|
||||||
|
|
||||||
# How to use this image
|
# How to use this image
|
||||||
|
|
||||||
This image entry point is a [Storm command line client](http://storm.apache.org/releases/1.0.0/Command-line-client.html). See couple of usage examples below.
|
|
||||||
|
|
||||||
## Running topologies in local mode
|
## Running topologies in local mode
|
||||||
|
|
||||||
Assuming you have `storm-starter-topologies-1.0.1.jar` in the current directory.
|
Assuming you have `storm-starter-topologies-1.0.1.jar` in the current directory.
|
||||||
|
|
@ -20,7 +18,7 @@ Assuming you have `storm-starter-topologies-1.0.1.jar` in the current directory.
|
||||||
|
|
||||||
1. [Apache Zookeeper](https://zookeeper.apache.org/) is a must for running a Storm cluster. Start it first. Since the Zookeeper "fails fast" it's better to always restart it.
|
1. [Apache Zookeeper](https://zookeeper.apache.org/) is a must for running a Storm cluster. Start it first. Since the Zookeeper "fails fast" it's better to always restart it.
|
||||||
|
|
||||||
$ docker run -d --restart always --name zookeeper jplock/zookeeper:3.4.8
|
$ docker run -d --restart always --name zookeeper 31z4/zookeeper:3.4.8
|
||||||
|
|
||||||
2. The Nimbus daemon has to be connected with the Zookeeper. It's also a "fail fast" system.
|
2. The Nimbus daemon has to be connected with the Zookeeper. It's also a "fail fast" system.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
version: '2'
|
version: '2'
|
||||||
services:
|
services:
|
||||||
zookeeper:
|
zookeeper:
|
||||||
image: jplock/zookeeper:3.4.8
|
image: 31z4/zookeeper:3.4.8
|
||||||
restart: always
|
restart: always
|
||||||
|
|
||||||
nimbus:
|
nimbus:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue