hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ser...@apache.org
Subject hive git commit: HIVE-13391 : add an option to LLAP to use keytab to authenticate to read data (Sergey Shelukhin, reviewed by Siddharth Seth) ADDENDUM
Date Thu, 09 Jun 2016 22:37:45 GMT
Repository: hive
Updated Branches:
  refs/heads/master b895d9d60 -> afb4605ab


HIVE-13391 : add an option to LLAP to use keytab to authenticate to read data (Sergey Shelukhin,
reviewed by Siddharth Seth) ADDENDUM


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

Branch: refs/heads/master
Commit: afb4605abf2cffbb676a666b41676518f54d5d94
Parents: b895d9d
Author: Sergey Shelukhin <sershe@apache.org>
Authored: Thu Jun 9 15:29:51 2016 -0700
Committer: Sergey Shelukhin <sershe@apache.org>
Committed: Thu Jun 9 15:29:51 2016 -0700

----------------------------------------------------------------------
 .../src/main/java/org/apache/hadoop/hive/shims/Hadoop23Shims.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/afb4605a/shims/0.23/src/main/java/org/apache/hadoop/hive/shims/Hadoop23Shims.java
----------------------------------------------------------------------
diff --git a/shims/0.23/src/main/java/org/apache/hadoop/hive/shims/Hadoop23Shims.java b/shims/0.23/src/main/java/org/apache/hadoop/hive/shims/Hadoop23Shims.java
index 68fac17..d3fa6ad 100644
--- a/shims/0.23/src/main/java/org/apache/hadoop/hive/shims/Hadoop23Shims.java
+++ b/shims/0.23/src/main/java/org/apache/hadoop/hive/shims/Hadoop23Shims.java
@@ -1266,7 +1266,7 @@ public class Hadoop23Shims extends HadoopShimsSecure {
     java.lang.reflect.Constructor<UserGroupInformation> ctor;
     String error = null;
     try {
-      method = clazz.getMethod("getSubject");
+      method = clazz.getDeclaredMethod("getSubject");
       method.setAccessible(true);
       ctor = clazz.getConstructor(Subject.class);
       ctor.setAccessible(true);


Mime
View raw message