Grokbase Groups Hive commits May 2015
FAQ
Repository: hive
Updated Branches:
   refs/heads/branch-1.2 6a103b562 -> 2bd94dd78


HIVE-10528: Hiveserver2 in HTTP mode is not applying auth_to_local rules (Abdelrahman Shettia reviewed by Vaibhav Gumashta)


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

Branch: refs/heads/branch-1.2
Commit: 2bd94dd78a6cfabbd2cd833c808af823b7143073
Parents: 6a103b5
Author: Vaibhav Gumashta <vgumashta@apache.org>
Authored: Sat May 30 13:28:13 2015 -0700
Committer: Vaibhav Gumashta <vgumashta@apache.org>
Committed: Sat May 30 13:28:13 2015 -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/2bd94dd7/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 eed9a56..e1166d3 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
@@ -446,10 +446,10 @@ public class ThriftHttpServlet extends TServlet {
        KerberosNameShim fullKerberosName;
        try {
          fullKerberosName = ShimLoader.getHadoopShims().getKerberosNameShim(fullPrincipal);
+ return fullKerberosName.getShortName();
        } catch (IOException e) {
          throw new HttpAuthenticationException(e);
        }
- return fullKerberosName.getServiceName();
      }
    }

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 2 | next ›
Discussion Overview
groupcommits @
categorieshive, hadoop
postedMay 30, '15 at 8:28p
activeMay 30, '15 at 8:32p
posts2
users1
websitehive.apache.org

1 user in discussion

Vgumashta: 2 posts

People

Translate

site design / logo © 2021 Grokbase