工人日志中的连接拒绝错误-Apache Storm [英] Connection refused error in worker logs - apache storm

查看:242
本文介绍了工人日志中的连接拒绝错误-Apache Storm的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

I see the below error in worker logs, it happens almost every milliseconds, but the cluster is running fine, I wanted to know what does these error mean and any idea on why this would occur.

这在所有工作节点上发生

This happens on all the worker nodes

2016-05-12T15:32:53.514-0500 bsmnClient [错误]与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:32:53.514-0500 b.s.m.n.Client [ERROR] connection attempt 3 to Netty-Client-xxxxx.hq.abc.com/xx.xx.xxx.xx:6700 failed: java.net.ConnectException: Connection refused: xxxxx.hq.abc.com/xx.xx.xxx.xxx:6700

一段时间后,我看到了 2016-05-12T15:44:25.940-0500 bsmnClient [错误]丢弃1条消息,因为Netty-Client-xxxxx.hq.abc.com/xx.xx.xxx.xxx:6700的Netty客户端已关闭

And after some time i see this 2016-05-12T15:44:25.940-0500 b.s.m.n.Client [ERROR] discarding 1 messages because the Netty client to Netty-Client-xxxxx.hq.abc.com/xx.xx.xxx.xxx:6700 is being closed

推荐答案

在为这个问题苦苦挣扎之后,我发现在storm.yaml文件中设置storm.local.hostname属性可以为我解决该问题.在我的笔记本电脑上,将storm.zookeeper.servers,nimbus.host和storm.local.hostname都设置为"localhost".

After struggling forever with this problem, I found that setting storm.local.hostname property in the storm.yaml file solved the issue for me. On my laptop, I set storm.zookeeper.servers, nimbus.host and storm.local.hostname all to "localhost".

我正在使用Storm的0.10.2版本.

I am using version 0.10.2 of storm.

这篇关于工人日志中的连接拒绝错误-Apache Storm的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆