hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Akira AJISAKA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-3677) Fix findbugs warnings in FileSystemRMStateStore.java
Date Tue, 19 May 2015 08:13:00 GMT

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

Akira AJISAKA commented on YARN-3677:
-------------------------------------

setIsHDFS method should be synchronized.
{code}
  @VisibleForTesting
  void setIsHDFS(boolean isHDFS) {
    this.isHDFS = isHDFS;
  }
{code}
Looks like this issue is caused by commit 9a2a95 but there is no issue id in the commit message.
Hi [~vinodkv], would you point the jira related to the commit?

> Fix findbugs warnings in FileSystemRMStateStore.java
> ----------------------------------------------------
>
>                 Key: YARN-3677
>                 URL: https://issues.apache.org/jira/browse/YARN-3677
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: resourcemanager
>            Reporter: Akira AJISAKA
>            Priority: Minor
>              Labels: newbie
>
> There is 1 findbugs warning in FileSystemRMStateStore.java.
> {noformat}
> Inconsistent synchronization of FileSystemRMStateStore.isHDFS; locked 66% of time
> Unsynchronized access at FileSystemRMStateStore.java: [line 156]
> Field org.apache.hadoop.yarn.server.resourcemanager.recovery.FileSystemRMStateStore.isHDFS
> Synchronized 66% of the time
> Synchronized access at FileSystemRMStateStore.java: [line 148]
> Synchronized access at FileSystemRMStateStore.java: [line 859]
> {noformat}



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

Mime
View raw message