YARN-4956. findbug issue on LevelDBCacheTimelineStore. (Zhiyuan Yang via gtcarrera9)
This commit is contained in:
parent
3337ef2bfe
commit
f16722d2ef
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue