You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Bilwa S T (Jira)" <ji...@apache.org> on 2021/05/26 09:16:00 UTC
[jira] [Issue Comment Deleted] (YARN-10767) Yarn Logs Command
retrying on Standby RM for 30 times
[ 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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org