Repository: ambari
Updated Branches:
  refs/heads/branch-2.2 3d5b441a8 -> 0683a1ec0


AMBARI-14532 AMS fails to stay up after changing AMS configs to distributed 
mode (dsen)


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

Branch: refs/heads/branch-2.2
Commit: 0683a1ec0540d5ec2c6315ad652d0ed60f86ab54
Parents: 3d5b441
Author: Dmytro Sen <[email protected]>
Authored: Thu Dec 31 16:53:04 2015 +0200
Committer: Dmytro Sen <[email protected]>
Committed: Thu Dec 31 16:54:55 2015 +0200

----------------------------------------------------------------------
 .../AMBARI_METRICS/0.1.0/configuration/ams-hbase-site.xml | 10 ++++++++++
 1 file changed, 10 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/0683a1ec/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/configuration/ams-hbase-site.xml
----------------------------------------------------------------------
diff --git 
a/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/configuration/ams-hbase-site.xml
 
b/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/configuration/ams-hbase-site.xml
index 45ccf75..c1263ee 100644
--- 
a/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/configuration/ams-hbase-site.xml
+++ 
b/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/configuration/ams-hbase-site.xml
@@ -250,6 +250,16 @@
   <property>
     <name>hbase.zookeeper.property.clientPort</name>
     <value>61181</value>
+    <depends-on>
+      <property>
+        <type>zoo.cfg</type>
+        <name>clientPort</name>
+      </property>
+      <property>
+        <type>ams-hbase-site</type>
+        <name>hbase.cluster.distributed</name>
+      </property>
+    </depends-on>
   </property>
   <property>
     <name>hbase.zookeeper.peerport</name>

Reply via email to