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