deniskuzZ commented on code in PR #5683:
URL: https://github.com/apache/hive/pull/5683#discussion_r2011665779


##########
jdbc/src/java/org/apache/hive/jdbc/HiveConnection.java:
##########
@@ -932,7 +933,7 @@ private TTransport createUnderlyingTransport() throws 
TTransportException, SQLEx
       String sslTrustStorePassword = Utils.getPassword(sessConfMap, 
JdbcConnectionParams.SSL_TRUST_STORE_PASSWORD);
 
       if (sslTrustStore == null || sslTrustStore.isEmpty()) {
-        transport = HiveAuthUtils.getSSLSocket(host, port, loginTimeout, 
maxMessageSize);
+        transport = HiveAuthUtils.getSSLSocket(host, port, socketTimeout, 
connectTimeout, maxMessageSize);

Review Comment:
   that is how it was done before
   ````
   RequestConfig config = RequestConfig.custom()
     .setConnectTimeout(loginTimeout * 1000)
     .setConnectionRequestTimeout(loginTimeout * 1000)
     .setSocketTimeout(loginTimeout * 1000).build();
   ````
   I think you can do the conversion in the `getTimestampVar`



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