标签:storm
1、实验环境:
centos6.4
jdk1.8.0
CDH-5.3.2-1
storm0.9.3
2、准备条件
yum
install
libtool
yum
install
gcc-c++
yum
install
uuid-devel
yum
install
libuuid-devel
安装ZeroMQ
https://github.com/zeromq/zeromq2-x.git git clone
./autogen.sh
./configure
make&&make install
安装jzmq
git clone https://github.com/nathanmarz/jzmq.git
./autogen.sh
./configure
make&&make install
3、修改配置文件conf/storm.yaml注意前面有一个空格
storm.zookeeper.servers:
- "192.168.56.101"
- "192.168.56.102"
nimbus.host: "192.168.56.101"
storm.local.dir: "/opt/storm"
supervisor.slots.ports:
- 6700
- 6701
- 6702
- 6703
4、启动
/opt/storm-0.9.4/bin/storm nimbus &
/opt/storm-0.9.4/bin/storm ui &
/opt/storm-0.9.4/bin/storm supervisor &
/opt/storm-0.9.4/ bin/storm logviewer &
所有日志默认在$STORM_HOME/logs目录下
5、UI地址
标签:storm
原文地址:http://chengyanbin.blog.51cto.com/3900113/1654757