YuxiangZhuang commented on code in PR #5683: URL: https://github.com/apache/hive/pull/5683#discussion_r2009402569
########## jdbc/src/java/org/apache/hive/jdbc/HiveConnection.java: ########## @@ -1433,20 +1434,23 @@ private String getSessionValue(String varName, String varDefault) { } // use socketTimeout from jdbc connection url. Thrift timeout needs to be in millis - private void setupLoginTimeout() { + private void setupTimeout() { + String connectTimeoutStr = sessConfMap.getOrDefault(JdbcConnectionParams.CONNECT_TIMEOUT, "0"); String socketTimeoutStr = sessConfMap.getOrDefault(JdbcConnectionParams.SOCKET_TIMEOUT, "0"); - long timeOut = 0; + long connectTimeoutMs = 0; + long socketTimeoutMs = 0; try { - timeOut = Long.parseLong(socketTimeoutStr); + connectTimeoutMs = Long.parseLong(connectTimeoutStr); Review Comment: done. -- 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: gitbox-unsubscr...@hive.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For additional commands, e-mail: gitbox-h...@hive.apache.org