hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Templeton (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-6882) AllocationFileLoaderService.reloadAllocations() should use the diamond operator
Date Tue, 15 Aug 2017 13:52:00 GMT

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

Daniel Templeton commented on YARN-6882:
----------------------------------------

Not really.  The problem is that Java 7 is not as capable as Java 8 at type inference.  Don't
worry about it, though.  The patch is still committed to trunk, which is what matters.

> AllocationFileLoaderService.reloadAllocations() should use the diamond operator
> -------------------------------------------------------------------------------
>
>                 Key: YARN-6882
>                 URL: https://issues.apache.org/jira/browse/YARN-6882
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: fairscheduler
>    Affects Versions: 3.0.0-alpha4
>            Reporter: Daniel Templeton
>            Assignee: Larry Lo
>            Priority: Trivial
>              Labels: newbie
>             Fix For: 3.0.0-beta1
>
>         Attachments: YARN-6882.001.patch
>
>
> Here:{code}    for (FSQueueType queueType : FSQueueType.values()) {
>       configuredQueues.put(queueType, new HashSet<String>());
>     }{code} and here:{code}    List<Element> queueElements = new ArrayList<Element>();{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