YARN-4956. findbug issue on LevelDBCacheTimelineStore. (Zhiyuan Yang via gtcarrera9)

This commit is contained in:
Li Lu 2016-04-27 10:57:10 -07:00
parent 3337ef2bfe
commit f16722d2ef
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ public class LevelDBCacheTimelineStore extends KeyValueBasedTimelineStore {
} }
@Override @Override
protected void serviceInit(Configuration conf) throws Exception { protected synchronized void serviceInit(Configuration conf) throws Exception {
configuration = conf; configuration = conf;
Options options = new Options(); Options options = new Options();
options.createIfMissing(true); options.createIfMissing(true);