[ https://issues.apache.org/jira/browse/YARN-6885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16117743#comment-16117743 ]
Yu-Tang Lin commented on YARN-6885: ----------------------------------- Thanks to Daniel for filling this form, I would like to take this task, thanks! > AllocationFileLoaderService.loadQueue() should use a switch statement in the > main tag parsing loop instead of the if/else-if/... > -------------------------------------------------------------------------------------------------------------------------------- > > Key: YARN-6885 > URL: https://issues.apache.org/jira/browse/YARN-6885 > Project: Hadoop YARN > Issue Type: Improvement > Components: fairscheduler > Affects Versions: 3.0.0-alpha4 > Reporter: Daniel Templeton > Priority: Minor > Labels: newbie > > {code} if ("minResources".equals(field.getTagName())) { > String text = ((Text)field.getFirstChild()).getData().trim(); > Resource val = > FairSchedulerConfiguration.parseResourceConfigValue(text); > minQueueResources.put(queueName, val); > } else if ("maxResources".equals(field.getTagName())) { > ...{code} -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org