You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ao...@apache.org on 2015/02/11 17:08:56 UTC

ambari git commit: AMBARI-9567. Generation of HDFS/HIVE/HCAT/HBASE Client configurations file has failed with 500 error (aonishuk)

Repository: ambari
Updated Branches:
  refs/heads/trunk dbafa08de -> 3959000c6


AMBARI-9567. Generation of HDFS/HIVE/HCAT/HBASE Client configurations file has failed with 500 error (aonishuk)


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

Branch: refs/heads/trunk
Commit: 3959000c69419f29e8ef76b4fe41f98025cf5c99
Parents: dbafa08
Author: Andrew Onishuk <ao...@hortonworks.com>
Authored: Wed Feb 11 18:08:49 2015 +0200
Committer: Andrew Onishuk <ao...@hortonworks.com>
Committed: Wed Feb 11 18:08:49 2015 +0200

----------------------------------------------------------------------
 .../server/controller/internal/ClientConfigResourceProvider.java    | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/3959000c/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ClientConfigResourceProvider.java
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ClientConfigResourceProvider.java b/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ClientConfigResourceProvider.java
index 0fa1b7c..6b5d6d2 100644
--- a/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ClientConfigResourceProvider.java
+++ b/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ClientConfigResourceProvider.java
@@ -302,6 +302,7 @@ public class ClientConfigResourceProvider extends AbstractControllerResourceProv
       jsonContent.put("clusterHostInfo", clusterHostInfo);
       jsonContent.put("hostLevelParams", hostLevelParams);
       jsonContent.put("hostname", hostName);
+      jsonContent.put("clusterName", cluster.getClusterName());
       jsonConfigurations = gson.toJson(jsonContent);
 
       File jsonFileName = new File(TMP_PATH + File.separator + componentName + "-configuration.json");