[jira] [Updated] (YARN-4956) findbug issue on LevelDBCacheTimelineStore

2016-04-26 Thread Zhiyuan Yang (JIRA)

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

Zhiyuan Yang updated YARN-4956:
---
Attachment: YARN-4956-trunk.000.patch

Fixed by adding synchronized to serviceInit

> findbug issue on LevelDBCacheTimelineStore
> --
>
> Key: YARN-4956
> URL: https://issues.apache.org/jira/browse/YARN-4956
> Project: Hadoop YARN
>  Issue Type: Sub-task
>  Components: timelineserver
>Affects Versions: 2.8.0
>Reporter: Xuan Gong
>Assignee: Zhiyuan Yang
> Attachments: YARN-4956-trunk.000.patch
>
>
> {code}
> Multithreaded correctness Warnings
> Code Warning IS Inconsistent synchronization of 
> org.apache.hadoop.yarn.server.timeline.LevelDBCacheTimelineStore.configuration;
>  locked 66% of time
> Bug type IS2_INCONSISTENT_SYNC (click for details) 
> In class org.apache.hadoop.yarn.server.timeline.LevelDBCacheTimelineStore
> Field 
> org.apache.hadoop.yarn.server.timeline.LevelDBCacheTimelineStore.configuration
> Synchronized 66% of the time
> Unsynchronized access at LevelDBCacheTimelineStore.java:[line 82]
> Synchronized access at LevelDBCacheTimelineStore.java:[line 117]
> Synchronized access at LevelDBCacheTimelineStore.java:[line 122]
> {code}



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


[jira] [Updated] (YARN-4956) findbug issue on LevelDBCacheTimelineStore

2016-04-13 Thread Xuan Gong (JIRA)

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

Xuan Gong updated YARN-4956:

Affects Version/s: 2.8.0

> findbug issue on LevelDBCacheTimelineStore
> --
>
> Key: YARN-4956
> URL: https://issues.apache.org/jira/browse/YARN-4956
> Project: Hadoop YARN
>  Issue Type: Sub-task
>  Components: timelineserver
>Affects Versions: 2.8.0
>Reporter: Xuan Gong
>
> {code}
> Multithreaded correctness Warnings
> Code Warning IS Inconsistent synchronization of 
> org.apache.hadoop.yarn.server.timeline.LevelDBCacheTimelineStore.configuration;
>  locked 66% of time
> Bug type IS2_INCONSISTENT_SYNC (click for details) 
> In class org.apache.hadoop.yarn.server.timeline.LevelDBCacheTimelineStore
> Field 
> org.apache.hadoop.yarn.server.timeline.LevelDBCacheTimelineStore.configuration
> Synchronized 66% of the time
> Unsynchronized access at LevelDBCacheTimelineStore.java:[line 82]
> Synchronized access at LevelDBCacheTimelineStore.java:[line 117]
> Synchronized access at LevelDBCacheTimelineStore.java:[line 122]
> {code}



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