Repository: hive Updated Branches: refs/heads/master afb4605ab -> 44d1bdb54
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/44d1bdb5 Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/44d1bdb5 Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/44d1bdb5 Branch: refs/heads/master Commit: 44d1bdb54bbb1f274dea126e9963e061bafdd766 Parents: afb4605 Author: Sergey Shelukhin <ser...@apache.org> Authored: Thu Jun 9 19:08:16 2016 -0700 Committer: Sergey Shelukhin <ser...@apache.org> Committed: Thu Jun 9 19:08:16 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/44d1bdb5/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 d3fa6ad..571bb25 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 @@ -1268,7 +1268,7 @@ public class Hadoop23Shims extends HadoopShimsSecure { try { method = clazz.getDeclaredMethod("getSubject"); method.setAccessible(true); - ctor = clazz.getConstructor(Subject.class); + ctor = clazz.getDeclaredConstructor(Subject.class); ctor.setAccessible(true); } catch (Throwable t) { error = t.getMessage();