liutang123 commented on code in PR #59051:
URL: https://github.com/apache/doris/pull/59051#discussion_r2629277642


##########
fe/fe-core/src/main/java/org/apache/doris/datasource/property/metastore/HMSBaseProperties.java:
##########
@@ -198,8 +199,11 @@ private void checkAndInit() {
         if (StringUtils.isNotBlank(hmsUserName)) {
             hiveConf.set(AuthenticationConfig.HADOOP_USER_NAME, hmsUserName);
         }
-        HiveConf.setVar(hiveConf, 
HiveConf.ConfVars.METASTORE_CLIENT_SOCKET_TIMEOUT,
-                String.valueOf(Config.hive_metastore_client_timeout_second));
+        if 
(!userOverriddenHiveConfig.containsKey(ConfVars.METASTORE_CLIENT_SOCKET_TIMEOUT.toString()))
 {

Review Comment:
   `userOverriddenHiveConfig` will overwrite this propertiy. 
   Just put this before `initUserHiveConfig` and it will take effect.



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to