在做flume分流到hdfs时,屏幕一直循环报错,各种错误满天飞,最终冷静下来发现了错误的根源是来自以下是信息
java.net.ConnectException:
Call From hadoop002/192.168.112.101 to hadoop001:9000 failed on connection exception:
java.net.ConnectException:
Connection refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused
java.net.ConnectException: Connection refused
把配置文件翻看了好久,终于想到是hadoop的rpc通信端口有误,造成了连接异常和被拒,端口改正后,
终于可以正常使用了!!! ^_^
网友评论