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

Chen He commented on YARN-1561:
-------------------------------

To fix this warning, we specify the generic type of this comparator to be 
<NodeId> since this comparator is to compare different NodeIds. No extra unit 
test needed.

> Fix a generic type warning in FairScheduler
> -------------------------------------------
>
>                 Key: YARN-1561
>                 URL: https://issues.apache.org/jira/browse/YARN-1561
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: scheduler
>            Reporter: Junping Du
>            Assignee: Chen He
>            Priority: Minor
>              Labels: newbie
>             Fix For: 2.4.0
>
>         Attachments: yarn-1561.patch
>
>
> The Comparator below should be specified with type:
> private Comparator nodeAvailableResourceComparator =
>           new NodeAvailableResourceComparator(); 



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to