本文介绍了Apache Storm:Nimbus 未在端口 6627 上启动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
启动 Nimbus 后,我在端口 6627 上看不到任何内容.我收到连接被拒绝错误.Nimbus 日志中抛出以下错误:
I can't see anything on port 6627 after starting Nimbus. I am getting the Connection Refused error. Following errors are thrown in Nimbus Log:
6899 [main] ERROR com.smarterme.intake.EmbeddedTopologyRunner - Toplogy submitting failed.....org.apache.thrift7.transport.TTransportException: java.net.ConnectException: Connection refused
java.lang.RuntimeException: org.apache.thrift7.transport.TTransportException: java.net.ConnectException: Connection refused
at backtype.storm.utils.NimbusClient.getConfiguredClient(NimbusClient.java:38)
at backtype.storm.StormSubmitter.submitTopology(StormSubmitter.java:116)**
你们对这个有什么想法吗?
Do you guys have any idea about this?
推荐答案
在/etc/hosts 文件中添加nimbus"作为 127.0.0.1 和 localhost 的别名.
Add "nimbus" to /etc/hosts file as alias to 127.0.0.1 and localhost.
确保 iptables 不是您所在主机的问题尝试运行或很可能你的 ~/.storm/storm.yaml 有问题
Make sure iptables is not the issue from the host you aretrying to run or Most likely there is something wrong in your ~/.storm/storm.yaml
通过下面的链接,希望这可以帮助你.
Go through below link,hope this could help you.
http://storm.apache.org/about/deployment.html
这篇关于Apache Storm:Nimbus 未在端口 6627 上启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!