【问题标题】:Connection refused error in worker logs - apache storm工作日志中的连接被拒绝错误 - Apache Storm
【发布时间】:2017-04-06 11:10:04
【问题描述】:

我在工作日志中看到以下错误,它几乎每毫秒发生一次,但集群运行良好,我想知道这些错误是什么意思,以及为什么会发生这种情况。

这发生在所有工作节点上

2016-05-12T15:32:53.514-0500 b.s.m.n.Client [错误] 到 Netty-Client-xxxxx.hq.abc.com/xx.xx.xxx.xx:6700 的连接尝试 3 失败:java.net。 ConnectException:连接被拒绝:xxxxx.hq.abc.com/xx.xx.xxx.xxx:6700

过了一段时间我看到了这个 2016-05-12T15:44:25.940-0500 b.s.m.n.Client [错误] 丢弃 1 条消息,因为 Netty-Client-xxxxx.hq.abc.com/xx.xx.xxx.xxx:6700 的 Netty 客户端正在关闭

【问题讨论】:

标签: apache-storm


【解决方案1】:

在为这个问题苦苦挣扎之后,我发现在storm.yaml 文件中设置storm.local.hostname 属性为我解决了这个问题。在我的笔记本电脑上,我将storm.zookeeper.servers、nimbus.host 和storm.local.hostname 全部设置为“localhost”。

我使用的是storm 0.10.2版本。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2014-11-01
    • 1970-01-01
    • 2018-03-18
    • 1970-01-01
    • 2011-06-11
    • 1970-01-01
    • 2020-12-11
    相关资源
    最近更新 更多