AMBARI-20558. HiveView does not work on WASB ACLs cluster (Gaurav Nagar via nitirajrathore)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/8c10a07a Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/8c10a07a Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/8c10a07a Branch: refs/heads/branch-3.0-perf Commit: 8c10a07a4ad2e1825392ff99d4cc4c64620b69b7 Parents: aeb6707 Author: Nitiraj Singh Rathore <[email protected]> Authored: Tue Apr 4 12:39:08 2017 +0530 Committer: Andrew Onishuk <[email protected]> Committed: Thu Apr 6 12:32:56 2017 +0300 ---------------------------------------------------------------------- .../src/main/java/org/apache/ambari/view/utils/hdfs/HdfsApi.java | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/8c10a07a/contrib/views/utils/src/main/java/org/apache/ambari/view/utils/hdfs/HdfsApi.java ---------------------------------------------------------------------- diff --git a/contrib/views/utils/src/main/java/org/apache/ambari/view/utils/hdfs/HdfsApi.java b/contrib/views/utils/src/main/java/org/apache/ambari/view/utils/hdfs/HdfsApi.java index 66679e8..90fa483 100644 --- a/contrib/views/utils/src/main/java/org/apache/ambari/view/utils/hdfs/HdfsApi.java +++ b/contrib/views/utils/src/main/java/org/apache/ambari/view/utils/hdfs/HdfsApi.java @@ -66,6 +66,7 @@ public class HdfsApi { InterruptedException, HdfsApiException { this.authParams = configurationBuilder.buildAuthenticationConfig(); conf = configurationBuilder.buildConfig(); + UserGroupInformation.setConfiguration(conf); ugi = UserGroupInformation.createProxyUser(username, getProxyUser()); fs = execute(new PrivilegedExceptionAction<FileSystem>() {
