hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Larry Lo (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-6883) AllocationFileLoaderService.reloadAllocations() should use a switch statement in the main tag parsing loop instead of the if/else-if/...
Date Thu, 10 Aug 2017 18:44:00 GMT

    [ https://issues.apache.org/jira/browse/YARN-6883?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16122082#comment-16122082
] 

Larry Lo commented on YARN-6883:
--------------------------------

Sure! Please close this issue and I will find other JIRAs. 

> AllocationFileLoaderService.reloadAllocations() should use a switch statement in the
main tag parsing loop instead of the if/else-if/...
> ----------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: YARN-6883
>                 URL: https://issues.apache.org/jira/browse/YARN-6883
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: fairscheduler
>    Affects Versions: 3.0.0-alpha4
>            Reporter: Daniel Templeton
>            Assignee: Larry Lo
>            Priority: Minor
>              Labels: newbie
>
> {code}        if ("queue".equals(element.getTagName()) ||
>           "pool".equals(element.getTagName())) {
>           queueElements.add(element);
>         } else if ("user".equals(element.getTagName())) {
>         ...{code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org


Mime
View raw message