lirui-apache commented on a change in pull request #13434: URL: https://github.com/apache/flink/pull/13434#discussion_r495534590
########## File path: flink-connectors/flink-connector-hive/src/main/java/org/apache/flink/table/catalog/hive/util/HiveTableUtil.java ########## @@ -431,22 +431,23 @@ public static void checkAcidTable(CatalogTable catalogTable, ObjectPath tablePat * @return A Hadoop configuration instance. */ public static Configuration getHadoopConfiguration(String hadoopConfDir) { - Configuration hadoopConfiguration = new Configuration(); if (new File(hadoopConfDir).exists()) { + Configuration hadoopConfiguration = new Configuration(); if (new File(hadoopConfDir + "/core-site.xml").exists()) { Review comment: ```suggestion if (new File(hadoopConfDir, "core-site.xml").exists()) { ``` ---------------------------------------------------------------- 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: us...@infra.apache.org