org.apache.storm.thrift.transport.TTransportException
at org.apache.storm.thrift.transport.TIOStreamTransport.read(TIOStreamTransport.java:132)
at org.apache.storm.thrift.transport.TTransport.readAll(TTransport.java:86)
at org.apache.storm.thrift.transport.TFramedTransport.readFrame(TFramedTransport.java:129)
at org.apache.storm.thrift.transport.TFramedTransport.read(TFramedTransport.java:101)
at org.apache.storm.thrift.transport.TTransport.readAll(TTransport.java:86)
at org.apache.storm.thrift.protocol.TBinaryProtocol.readAll(TBinaryProtocol.java:429)
at org.apache.storm.thrift.protocol.TBinaryProtocol.readI32(TBinaryProtocol.java:318)
at org.apache.storm.thrift.protocol.TBinaryProtocol.readMessageBegin(TBinaryProtocol.java:219)
at org.apache.storm.thrift.TServiceClient.receiveBase(TServiceClient.java:77)
at org.apache.storm.generated.Nimbus$Client.recv_getClusterInfo(Nimbus.java:1156)
at org.apache.storm.generated.Nimbus$Client.getClusterInfo(Nimbus.java:1144)
at org.apache.storm.ui.core$supervisor_summary.invoke(core.clj:414)
at org.apache.storm.ui.core$fn__12602.invoke(core.clj:946)
我已经检查了许多问题的答案,如风暴用户界面内部服务器错误,但仍然不能解决它。我的步骤:
bin/zkServer.sh start
我运行这个命令: bin/zkCli.sh -server 127.0.0.1:2181
检查zookeeper是否正常运行并且没有错误。然后
bin/storm nimbus
bin/storm supervisor
bin/storm ui
到目前为止一切都很好!但当我试图通过浏览器连接到storm ui时,出现如上所示的错误,浏览器在/home/user/storm/conf中卡住了“loading summary”my storm.yaml如下:
storm.zookeeper.servers:
- "localhost"
nimbus.seeds: ["localhost"]
myzoo.cfg如下:
dataDir=/home/zookeeper-3.4.9/data
clientPort=2181
我在mac上运行这个,storm的版本是1.0.2,zookeeper的版本是3.4.9。有人知道怎么解决这个问题吗?
添加:
如果我把storm的版本改为0.8.1,一切都会很好!我的storm.yaml of storm-0.8.1如下:
storm.zookeeper.servers:
- "localhost"
storm.local.dir: "/home/storm-0.8.1/storm"
supervisor.slots.ports:
- 6700
- 6701
- 6702
- 6703
storm.health.check.dir: "healthchecks"
storm.health.check.timeout.ms: 5000
nimbus.host: "localhost"
暂无答案!
目前还没有任何答案,快来回答吧!