[
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: [email protected]
For additional commands, e-mail: [email protected]