You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by ar...@apache.org on 2016/04/29 22:20:30 UTC
[34/50] [abbrv] hadoop git commit: YARN-4956. findbug issue on
LevelDBCacheTimelineStore. (Zhiyuan Yang via gtcarrera9)
YARN-4956. findbug issue on LevelDBCacheTimelineStore. (Zhiyuan Yang via gtcarrera9)
Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/f16722d2
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/f16722d2
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/f16722d2
Branch: refs/heads/HDFS-7240
Commit: f16722d2ef31338a57a13e2c8d18c1c62d58bbaf
Parents: 3337ef2
Author: Li Lu <gt...@apache.org>
Authored: Wed Apr 27 10:57:10 2016 -0700
Committer: Li Lu <gt...@apache.org>
Committed: Wed Apr 27 10:57:10 2016 -0700
----------------------------------------------------------------------
.../hadoop/yarn/server/timeline/LevelDBCacheTimelineStore.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hadoop/blob/f16722d2/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timeline-pluginstorage/src/main/java/org/apache/hadoop/yarn/server/timeline/LevelDBCacheTimelineStore.java
----------------------------------------------------------------------
diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timeline-pluginstorage/src/main/java/org/apache/hadoop/yarn/server/timeline/LevelDBCacheTimelineStore.java b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timeline-pluginstorage/src/main/java/org/apache/hadoop/yarn/server/timeline/LevelDBCacheTimelineStore.java
index 3ff5dd7..ccf2d94 100644
--- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timeline-pluginstorage/src/main/java/org/apache/hadoop/yarn/server/timeline/LevelDBCacheTimelineStore.java
+++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timeline-pluginstorage/src/main/java/org/apache/hadoop/yarn/server/timeline/LevelDBCacheTimelineStore.java
@@ -78,7 +78,7 @@ public class LevelDBCacheTimelineStore extends KeyValueBasedTimelineStore {
}
@Override
- protected void serviceInit(Configuration conf) throws Exception {
+ protected synchronized void serviceInit(Configuration conf) throws Exception {
configuration = conf;
Options options = new Options();
options.createIfMissing(true);
---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org