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

Yufei Gu commented on YARN-6882:
--------------------------------

This seems break branch-2. 
{code}
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on 
project hadoop-yarn-server-resourcemanager: Compilation failure
[ERROR] 
/Users/yufei.gu/asf/branch2-4backport/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/AllocationFileLoaderService.java:[270,39]
 incompatible types: java.util.HashSet<java.lang.Object> cannot be converted to 
java.util.Set<java.lang.String>
{code}

> 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: 2.9.0, 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-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to