[ 
https://issues.apache.org/jira/browse/YARN-10767?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bilwa S T updated YARN-10767:
-----------------------------
    Comment: was deleted

(was: Hi [~dmmkr]

Thanks for patch. I have one minor comment:
 * RMHAUtils.findActiveRMHAId can return null if none of the RM's are active. I 
think we should have null check here.

[~jbrennan] can you please take a look at this issue?)

> Yarn Logs Command retrying on Standby RM for 30 times
> -----------------------------------------------------
>
>                 Key: YARN-10767
>                 URL: https://issues.apache.org/jira/browse/YARN-10767
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: D M Murali Krishna Reddy
>            Assignee: D M Murali Krishna Reddy
>            Priority: Major
>         Attachments: YARN-10767.001.patch
>
>
> When ResourceManager HA is enabled and the first RM is unavailable, on 
> executing "bin/yarn logs -applicationId <appID> -am 1", we get 
> ConnectionException for connecting to the first RM, the ConnectionException 
> Occurs for 30 times before it tries to connect to the second RM.
>  
> This can be optimized by trying to fetch the logs from the Active RM.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to