YARN-4956. findbug issue on LevelDBCacheTimelineStore. (Zhiyuan Yang via gtcarrera9)
(cherry picked from commit f16722d2ef31338a57a13e2c8d18c1c62d58bbaf)
This commit is contained in:
parent
14b8701a63
commit
50b7a35d56
@ -78,7 +78,7 @@ public LevelDBCacheTimelineStore(String id) {
|
||||
}
|
||||
|
||||
@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…
x
Reference in New Issue
Block a user