Wanqiang Ji created YARN-9214: --------------------------------- Summary: Add AbstractYarnScheduler#getValidQueues method to resolve duplicate code Key: YARN-9214 URL: https://issues.apache.org/jira/browse/YARN-9214 Project: Hadoop YARN Issue Type: Improvement Reporter: Wanqiang Ji Assignee: Wanqiang Ji
*AbstractYarnScheduler#moveAllApps* and *AbstractYarnScheduler#killAllAppsInQueue* had the same code segment. So I think we need a method to handle it named *AbstractYarnScheduler#getValidQueues*. Apart from this we need add the doc comment to expound why exists? -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org