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

Varun Saxena updated YARN-3952:
-------------------------------
    Description: 
{noformat}
<file 
classname='org.apache.hadoop.yarn.server.resourcemanager.metrics.AbstractTimelineServicePublisher'>
<BugInstance type='BC_UNCONFIRMED_CAST' priority='Normal' category='STYLE' 
message='Unchecked/unconfirmed cast from 
org.apache.hadoop.yarn.server.resourcemanager.metrics.SystemMetricsEvent to 
org.apache.hadoop.yarn.server.resourcemanager.metrics.AppAttemptFinishedEvent 
in 
org.apache.hadoop.yarn.server.resourcemanager.metrics.AbstractTimelineServicePublisher.handle(SystemMetricsEvent)'
 lineNumber='79'/>
<BugInstance type='BC_UNCONFIRMED_CAST' priority='Normal' category='STYLE' 
message='Unchecked/unconfirmed cast from 
org.apache.hadoop.yarn.server.resourcemanager.metrics.SystemMetricsEvent to 
org.apache.hadoop.yarn.server.resourcemanager.metrics.AppAttemptRegisteredEvent 
in 
org.apache.hadoop.yarn.server.resourcemanager.metrics.AbstractTimelineServicePublisher.handle(SystemMetricsEvent)'
 lineNumber='76'/><BugInstance type='BC_UNCONFIRMED_CAST' priority='Normal' 
category='STYLE' message='Unchecked/unconfirmed cast from 
org.apache.hadoop.yarn.server.resourcemanager.metrics.SystemMetricsEvent to 
org.apache.hadoop.yarn.server.resourcemanager.metrics.ApplicationACLsUpdatedEvent
 in 
org.apache.hadoop.yarn.server.resourcemanager.metrics.AbstractTimelineServicePublisher.handle(SystemMetricsEvent)'
 lineNumber='73'/>
<BugInstance type='BC_UNCONFIRMED_CAST' priority='Normal' category='STYLE' 
message='Unchecked/unconfirmed cast from 
org.apache.hadoop.yarn.server.resourcemanager.metrics.SystemMetricsEvent to 
org.apache.hadoop.yarn.server.resourcemanager.metrics.ApplicationCreatedEvent 
in 
org.apache.hadoop.yarn.server.resourcemanager.metrics.AbstractTimelineServicePublisher.handle(SystemMetricsEvent)'
 lineNumber='67'/>
<BugInstance type='BC_UNCONFIRMED_CAST' priority='Normal' category='STYLE' 
message='Unchecked/unconfirmed cast from 
org.apache.hadoop.yarn.server.resourcemanager.metrics.SystemMetricsEvent to 
org.apache.hadoop.yarn.server.resourcemanager.metrics.ApplicationFinishedEvent 
in 
org.apache.hadoop.yarn.server.resourcemanager.metrics.AbstractTimelineServicePublisher.handle(SystemMetricsEvent)'
 lineNumber='70'/>
<BugInstance type='BC_UNCONFIRMED_CAST' priority='Normal' category='STYLE' 
message='Unchecked/unconfirmed cast from 
org.apache.hadoop.yarn.server.resourcemanager.metrics.SystemMetricsEvent to 
org.apache.hadoop.yarn.server.resourcemanager.metrics.ContainerCreatedEvent in 
org.apache.hadoop.yarn.server.resourcemanager.metrics.AbstractTimelineServicePublisher.handle(SystemMetricsEvent)'
 lineNumber='82'/><BugInstance type='BC_UNCONFIRMED_CAST' priority='Normal' 
category='STYLE' message='Unchecked/unconfirmed cast from 
org.apache.hadoop.yarn.server.resourcemanager.metrics.SystemMetricsEvent to 
org.apache.hadoop.yarn.server.resourcemanager.metrics.ContainerFinishedEvent in 
org.apache.hadoop.yarn.server.resourcemanager.metrics.AbstractTimelineServicePublisher.handle(SystemMetricsEvent)'
 lineNumber='85'/></file>
{noformat}

  was:
{noformat}
<file 
classname='org.apache.hadoop.yarn.server.resourcemanager.metrics.AbstractTimelineServicePublisher'><BugInstance
 type='BC_UNCONFIRMED_CAST' priority='Normal' category='STYLE' 
message='Unchecked/unconfirmed cast from 
org.apache.hadoop.yarn.server.resourcemanager.metrics.SystemMetricsEvent to 
org.apache.hadoop.yarn.server.resourcemanager.metrics.AppAttemptFinishedEvent 
in 
org.apache.hadoop.yarn.server.resourcemanager.metrics.AbstractTimelineServicePublisher.handle(SystemMetricsEvent)'
 lineNumber='79'/><BugInstance type='BC_UNCONFIRMED_CAST' priority='Normal' 
category='STYLE' message='Unchecked/unconfirmed cast from 
org.apache.hadoop.yarn.server.resourcemanager.metrics.SystemMetricsEvent to 
org.apache.hadoop.yarn.server.resourcemanager.metrics.AppAttemptRegisteredEvent 
in 
org.apache.hadoop.yarn.server.resourcemanager.metrics.AbstractTimelineServicePublisher.handle(SystemMetricsEvent)'
 lineNumber='76'/><BugInstance type='BC_UNCONFIRMED_CAST' priority='Normal' 
category='STYLE' message='Unchecked/unconfirmed cast from 
org.apache.hadoop.yarn.server.resourcemanager.metrics.SystemMetricsEvent to 
org.apache.hadoop.yarn.server.resourcemanager.metrics.ApplicationACLsUpdatedEvent
 in 
org.apache.hadoop.yarn.server.resourcemanager.metrics.AbstractTimelineServicePublisher.handle(SystemMetricsEvent)'
 lineNumber='73'/><BugInstance type='BC_UNCONFIRMED_CAST' priority='Normal' 
category='STYLE' message='Unchecked/unconfirmed cast from 
org.apache.hadoop.yarn.server.resourcemanager.metrics.SystemMetricsEvent to 
org.apache.hadoop.yarn.server.resourcemanager.metrics.ApplicationCreatedEvent 
in 
org.apache.hadoop.yarn.server.resourcemanager.metrics.AbstractTimelineServicePublisher.handle(SystemMetricsEvent)'
 lineNumber='67'/><BugInstance type='BC_UNCONFIRMED_CAST' priority='Normal' 
category='STYLE' message='Unchecked/unconfirmed cast from 
org.apache.hadoop.yarn.server.resourcemanager.metrics.SystemMetricsEvent to 
org.apache.hadoop.yarn.server.resourcemanager.metrics.ApplicationFinishedEvent 
in 
org.apache.hadoop.yarn.server.resourcemanager.metrics.AbstractTimelineServicePublisher.handle(SystemMetricsEvent)'
 lineNumber='70'/><BugInstance type='BC_UNCONFIRMED_CAST' priority='Normal' 
category='STYLE' message='Unchecked/unconfirmed cast from 
org.apache.hadoop.yarn.server.resourcemanager.metrics.SystemMetricsEvent to 
org.apache.hadoop.yarn.server.resourcemanager.metrics.ContainerCreatedEvent in 
org.apache.hadoop.yarn.server.resourcemanager.metrics.AbstractTimelineServicePublisher.handle(SystemMetricsEvent)'
 lineNumber='82'/><BugInstance type='BC_UNCONFIRMED_CAST' priority='Normal' 
category='STYLE' message='Unchecked/unconfirmed cast from 
org.apache.hadoop.yarn.server.resourcemanager.metrics.SystemMetricsEvent to 
org.apache.hadoop.yarn.server.resourcemanager.metrics.ContainerFinishedEvent in 
org.apache.hadoop.yarn.server.resourcemanager.metrics.AbstractTimelineServicePublisher.handle(SystemMetricsEvent)'
 lineNumber='85'/></file>



> Fix new findbugs warning in resourcemanager in YARN-2928 branch
> ---------------------------------------------------------------
>
>                 Key: YARN-3952
>                 URL: https://issues.apache.org/jira/browse/YARN-3952
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: resourcemanager
>    Affects Versions: YARN-2928
>            Reporter: Varun Saxena
>            Assignee: Varun Saxena
>
> {noformat}
> <file 
> classname='org.apache.hadoop.yarn.server.resourcemanager.metrics.AbstractTimelineServicePublisher'>
> <BugInstance type='BC_UNCONFIRMED_CAST' priority='Normal' category='STYLE' 
> message='Unchecked/unconfirmed cast from 
> org.apache.hadoop.yarn.server.resourcemanager.metrics.SystemMetricsEvent to 
> org.apache.hadoop.yarn.server.resourcemanager.metrics.AppAttemptFinishedEvent 
> in 
> org.apache.hadoop.yarn.server.resourcemanager.metrics.AbstractTimelineServicePublisher.handle(SystemMetricsEvent)'
>  lineNumber='79'/>
> <BugInstance type='BC_UNCONFIRMED_CAST' priority='Normal' category='STYLE' 
> message='Unchecked/unconfirmed cast from 
> org.apache.hadoop.yarn.server.resourcemanager.metrics.SystemMetricsEvent to 
> org.apache.hadoop.yarn.server.resourcemanager.metrics.AppAttemptRegisteredEvent
>  in 
> org.apache.hadoop.yarn.server.resourcemanager.metrics.AbstractTimelineServicePublisher.handle(SystemMetricsEvent)'
>  lineNumber='76'/><BugInstance type='BC_UNCONFIRMED_CAST' priority='Normal' 
> category='STYLE' message='Unchecked/unconfirmed cast from 
> org.apache.hadoop.yarn.server.resourcemanager.metrics.SystemMetricsEvent to 
> org.apache.hadoop.yarn.server.resourcemanager.metrics.ApplicationACLsUpdatedEvent
>  in 
> org.apache.hadoop.yarn.server.resourcemanager.metrics.AbstractTimelineServicePublisher.handle(SystemMetricsEvent)'
>  lineNumber='73'/>
> <BugInstance type='BC_UNCONFIRMED_CAST' priority='Normal' category='STYLE' 
> message='Unchecked/unconfirmed cast from 
> org.apache.hadoop.yarn.server.resourcemanager.metrics.SystemMetricsEvent to 
> org.apache.hadoop.yarn.server.resourcemanager.metrics.ApplicationCreatedEvent 
> in 
> org.apache.hadoop.yarn.server.resourcemanager.metrics.AbstractTimelineServicePublisher.handle(SystemMetricsEvent)'
>  lineNumber='67'/>
> <BugInstance type='BC_UNCONFIRMED_CAST' priority='Normal' category='STYLE' 
> message='Unchecked/unconfirmed cast from 
> org.apache.hadoop.yarn.server.resourcemanager.metrics.SystemMetricsEvent to 
> org.apache.hadoop.yarn.server.resourcemanager.metrics.ApplicationFinishedEvent
>  in 
> org.apache.hadoop.yarn.server.resourcemanager.metrics.AbstractTimelineServicePublisher.handle(SystemMetricsEvent)'
>  lineNumber='70'/>
> <BugInstance type='BC_UNCONFIRMED_CAST' priority='Normal' category='STYLE' 
> message='Unchecked/unconfirmed cast from 
> org.apache.hadoop.yarn.server.resourcemanager.metrics.SystemMetricsEvent to 
> org.apache.hadoop.yarn.server.resourcemanager.metrics.ContainerCreatedEvent 
> in 
> org.apache.hadoop.yarn.server.resourcemanager.metrics.AbstractTimelineServicePublisher.handle(SystemMetricsEvent)'
>  lineNumber='82'/><BugInstance type='BC_UNCONFIRMED_CAST' priority='Normal' 
> category='STYLE' message='Unchecked/unconfirmed cast from 
> org.apache.hadoop.yarn.server.resourcemanager.metrics.SystemMetricsEvent to 
> org.apache.hadoop.yarn.server.resourcemanager.metrics.ContainerFinishedEvent 
> in 
> org.apache.hadoop.yarn.server.resourcemanager.metrics.AbstractTimelineServicePublisher.handle(SystemMetricsEvent)'
>  lineNumber='85'/></file>
> {noformat}



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

Reply via email to