hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a.@apache.org
Subject [21/50] hadoop git commit: YARN-4956. findbug issue on LevelDBCacheTimelineStore. (Zhiyuan Yang via gtcarrera9)
Date Tue, 03 May 2016 16:59:25 GMT
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/HADOOP-12930
Commit: f16722d2ef31338a57a13e2c8d18c1c62d58bbaf
Parents: 3337ef2
Author: Li Lu <gtcarrera9@apache.org>
Authored: Wed Apr 27 10:57:10 2016 -0700
Committer: Li Lu <gtcarrera9@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


Mime
View raw message