Alibaba-HZY commented on code in PR #831:
URL: https://github.com/apache/incubator-paimon/pull/831#discussion_r1159428279


##########
paimon-hive/paimon-hive-catalog/src/main/java/org/apache/paimon/hive/HiveCatalog.java:
##########
@@ -567,12 +569,24 @@ public static HiveConf createHiveConf(
             if (!hiveSite.toUri().isAbsolute()) {
                 hiveSite = new org.apache.hadoop.fs.Path(new 
File(hiveSite.toString()).toURI());
             }
+            try (InputStream inputStream = 
hiveSite.getFileSystem(hadoopConf).open(hiveSite)) {

Review Comment:
   in previous code if hive-site.xml is illegal,such as xml file format is 
incorrect it will not throw  execption



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