Repository: hive
Updated Branches:
  refs/heads/master c53c9be71 -> a0bf9d629


HIVE-14545 : HiveServer2 with http transport mode spends too much time just 
creating configs (Rajesh Balamohan via Thejas Nair)


Project: http://git-wip-us.apache.org/repos/asf/hive/repo
Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/a0bf9d62
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/a0bf9d62
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/a0bf9d62

Branch: refs/heads/master
Commit: a0bf9d6296760af7ce8ed29d5ccf13683a46d809
Parents: c53c9be
Author: Thejas Nair <the...@hortonworks.com>
Authored: Wed Oct 5 18:34:09 2016 -0700
Committer: Thejas Nair <the...@hortonworks.com>
Committed: Wed Oct 5 18:34:09 2016 -0700

----------------------------------------------------------------------
 .../java/org/apache/hive/service/cli/thrift/ThriftHttpServlet.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/a0bf9d62/service/src/java/org/apache/hive/service/cli/thrift/ThriftHttpServlet.java
----------------------------------------------------------------------
diff --git 
a/service/src/java/org/apache/hive/service/cli/thrift/ThriftHttpServlet.java 
b/service/src/java/org/apache/hive/service/cli/thrift/ThriftHttpServlet.java
index b7a1e2d..50449e0 100644
--- a/service/src/java/org/apache/hive/service/cli/thrift/ThriftHttpServlet.java
+++ b/service/src/java/org/apache/hive/service/cli/thrift/ThriftHttpServlet.java
@@ -358,7 +358,7 @@ public class ThriftHttpServlet extends TServlet {
       try {
         AuthMethods authMethod = AuthMethods.getValidAuthMethod(authType);
         PasswdAuthenticationProvider provider =
-            
AuthenticationProviderFactory.getAuthenticationProvider(authMethod);
+            
AuthenticationProviderFactory.getAuthenticationProvider(authMethod, hiveConf);
         provider.Authenticate(userName, getPassword(request, authType));
 
       } catch (Exception e) {

Reply via email to