Selaa lähdekoodia

AMBARI-20116 Stack Recommendation for Atlas not working on change of Kafka broker port (Vishal Suvagia via mugdha)

Vishal Suvagia 8 vuotta sitten
vanhempi
commit
7ee057287f

+ 8 - 2
ambari-server/src/main/resources/common-services/ATLAS/0.7.0.2.5/configuration/application-properties.xml

@@ -147,6 +147,12 @@
     <name>atlas.kafka.bootstrap.servers</name>
     <name>atlas.kafka.bootstrap.servers</name>
     <value/>
     <value/>
     <description>Comma separated list of Kafka broker endpoints in host:port form</description>
     <description>Comma separated list of Kafka broker endpoints in host:port form</description>
+    <depends-on>
+      <property>
+        <type>kafka-broker</type>
+        <name>port</name>
+      </property>
+    </depends-on>
     <on-ambari-upgrade add="false"/>
     <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
@@ -300,7 +306,7 @@
     <description>Enable kerberized Solr support for Atlas.</description>
     <description>Enable kerberized Solr support for Atlas.</description>
     <on-ambari-upgrade add="false"/>
     <on-ambari-upgrade add="false"/>
   </property>
   </property>
-  
+
   <!-- The type determines whether to show LDAP or AD settings in smart config's theme.json file. -->
   <!-- The type determines whether to show LDAP or AD settings in smart config's theme.json file. -->
   <property>
   <property>
     <name>atlas.authentication.method.ldap.type</name>
     <name>atlas.authentication.method.ldap.type</name>
@@ -472,4 +478,4 @@
     </value-attributes>
     </value-attributes>
     <on-ambari-upgrade add="false"/>
     <on-ambari-upgrade add="false"/>
   </property>
   </property>
-</configuration>
+</configuration>