MAPREDUCE服务 MRS-Spark应用执行过程中,日志中一直打印getApplicationReport异常且应用较长时间不退出:问题

时间:2023-11-02 19:23:17

问题

Spark应用执行过程中,当driver连接RM失败时,会报下面的错误,且较长时间不退出。

16/04/23 15:31:44 INFO RetryInvocationHandler: Exception while invoking getApplicationReport of class ApplicationClientProtocolPBClientImpl over 37 after 1 fail over attempts. Trying to fail over after sleeping for 44160ms.
java.net.ConnectException: Call From vm1/192.168.39.30 to vm1:8032 failed on connection exception: java.net.ConnectException: Connection refused; For more details see:  http://wiki.apache.org/hadoop/ConnectionRefused
support.huaweicloud.com/cmpntguide-mrs/mrs_01_2009.html