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

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

Now the findbugs warning decrease from 5 to 4 with this patch.

> 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
>
>
> 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