现象

执行sqoop命令时报以下warning,但sqoop抽数功能不受影响。
这里写图片描述

解决

根据错误提示,找到https://community.hortonworks.com/questions/70997/failed-to-connect-to-server-port-8032-retries-get.html?sort=oldest 这篇文章,

Your standby RM (rm1) must be the first RM in the configured list of RMs. So its tried first and that results in exceptions.

查看YARN配置发现,Resource Manager有两个Active和Standy,目前Active为namenode2,Standy为namenode1。
根据以上解答,这并不影响功能使用,但是会有如上warning,试着把Active RM关闭后,发现Active RM变成了namenode1,再启用刚刚关闭的RM,这时原来的Active RM变为了Standy的RM,由此解决warning问题。

Logo

瓜分20万奖金 获得内推名额 丰厚实物奖励 易参与易上手

更多推荐