hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Kanter (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-3341) Fix findbugs warning:BC_UNCONFIRMED_CAST at FSSchedulerNode.reserveResource
Date Mon, 16 Mar 2015 18:42:40 GMT

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

Robert Kanter commented on YARN-3341:
-------------------------------------

That looks good to me.  Can you look into the other 4 while you're at it?  We should either
fix them or exclude them as appropriate.

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

Mime
View raw message