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

zhihai xu commented on YARN-3341:
---------------------------------

Hi [~rkanter], thanks for the review. That is a good suggestion. I uploaded a 
new patch YARN-3341.001.patch which will fix 4 findbugs warning.
The last  findbugs warning looks like a real bug, I created a separate JIRA 
YARN-3355 for findbugs warning at FairScheduler.allocConf.

> Fix findbugs warning:BC_UNCONFIRMED_CAST at FSSchedulerNode.reserveResource
> ---------------------------------------------------------------------------
>
>                 Key: YARN-3341
>                 URL: https://issues.apache.org/jira/browse/YARN-3341
>             Project: Hadoop YARN
>          Issue Type: Improvement
>            Reporter: zhihai xu
>            Assignee: zhihai xu
>            Priority: Minor
>              Labels: findbugs
>         Attachments: YARN-3341.000.patch, YARN-3341.001.patch
>
>
> Fix findbugs warning:BC_UNCONFIRMED_CAST at FSSchedulerNode.reserveResource
> The warning message is
> {code}
> Unchecked/unconfirmed cast from 
> org.apache.hadoop.yarn.server.resourcemanager.scheduler.SchedulerApplicationAttempt
>  to org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FSAppAttempt 
> in 
> org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FSSchedulerNode.reserveResource(SchedulerApplicationAttempt,
>  Priority, RMContainer)
> {code}
> The code which cause the warning is
> {code}
>     this.reservedAppSchedulable = (FSAppAttempt) application;
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to