VolodymyrDuke commented on code in PR #5261:
URL: https://github.com/apache/seatunnel/pull/5261#discussion_r1308155254
##########
seatunnel-connectors-v2/connector-hive/src/main/java/org/apache/seatunnel/connectors/seatunnel/hive/utils/HiveMetaStoreProxy.java:
##########
@@ -67,6 +70,14 @@ private HiveMetaStoreProxy(Config config) {
metastoreUri);
throw new HiveConnectorException(
HiveConnectorErrorCode.INITIALIZE_HIVE_METASTORE_CLIENT_FAILED, errorMsg, e);
+ } catch (MalformedURLException e) {
+ String errorMsg =
+ String.format(
+ "Using this hive uris [%s], hive conf [%s] to
initialize "
+ + "hive metastore client instance failed",
+ metastoreUri,
config.getString(HiveConfig.HIVE_SITE_PATH.key()));
Review Comment:
> When we reach here, the HiveConfig.HIVE_SITE_PATH must not be `null`?
yes, you are right, I will check it. Thank you!
--
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]