用到的软件
hadoop-2.6.2
jdk1.8.0_65
kafka_2.9.2-0.8.1.1
zookeeper-3.4.6
storm-0.9.2
zeromq-4.0.4
jzmq
python
ant
GCC
步骤
搭建zookeeper集群
安装storm依赖库
下载并解压storm
修改storm.yaml配置文件
启动storm各个进程
安装ant
yum -y install ant
安装gcc
yum -y install gcc
安装python
yum -y install python-devel
########### These MUST be filled in for a storm configuration
storm.zookeeper.servers:
- "slave01"
- "slave02"
- "slave03"
# - "10.162.219.53"
# - "10.162.219.52"
#
nimbus.host: "master01"
storm.local.dir: "/home/wyz/storm-0.9.2-incubating/topology"
#ui.port: "18080"
supervisor.slots.ports:
- 6701
- 6702
- 6703
- 6704
# - 6705
# - 6706
# - 6707
# - 6708
# - 6709
# - 6710
修改权限
chmod +x /home/wyz/storm-0.9.2-incubating/bin/*
chmod +x bin/*
或者
nohup storm nimbus >> logs/nimbus.log 2>&1 &
nohup storm supervisor >> logs/supervisor.log 2>&1 &
nohup storm ui >> logs/ui.log 2>&1 &