Browse Source

reset default zookeeper parameter

pull/2/head
oceanos 5 years ago
parent
commit
802796621e
  1. 4
      ambari_plugin/common-services/DOLPHIN/1.2.1/configuration/dolphin-common.xml
  2. 6
      dockerfile/conf/dolphinscheduler/zookeeper.properties.tpl
  3. 4
      dolphinscheduler-service/src/main/resources/zookeeper.properties

4
ambari_plugin/common-services/DOLPHIN/1.2.1/configuration/dolphin-common.xml

@ -43,7 +43,7 @@
</property> </property>
<property> <property>
<name>zookeeper.connection.timeout</name> <name>zookeeper.connection.timeout</name>
<value>300</value> <value>30000</value>
<value-attributes> <value-attributes>
<type>int</type> <type>int</type>
</value-attributes> </value-attributes>
@ -73,7 +73,7 @@
</property> </property>
<property> <property>
<name>zookeeper.retry.maxtime</name> <name>zookeeper.retry.maxtime</name>
<value>5</value> <value>10</value>
<value-attributes> <value-attributes>
<type>int</type> <type>int</type>
</value-attributes> </value-attributes>

6
dockerfile/conf/dolphinscheduler/zookeeper.properties.tpl

@ -22,8 +22,8 @@ zookeeper.quorum=${ZOOKEEPER_QUORUM}
#zookeeper.dolphinscheduler.root=/dolphinscheduler #zookeeper.dolphinscheduler.root=/dolphinscheduler
# dolphinscheduler failover directory # dolphinscheduler failover directory
#zookeeper.session.timeout=300 #zookeeper.session.timeout=60000
#zookeeper.connection.timeout=300 #zookeeper.connection.timeout=30000
#zookeeper.retry.base.sleep=100 #zookeeper.retry.base.sleep=100
#zookeeper.retry.max.sleep=30000 #zookeeper.retry.max.sleep=30000
#zookeeper.retry.maxtime=5 #zookeeper.retry.maxtime=10

4
dolphinscheduler-service/src/main/resources/zookeeper.properties

@ -23,7 +23,7 @@ zookeeper.quorum=localhost:2181
# dolphinscheduler failover directory # dolphinscheduler failover directory
#zookeeper.session.timeout=60000 #zookeeper.session.timeout=60000
#zookeeper.connection.timeout=300 #zookeeper.connection.timeout=30000
#zookeeper.retry.base.sleep=100 #zookeeper.retry.base.sleep=100
#zookeeper.retry.max.sleep=30000 #zookeeper.retry.max.sleep=30000
#zookeeper.retry.maxtime=5 #zookeeper.retry.maxtime=10
Loading…
Cancel
Save