[ https://issues.apache.org/jira/browse/YARN-10767?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17361211#comment-17361211 ]
Jim Brennan commented on YARN-10767: ------------------------------------ [~dmmkr] this looks good, but we should fix the spotbugs issue. Seems like you could either instantiate a new YarnConfiguration from conf, or we could change RMHAUtils.findActiveRMHAId() to take a Configuration instead of YarnConfiguration. The first thing it does is make a YarnConfiguration from it anyway. > 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, YARN-10767.002.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