danny0405 commented on code in PR #13259: URL: https://github.com/apache/hudi/pull/13259#discussion_r2073276183
########## hudi-client/hudi-flink-client/src/main/java/org/apache/hudi/util/FlinkClientUtil.java: ########## @@ -56,6 +67,22 @@ public static org.apache.hadoop.conf.Configuration getHadoopConf() { if (hadoopConf == null) { hadoopConf = new org.apache.hadoop.conf.Configuration(); } + + String confDir = System.getenv(FLINK_CONF_DIR); + if (StringUtils.isNullOrEmpty(confDir)) { + confDir = System.getenv(ApplicationConstants.Environment.PWD.key()); Review Comment: We also have `HadoopConfigurations.getHadoopConf` to fetch hadoop conf during compile time, does it work as expected for your case? -- 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: commits-unsubscr...@hudi.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org