现象
执行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问题。

本文介绍了一种解决SQOOP命令执行过程中出现Warning的方法。通过调整Active ResourceManager设置,可以消除Warning,不影响SQOOP功能使用。
1289

被折叠的 条评论
为什么被折叠?



