[
https://issues.apache.org/jira/browse/YARN-8969?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16676195#comment-16676195
]
Weiwei Yang commented on YARN-8969:
-----------------------------------
Pushed to trunk, branch-3.2, branch-3.1, branch-3.0 and branch-2.9. Thanks
[~jiwq] for the contribution, thanks [~yufeigu], [~eepayne] for the review.
> AbstractYarnScheduler#getNodeTracker should return generic type to avoid type
> casting
> -------------------------------------------------------------------------------------
>
> Key: YARN-8969
> URL: https://issues.apache.org/jira/browse/YARN-8969
> Project: Hadoop YARN
> Issue Type: Improvement
> Affects Versions: 2.9.1, 3.1.1
> Reporter: Wanqiang Ji
> Assignee: Wanqiang Ji
> Priority: Major
> Fix For: 3.0.4, 3.1.2, 3.3.0, 3.2.1, 2.9.3
>
> Attachments: YARN-8969.001.patch
>
>
> Some warning problems like:
> {quote}Unchecked assignment: 'java.util.List' to
> 'java.util.List<org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FSSchedulerNode>'.
> Reason: 'scheduler.getNodeTracker()' has raw type, so result of
> getNodesByResourceName is erased{quote}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]