1
0

[HUDI-2019] Set up the file system view storage config for singleton embedded server write config every time (#3102)

Co-authored-by: 喻兆靖 <yuzhaojing@bilibili.com>
This commit is contained in:
yuzhaojing
2021-06-17 20:28:03 +08:00
committed by GitHub
parent ad53cf450e
commit f97dd25d41
2 changed files with 20 additions and 0 deletions

View File

@@ -49,6 +49,8 @@ public class EmbeddedTimelineServerHelper {
if (config.isEmbeddedTimelineServerReuseEnabled()) {
if (!TIMELINE_SERVER.isPresent() || !TIMELINE_SERVER.get().canReuseFor(config.getBasePath())) {
TIMELINE_SERVER = Option.of(startTimelineService(context, config));
} else {
updateWriteConfigWithTimelineServer(TIMELINE_SERVER.get(), config);
}
return TIMELINE_SERVER;
}