Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

部署包config目录中的sia-task-config和sia-task-schedule没办法覆盖默认配置 #72

Open
yunchaozou opened this issue Sep 21, 2019 · 0 comments

Comments

@yunchaozou
Copy link

修改了部署包config目录下的zooKeeperHosts为192.168.2.18:2181,192.168.2.18:2182,192.168.2.18:2183,然后执行start_task_config_open.sh 脚本,发现此配置并没有覆盖jar包中的默认配置,zk'客户端还是去连的127.0.0.1:2181,task_config_open.start 日志:
2019-09-21 16:27:46.709 INFO 22348 --- [ main] org.apache.zookeeper.ZooKeeper : Initiating client connection, connectString=127.0.0.1:2181 sessionTimeout=60000 watcher=org.apache.curator.ConnectionState@2631f68c
2019-09-21 16:27:46.730 INFO 22348 --- [localhost:2181)] org.apache.zookeeper.ClientCnxn : Opening socket connection to server localhost/127.0.0.1:2181. Will not attempt to authenticate using SASL (unknown error)
2019-09-21 16:27:46.732 INFO 22348 --- [ main] com.sia.core.curator.CuratorClient : success connect to Zookeeper: 127.0.0.1:2181
2019-09-21 16:27:46.732 INFO 22348 --- [ main] com.sia.core.curator.CuratorClient : addShutdownHook for CuratorClient
2019-09-21 16:27:46.737 INFO 22348 --- [localhost:2181)] org.apache.zookeeper.ClientCnxn : Socket error occurred: localhost/127.0.0.1:2181: 拒绝连接
2019-09-21 16:27:46.743 INFO 22348 --- [ main] com.sia.core.curator.CuratorClient : addAllAuth success
2019-09-21 16:27:47.841 INFO 22348 --- [localhost:2181)] org.apache.zookeeper.ClientCnxn : Opening socket connection to server localhost/127.0.0.1:2181. Will not attempt to authenticate using SASL (unknown error)
2019-09-21 16:27:47.842 INFO 22348 --- [localhost:2181)] org.apache.zookeeper.ClientCnxn : Socket error occurred: localhost/127.0.0.1:2181: 拒绝连接
2019-09-21 16:27:48.943 INFO 22348 --- [localhost:2181)] org.apache.zookeeper.ClientCnxn : Opening socket connection to server localhost/127.0.0.1:2181. Will not attempt to authenticate using SASL (unknown error)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant