[
https://issues.apache.org/jira/browse/YARN-6145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15852207#comment-15852207
]
Jian He commented on YARN-6145:
-------------------------------
Sample log for ConfiguredRMFailoverProxyProvider after the patch:
{code}
17/02/03 21:45:18 INFO impl.TimelineClientImpl: Timeline service address:
http://host:8188/ws/v1/timeline/
17/02/03 21:45:18 INFO client.AHSProxy: Connecting to Application History
server at host/172.22.126.225:10200
17/02/03 21:45:19 INFO client.ConfiguredRMFailoverProxyProvider: Failing over
to rm2
17/02/03 21:45:19 INFO retry.RetryInvocationHandler: java.net.ConnectException:
Call From host/172.22.126.229 to host:8032 failed on connection exception:
java.net.ConnectException: Connection refused; For more details see:
http://wiki.apache.org/hadoop/ConnectionRefused while invoking
ApplicationClientProtocolPBClientImpl.getNewApplication over rm2 after 1
failover attempts. Trying to failover after sleeping for 24348ms.
17/02/03 21:45:44 INFO client.ConfiguredRMFailoverProxyProvider: Failing over
to rm1
17/02/03 21:45:44 INFO retry.RetryInvocationHandler: java.net.ConnectException:
Call From host/172.22.126.229 to host:8032 failed on connection exception:
java.net.ConnectException: Connection refused; For more details see:
http://wiki.apache.org/hadoop/ConnectionRefused while invoking
ApplicationClientProtocolPBClientImpl.getNewApplication over rm1 after 2
failover attempts. Trying to failover after sleeping for 20126ms.
17/02/03 21:46:04 INFO client.ConfiguredRMFailoverProxyProvider: Failing over
to rm2
17/02/03 21:46:04 INFO retry.RetryInvocationHandler: java.net.ConnectException:
Call From host/172.22.126.229 to host:8032 failed on connection exception:
java.net.ConnectException: Connection refused; For more details see:
http://wiki.apache.org/hadoop/ConnectionRefused while invoking
ApplicationClientProtocolPBClientImpl.getNewApplication over rm2 after 3
failover attempts. Trying to failover after sleeping for 44768ms.
17/02/03 21:46:48 INFO client.ConfiguredRMFailoverProxyProvider: Failing over
to rm1
17/02/03 21:46:48 INFO retry.RetryInvocationHandler: java.net.ConnectException:
Call From host/172.22.126.229 to host:8032 failed on connection exception:
java.net.ConnectException: Connection refused; For more details see:
http://wiki.apache.org/hadoop/ConnectionRefused while invoking
ApplicationClientProtocolPBClientImpl.getNewApplication over rm1 after 4
failover attempts. Trying to failover after sleeping for 20670ms.
17/02/03 21:47:09 INFO client.ConfiguredRMFailoverProxyProvider: Failing over
to rm2
17/02/03 21:47:09 INFO retry.RetryInvocationHandler: java.net.ConnectException:
Call From host/172.22.126.229 to host:8032 failed on connection exception:
java.net.ConnectException: Connection refused; For more details see:
http://wiki.apache.org/hadoop/ConnectionRefused while invoking
ApplicationClientProtocolPBClientImpl.getNewApplication over rm2 after 5
failover attempts. Trying to failover after sleeping for 42523ms.
17/02/03 21:47:52 INFO client.ConfiguredRMFailoverProxyProvider: Failing over
to rm1
17/02/03 21:47:52 INFO retry.RetryInvocationHandler: java.net.ConnectException:
Call From host/172.22.126.229 to host:8032 failed on connection exception:
java.net.ConnectException: Connection refused; For more details see:
http://wiki.apache.org/hadoop/ConnectionRefused while invoking
ApplicationClientProtocolPBClientImpl.getNewApplication over rm1 after 6
failover attempts. Trying to failover after sleeping for 16803ms.
{code}
> Improve log message on fail over
> --------------------------------
>
> Key: YARN-6145
> URL: https://issues.apache.org/jira/browse/YARN-6145
> Project: Hadoop YARN
> Issue Type: Bug
> Reporter: Jian He
> Assignee: Jian He
> Attachments: YARN-6145.1.patch
>
>
> On failover, a series of exception stack shown in the log, which is harmless,
> but confusing to user.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]