Browse Source

modify zk config

pull/2/head
lilin 5 years ago
parent
commit
deb215ecef
  1. 2
      dolphinscheduler-common/src/main/resources/zookeeper.properties
  2. 2
      dolphinscheduler-common/src/test/java/org/apache/dolphinscheduler/common/zk/ZKServer.java

2
dolphinscheduler-common/src/main/resources/zookeeper.properties

@ -16,7 +16,7 @@
#
#zookeeper cluster. multiple are separated by commas. eg. 192.168.xx.xx:2181,192.168.xx.xx:2181,192.168.xx.xx:2181
zookeeper.quorum=192.168.220.188:2181
zookeeper.quorum=localhost:2181
#dolphinscheduler root directory
zookeeper.dolphinscheduler.root=/dolphinscheduler

2
dolphinscheduler-common/src/test/java/org/apache/dolphinscheduler/common/zk/ZKServer.java

@ -39,7 +39,7 @@ public class ZKServer {
private static volatile PublicZooKeeperServerMain zkServer = null;
public static final int DEFAULT_ZK_TEST_PORT = 22181;
public static final int DEFAULT_ZK_TEST_PORT = 2181;
public static final String DEFAULT_ZK_STR = "localhost:" + DEFAULT_ZK_TEST_PORT;

Loading…
Cancel
Save