You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by GitBox <gi...@apache.org> on 2021/02/08 07:11:09 UTC

[GitHub] [hudi] yanghua commented on a change in pull request #2547: [HUDI-1596] NPE while getting option PATH from configuration.

yanghua commented on a change in pull request #2547:
URL: https://github.com/apache/hudi/pull/2547#discussion_r571820640



##########
File path: hudi-flink/src/main/java/org/apache/hudi/sink/CommitSink.java
##########
@@ -77,7 +79,11 @@ public void open(Configuration parameters) throws Exception {
     writeParallelSize = getRuntimeContext().getExecutionConfig().getParallelism();
 
     // writeClient
-    writeClient = new HoodieFlinkWriteClient<>(new HoodieFlinkEngineContext(new FlinkTaskContextSupplier(null)), StreamerUtil.getHoodieClientConfig(cfg));

Review comment:
       It seems the `StreamerUtil.getHoodieClientConfig(cfg)` delegates the next two lines?




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org