[ https://issues.apache.org/jira/browse/YARN-9900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16952486#comment-16952486 ]
Sunil G commented on YARN-9900: ------------------------------- {code:java} 2585 try { 2586 rm.getRMContext().getRMAdminService().refreshQueues(); 2587 } catch (IOException | YarnException e) { 2588 LOG.error("Exception thrown when formatting configuration.", e); 2589 mutableConfigurationProvider.revertFromOldConfig(conf); 2590 throw e; 2591 } 2592 rm.getRMContext().getRMAdminService().refreshQueues(); {code} 1. Here refreshQueues is repeated again. Pls check this. Thanks [~Prabhu Joseph] 2. Rename revertFromOldConfig ==> revertToOldConfig > Revert Invalid Config and Refresh Support in SchedulerConfig Format > ------------------------------------------------------------------- > > Key: YARN-9900 > URL: https://issues.apache.org/jira/browse/YARN-9900 > Project: Hadoop YARN > Issue Type: Sub-task > Components: capacity scheduler > Affects Versions: 3.3.0, 3.2.2, 3.1.4 > Reporter: Prabhu Joseph > Assignee: Prabhu Joseph > Priority: Major > Attachments: YARN-9900-001.patch, YARN-9900-002.patch > > > Format Scheduler Config Option has to revert to the previous scheduler > configuration in case of invalid capacity-scheduler.xml contents. And refresh > has to be done after format so that RM need not be restarted. -- 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