NettyAvroRpcClient RPC connection error

2014-12-19 01:05:42,141 (lifecycleSupervisor-1-1) [WARN - org.apache.flume.sink.AbstractRpcSink.start(AbstractRpcSink.java:294)] Unable to create Rpc client using hostname: xxx.xxx.xxx.xxx, port: 41100
org.apache.flume.FlumeException: NettyAvroRpcClient { host: 121.41.49.51, port: 41100 }: RPC connection error

flume使用avro来接受数据,会出现这个问题。

首先看一下所连接的服务器该端口是否被监测

如果你要向192.168.1.1的4383端口发送数据的话,那么就需要有服务器在监听此窗口,否则就会出现RPC连接失败

posted @ 2021-04-27 21:12  魏宝航  阅读(378)  评论(0编辑  收藏  举报