hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "zhihai xu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (YARN-3341) Fix findbugs warning:BC_UNCONFIRMED_CAST at FSSchedulerNode.reserveResource
Date Thu, 12 Mar 2015 18:57:39 GMT

     [ https://issues.apache.org/jira/browse/YARN-3341?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

zhihai xu updated YARN-3341:
----------------------------
    Labels: findbugs  (was: )

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