工作日志中的连接被拒绝错误 - apachestorm [英] Connection refused error in worker logs - apache storm

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

问题描述

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

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 [ERROR] 到 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 [ERROR] 丢弃 1 条消息,因为 Netty 客户端到 Netty-Client-xxxxx.hq.abc.com/xx.xx.xxx.xxx:6700 正在关闭

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.

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

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