Author: prasadm
Date: Tue Mar 18 06:24:20 2014
New Revision: 1578753

URL: http://svn.apache.org/r1578753
Log:
HIVE-6660: HiveServer2 running in non-http mode closes server socket for an SSL 
connection after the 1st request (Prasad Mujumdar, reviewed by Thejas Nair, 
Vaibhav Gumashta)

Modified:
    
hive/trunk/service/src/java/org/apache/hive/service/auth/HiveAuthFactory.java

Modified: 
hive/trunk/service/src/java/org/apache/hive/service/auth/HiveAuthFactory.java
URL: 
http://svn.apache.org/viewvc/hive/trunk/service/src/java/org/apache/hive/service/auth/HiveAuthFactory.java?rev=1578753&r1=1578752&r2=1578753&view=diff
==============================================================================
--- 
hive/trunk/service/src/java/org/apache/hive/service/auth/HiveAuthFactory.java 
(original)
+++ 
hive/trunk/service/src/java/org/apache/hive/service/auth/HiveAuthFactory.java 
Tue Mar 18 06:24:20 2014
@@ -228,7 +228,7 @@ public class HiveAuthFactory {
     } else {
       serverAddress = InetAddress.getByName(hiveHost);
     }
-    return TSSLTransportFactory.getServerSocket(portNum, 10000, serverAddress, 
params);
+    return TSSLTransportFactory.getServerSocket(portNum, 0, serverAddress, 
params);
   }
 
   // retrieve delegation token for the given user


Reply via email to