ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gna...@apache.org
Subject ambari git commit: AMBARI-19689. Error on Files view-SIMPLE authentication is not enabled. (gauravn7)
Date Tue, 24 Jan 2017 14:59:26 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk c6c35555e -> 75b30a4e9


AMBARI-19689. Error on Files view-SIMPLE authentication is not enabled. (gauravn7)


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

Branch: refs/heads/trunk
Commit: 75b30a4e974bce0df3cd9d2d0efc428f101d8601
Parents: c6c3555
Author: Gaurav Nagar <grvngr@gmail.com>
Authored: Tue Jan 24 20:28:17 2017 +0530
Committer: Gaurav Nagar <grvngr@gmail.com>
Committed: Tue Jan 24 20:29:12 2017 +0530

----------------------------------------------------------------------
 .../org/apache/ambari/view/utils/hdfs/ConfigurationBuilder.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/75b30a4e/contrib/views/utils/src/main/java/org/apache/ambari/view/utils/hdfs/ConfigurationBuilder.java
----------------------------------------------------------------------
diff --git a/contrib/views/utils/src/main/java/org/apache/ambari/view/utils/hdfs/ConfigurationBuilder.java
b/contrib/views/utils/src/main/java/org/apache/ambari/view/utils/hdfs/ConfigurationBuilder.java
index d1d1bb0..714e229 100644
--- a/contrib/views/utils/src/main/java/org/apache/ambari/view/utils/hdfs/ConfigurationBuilder.java
+++ b/contrib/views/utils/src/main/java/org/apache/ambari/view/utils/hdfs/ConfigurationBuilder.java
@@ -321,10 +321,10 @@ public class ConfigurationBuilder {
    * @throws HdfsApiException if configuration parsing failed
    */
   public Configuration buildConfig() throws HdfsApiException {
-    parseProperties();
-    setAuthParams(buildAuthenticationConfig());
     copyPropertiesBySite(CORE_SITE);
     copyPropertiesBySite(HDFS_SITE);
+    parseProperties();
+    setAuthParams(buildAuthenticationConfig());
 
     String umask = context.getProperties().get(UMASK_INSTANCE_PROPERTY);
     if (umask != null && !umask.isEmpty()) conf.set(UMASK_CLUSTER_PROPERTY, umask);


Mime
View raw message