当我使用bin/storm supervisor
主管启动主管时,显示以下错误:
kill:向5517发送信号失败:无此过程。
storm.yml
storm.zookeeper.servers: ["localhost"]
nimbus.seeds: ["localhost"]
storm.local.dir: "/home/usename/Documents/Storm/datadir/storm"
storm.zookeeper.port: 2181
supervisor.slots.ports:
- 6700
- 6701
- 6702
- 6703
ui.port: 8087
initLimit: 30
syncLimit: 10
storm.messaging.transport : "org.apache.storm.messaging.netty.Context"
zoo.cfg
tickTime=2000
dataDir=/home/username/Documents/Storm/datadir/zookeeper
clientPort=2181
我的文件夹结构是:
/home/username/Documents/Storm/apache-storm-1.2.3/
/home/username/Documents/Storm/datadir/zookeeper/zookeeper-3.4.14/
启动Storm和Zookeeper的步骤:
- cd /home/username/Documents/Storm/datadir/zookeeper/zookeeper-3.4.14
- bin/zkServer.sh start
- cd /home/username/Documents/Storm/apache-storm-1.2.3
- bin/storm nimbus
- bin/storm supervisor
- bin/storm ui
执行这些命令后,我的主管显示错误:
杀死:向5517发送信号失败:没有这样的过程