分享

storm中的netty通讯报错

caiyifeng 发表于 2015-7-29 16:55:49 [显示全部楼层] 回帖奖励 阅读模式 关闭右栏 3 44198
我在使用storm过程中,经常有几点会报一下错误:
2015-07-29T16:35:28.719+0800 b.s.m.n.Client [ERROR] connection attempt 52 to Netty-Client-gjzq-zz-519/10.50.5.19:26702 failed: java.lang.RuntimeException: Returned channel was actually not established

应该是节点间采用netty通讯失败导致的,但节点重启后,又可以用了
请教这大概会是什么原因造成的

已有(3)人评论

跳转到指定楼层
caiyifeng 发表于 2015-7-29 17:00:45
在storm.yaml中对于netty相关参数的配置如下,有哪位大神给指点下,是不是参数配置的问题
storm.messaging.netty.server_worker_threads: 1
storm.messaging.netty.client_worker_threads: 1
#storm.messaging.netty.buffer_size: 5242880 #5MB buffer
storm.messaging.netty.buffer_size: 10485760 #10MB buffer
storm.messaging.netty.max_retries: 100
storm.messaging.netty.max_wait_ms: 1000
storm.messaging.netty.min_wait_ms: 100
回复

使用道具 举报

Alkaloid0515 发表于 2015-7-29 17:41:05
storm的哪个版本,可能是个bug
       
英文参考:
0.9.5 did not solve problem completely, but now the error occurs after a very long time. Here are some lines from logs _[INFO] waiting up to 600000 ms to send 0 pending messages to Netty-Client-Hostname/ip:6700 [ERROR] connection attempt 1 to Netty-Client-Hostname/ip:6701 failed: java.lang.RuntimeException: Returned channel was actually not established [ERROR] connection attempt 24 to Netty-Client-:Hostname/ip:6701 failed: java.lang.RuntimeException: Returned channel was actually not established_.


连接
http://stackoverflow.com/questions/30732178/storm-error-async-loop-died
回复

使用道具 举报

caiyifeng 发表于 2015-7-29 17:58:22
storm0.9.2 的,看了链接,好像要升级到0.9.5才行
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

推荐上一条 /2 下一条