hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brahma Reddy Battula (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-3341) Fix findbugs warning:BC_UNCONFIRMED_CAST at FSSchedulerNode.reserveResource
Date Tue, 17 Mar 2015 08:58:39 GMT

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

Brahma Reddy Battula commented on YARN-3341:
--------------------------------------------

It is dupe of YARN-3204,, can you please have look into YARN-3204..?

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

Mime
View raw message