danny0405 commented on PR #6372:
URL: https://github.com/apache/hudi/pull/6372#issuecomment-1212698982
> and this is the code of build writeConfig of writeClient.
enableEmbeddedTimelineService is false `public static HoodieWriteConfig
getHoodieClientConfig( Configuration conf, boolean
enableEmbeddedTimelineService, boolean loadFsViewStorageConfig) { ...
.withEmbeddedTimelineServerEnabled(enableEmbeddedTimelineService)
.withEmbeddedTimelineServerReuseEnabled(true) // make write client embedded
timeline service singleton ... }`
>
> `public static HoodieWriteConfig getHoodieClientConfig(Configuration conf,
boolean loadFsViewStorageConfig) { return getHoodieClientConfig(conf, false,
loadFsViewStorageConfig); }` in class org.apache.hudi.util.StreamerUtil
>
> AbstractStreamWriteFunction use this function to init writeConfig
Even though the fix may works for flink, but it is not general, the only
true for remote request is the `storage type`, it has no relationship with
whether we reuse the timeline server.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]