You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Weiwei Yang (JIRA)" <ji...@apache.org> on 2018/11/05 14:56:00 UTC
[jira] [Comment Edited] (YARN-8969) Change the return type to
generic type of AbstractYarnScheduler#getNodeTracker
[ https://issues.apache.org/jira/browse/YARN-8969?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16675277#comment-16675277 ]
Weiwei Yang edited comment on YARN-8969 at 11/5/18 2:55 PM:
------------------------------------------------------------
Straightforward fix, thanks [~jiwq]. +1.
I will commit this if no further comments by tomorrow.
Not sure why jenkins gives -1 even all UTs have passed, we've seen this for a couple of times, it should not be caused by this patch.
was (Author: cheersyang):
Straightforward fix, thanks [~jiwq]. +1.
I will commit this if no further comments by tomorrow.
> Change the return type to generic type of AbstractYarnScheduler#getNodeTracker
> ------------------------------------------------------------------------------
>
> 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
> Priority: Major
> 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: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org