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

Tsuyoshi Ozawa commented on YARN-3677:
--------------------------------------

[~ajisakaa] thank you for finding the issue.

The commit message says that the contribution is done by [~asuresh]. I think we 
should revert the change if the JIRA has not been opened yet - we should 
discuss the point. IMHO, we shouldn't switch the behaviour based on whether 
HDFS is used or not without the special reason. 

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

Reply via email to