Created
May 19, 2018 07:15
-
-
Save NimaGhaedsharafi/d0071518cbf26962c46090731aba1df5 to your computer and use it in GitHub Desktop.
Setup Storm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Step 1: Download Zookeeper | |
http://www.apache.org/dyn/closer.cgi/zookeeper/ | |
Step 2: | |
tar -zxcf zookeeper-3.4.6.tar.gz | |
cd zookeeper-3.4.6 | |
cd conf | |
Step 3: | |
cp zookeeper_sample.cfg zoo.cfg | |
vim zoo.cfg | |
tickTime=2000 | |
dataDir=/Users/nghaedsharafi/zookeeper | |
clientPort=2181 | |
Step 4: Download Storm | |
http://storm.apache.org/downloads.html | |
Step 5: | |
tar -zxvf apache-storm-0.9.3.tar.gz | |
cd apache-storm-0.9.3 | |
cd conf | |
Step 6: | |
vim storm.yaml | |
storm.zookeeper.servers: | |
- "localhost" | |
nimbus.seeds: ["localhost"] | |
Step 7: Start all the service (Zookeeper + Storm ) | |
Zookeeper | |
bin/zkServer.sh start | |
test it by: jps | |
jps stands for java virtual machine proccess status | |
Storm | |
bin/storm nimbus | |
bin/storm supervisor | |
[optional] | |
bin/storm ui | |
JPS over all service | |
Step 8:Check UI | |
localhost:8080 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment