Sqoop错误retries get failed due to exceeded maximum allowed retries number

现象

执行sqoop命令时报以下warning,但sqoop抽数功能不受影响。
Sqoop错误retries get failed due to exceeded maximum allowed retries number_第1张图片

解决

根据错误提示,找到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)