danny0405 commented on code in PR #12967:
URL: https://github.com/apache/hudi/pull/12967#discussion_r2002769756


##########
hudi-flink-datasource/hudi-flink/src/main/java/org/apache/hudi/configuration/HadoopConfigurations.java:
##########
@@ -51,6 +53,8 @@ public static org.apache.hadoop.conf.Configuration 
getHadoopConf(Configuration c
     org.apache.hadoop.conf.Configuration hadoopConf = 
FlinkClientUtil.getHadoopConf();
     Map<String, String> options = 
FlinkOptions.getPropertiesWithPrefix(conf.toMap(), HADOOP_PREFIX);
     options.forEach(hadoopConf::set);
+    // Always use flink io factory
+    hadoopConf.set(HoodieStorageConfig.HOODIE_IO_FACTORY_CLASS.key(), 
HoodieFlinkIOFactory.class.getName());

Review Comment:
   `HOODIE_IO_FACTORY_CLASS` is a write option instead of hadoop configuration, 
should not set it up here.



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

Reply via email to