You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Akira AJISAKA (JIRA)" <ji...@apache.org> on 2015/12/01 09:13:11 UTC

[jira] [Commented] (YARN-4328) Findbugs warning in resourcemanager in branch-2.7 and branch-2.6

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

Akira AJISAKA commented on YARN-4328:
-------------------------------------

I'm thinking it's okay to add a section in findbugs-exclude.xml to fix the below warning.
{noformat}
<file classname='org.apache.hadoop.yarn.server.resourcemanager.scheduler.SchedulerApplicationAttempt'>
<BugInstance type='IS2_INCONSISTENT_SYNC' priority='Normal' category='MT_CORRECTNESS' message='Inconsistent 
{noformat}
In branch-2.7, there is a section to ignore the warning, added by YARN-2938.
I'll attach a patch for branch-2.6 shortly.

> Findbugs warning in resourcemanager in branch-2.7 and branch-2.6
> ----------------------------------------------------------------
>
>                 Key: YARN-4328
>                 URL: https://issues.apache.org/jira/browse/YARN-4328
>             Project: Hadoop YARN
>          Issue Type: Bug
>    Affects Versions: 2.7.1, 2.6.2
>            Reporter: Varun Saxena
>            Assignee: Akira AJISAKA
>            Priority: Minor
>         Attachments: YARN-4328.branch-2.7.00.patch
>
>
> This issue exists in both branch-2.7 and branch-2.6
> {noformat}
> <file classname='org.apache.hadoop.yarn.server.resourcemanager.recovery.ZKRMStateStore$ZKSyncOperationCallback'>
> <BugInstance type='SIC_INNER_SHOULD_BE_STATIC' priority='Normal' category='PERFORMANCE' message='Should org.apache.hadoop.yarn.server.resourcemanager.recovery.ZKRMStateStore$ZKSyncOperationCallback be a _static_ inner class?' lineNumber='118'/></file>
> {noformat}
> Below issue exists only in branch-2.6
> {noformat}
> <file classname='org.apache.hadoop.yarn.server.resourcemanager.scheduler.SchedulerApplicationAttempt'>
> <BugInstance type='IS2_INCONSISTENT_SYNC' priority='Normal' category='MT_CORRECTNESS' message='Inconsistent synchronization of org.apache.hadoop.yarn.server.resourcemanager.scheduler.SchedulerApplicationAttempt.queue; locked 57% of time' lineNumber='261'/>
> {noformat}



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