You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2021/10/19 09:47:59 UTC
[GitHub] [shardingsphere] penghuazhou opened a new issue #13142: How can I use etcd?
penghuazhou opened a new issue #13142:
URL: https://github.com/apache/shardingsphere/issues/13142
version:/Users/zego/IdeaProjects/apache-shardingsphere-5.0.0-beta-src-release
<img width="918" alt="企业微信截图_d8b82bb2-f483-418a-aa9c-0586b1696c9e" src="https://user-images.githubusercontent.com/13001038/137885733-bef58d88-734f-41db-8f01-81b41b788d67.png">
java.lang.IllegalArgumentException: Invalid path string "//10.1.72.12:2379" caused by empty node name specified @1
at org.apache.zookeeper.common.PathUtils.validatePath(PathUtils.java:91)
at org.apache.zookeeper.client.ConnectStringParser.<init>(ConnectStringParser.java:62)
at org.apache.zookeeper.ZooKeeper.createDefaultHostProvider(ZooKeeper.java:1514)
at org.apache.zookeeper.ZooKeeper.<init>(ZooKeeper.java:1107)
at org.apache.zookeeper.admin.ZooKeeperAdmin.<init>(ZooKeeperAdmin.java:166)
at org.apache.curator.utils.DefaultZookeeperFactory.newZooKeeper(DefaultZookeeperFactory.java:30)
at org.apache.curator.framework.imps.CuratorFrameworkImpl$2.newZooKeeper(CuratorFrameworkImpl.java:210)
at org.apache.curator.HandleHolder$1.getZooKeeper(HandleHolder.java:100)
at org.apache.curator.HandleHolder.getZooKeeper(HandleHolder.java:48)
at org.apache.curator.ConnectionState.reset(ConnectionState.java:195)
at org.apache.curator.ConnectionState.start(ConnectionState.java:102)
at org.apache.curator.CuratorZookeeperClient.start(CuratorZookeeperClient.java:214)
at org.apache.curator.framework.imps.CuratorFrameworkImpl.start(CuratorFrameworkImpl.java:334)
at org.apache.shardingsphere.elasticjob.reg.zookeeper.ZookeeperRegistryCenter.init(ZookeeperRegistryCenter.java:98)
at org.apache.shardingsphere.scaling.core.api.ScalingAPIFactory$RegistryCenterHolder.createRegistryCenter(ScalingAPIFactory.java:206)
at org.apache.shardingsphere.scaling.core.api.ScalingAPIFactory$RegistryCenterHolder.getInstance(ScalingAPIFactory.java:197)
at org.apache.shardingsphere.scaling.core.api.ScalingAPIFactory.getRegistryCenter(ScalingAPIFactory.java:102)
at org.apache.shardingsphere.scaling.core.executor.job.FinishedCheckJobExecutor.start(FinishedCheckJobExecutor.java:41)
at org.apache.shardingsphere.scaling.core.api.ScalingWorker.init(ScalingWorker.java:50)
at org.apache.shardingsphere.proxy.initializer.impl.GovernanceBootstrapInitializer.initScalingWorker(GovernanceBootstrapInitializer.java:136)
at org.apache.shardingsphere.proxy.initializer.impl.AbstractBootstrapInitializer.init(AbstractBootstrapInitializer.java:76)
at org.apache.shardingsphere.proxy.Bootstrap.main(Bootstrap.java:48)
[ERROR] 2021-10-19 17:43:34.092 [main] o.a.curator.CuratorZookeeperClient -
java.io.IOException: java.lang.IllegalArgumentException: Invalid path string "//10.1.72.12:2379" caused by empty node name specified @1
at org.apache.curator.ConnectionState.close(ConnectionState.java:121)
at org.apache.curator.CuratorZookeeperClient.close(CuratorZookeeperClient.java:243)
at org.apache.curator.CuratorZookeeperClient.close(CuratorZookeeperClient.java:226)
at org.apache.curator.framework.imps.CuratorFrameworkImpl.close(CuratorFrameworkImpl.java:402)
at org.apache.shardingsphere.elasticjob.reg.zookeeper.ZookeeperRegistryCenter.init(ZookeeperRegistryCenter.java:101)
at org.apache.shardingsphere.scaling.core.api.ScalingAPIFactory$RegistryCenterHolder.createRegistryCenter(ScalingAPIFactory.java:206)
at org.apache.shardingsphere.scaling.core.api.ScalingAPIFactory$RegistryCenterHolder.getInstance(ScalingAPIFactory.java:197)
at org.apache.shardingsphere.scaling.core.api.ScalingAPIFactory.getRegistryCenter(ScalingAPIFactory.java:102)
at org.apache.shardingsphere.scaling.core.executor.job.FinishedCheckJobExecutor.start(FinishedCheckJobExecutor.java:41)
at org.apache.shardingsphere.scaling.core.api.ScalingWorker.init(ScalingWorker.java:50)
at org.apache.shardingsphere.proxy.initializer.impl.GovernanceBootstrapInitializer.initScalingWorker(GovernanceBootstrapIni:
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere] penghuazhou edited a comment on issue #13142: How can I use etcd?
Posted by GitBox <gi...@apache.org>.
penghuazhou edited a comment on issue #13142:
URL: https://github.com/apache/shardingsphere/issues/13142#issuecomment-966861101
@zjcnb , how can I user etcd in shardingsphere-5.0.0?
![image](https://user-images.githubusercontent.com/13001038/141421458-2764806e-754f-46cc-a5e0-b70d278f45ae.png)
[ERROR] 2021-11-12 14:20:58.597 [main] o.a.curator.CuratorZookeeperClient -
java.io.IOException: java.lang.IllegalArgumentException: Invalid path string "//
localhost:2379" caused by empty node name specified @1
at org.apache.curator.ConnectionState.close(ConnectionState.java:121)
at org.apache.curator.CuratorZookeeperClient.close(CuratorZookeeperClien
t.java:243)
at org.apache.curator.CuratorZookeeperClient.close(CuratorZookeeperClien
t.java:226)
at org.apache.curator.framework.imps.CuratorFrameworkImpl.close(CuratorF
rameworkImpl.java:402)
at org.apache.shardingsphere.elasticjob.reg.zookeeper.ZookeeperRegistryC
enter.init(ZookeeperRegistryCenter.java:101)
at org.apache.shardingsphere.scaling.core.api.ScalingAPIFactory$Registry
CenterHolder.createRegistryCenter(ScalingAPIFactory.java:205)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere] zjcnb commented on issue #13142: How can I use etcd?
Posted by GitBox <gi...@apache.org>.
zjcnb commented on issue #13142:
URL: https://github.com/apache/shardingsphere/issues/13142#issuecomment-946611316
@penghuazhou Hi, I think this problem are fixed in master branch, by the way the 5.0.0-RC1 release is coming soon. you can try it again in 5.0.0-RC1 release.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere] penghuazhou closed issue #13142: How can I use etcd?
Posted by GitBox <gi...@apache.org>.
penghuazhou closed issue #13142:
URL: https://github.com/apache/shardingsphere/issues/13142
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere] penghuazhou commented on issue #13142: How can I use etcd?
Posted by GitBox <gi...@apache.org>.
penghuazhou commented on issue #13142:
URL: https://github.com/apache/shardingsphere/issues/13142#issuecomment-946633611
thanks
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere] penghuazhou closed issue #13142: How can I use etcd?
Posted by GitBox <gi...@apache.org>.
penghuazhou closed issue #13142:
URL: https://github.com/apache/shardingsphere/issues/13142
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere] penghuazhou removed a comment on issue #13142: How can I use etcd?
Posted by GitBox <gi...@apache.org>.
penghuazhou removed a comment on issue #13142:
URL: https://github.com/apache/shardingsphere/issues/13142#issuecomment-966856718
@zjcnb, shardingsphere-proxy 5.0.0 do not support etcd?
![image](https://user-images.githubusercontent.com/13001038/141420132-5ac332f7-0ffc-4099-9768-3bc9de2ca095.png)
[ERROR] 2021-11-12 14:20:58.597 [main] o.a.curator.CuratorZookeeperClient -
java.io.IOException: java.lang.IllegalArgumentException: Invalid path string "//
localhost:2379" caused by empty node name specified @1
at org.apache.curator.ConnectionState.close(ConnectionState.java:121)
at org.apache.curator.CuratorZookeeperClient.close(CuratorZookeeperClien
t.java:243)
at org.apache.curator.CuratorZookeeperClient.close(CuratorZookeeperClien
t.java:226)
at org.apache.curator.framework.imps.CuratorFrameworkImpl.close(CuratorF
rameworkImpl.java:402)
at org.apache.shardingsphere.elasticjob.reg.zookeeper.ZookeeperRegistryC
enter.init(ZookeeperRegistryCenter.java:101)
at org.apache.shardingsphere.scaling.core.api.ScalingAPIFactory$Registry
CenterHolder.createRegistryCenter(ScalingAPIFactory.java:205)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere] penghuazhou commented on issue #13142: How can I use etcd?
Posted by GitBox <gi...@apache.org>.
penghuazhou commented on issue #13142:
URL: https://github.com/apache/shardingsphere/issues/13142#issuecomment-968511836
thanks
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere] penghuazhou commented on issue #13142: How can I use etcd?
Posted by GitBox <gi...@apache.org>.
penghuazhou commented on issue #13142:
URL: https://github.com/apache/shardingsphere/issues/13142#issuecomment-967015563
> ![image](https://user-images.githubusercontent.com/33742097/141455945-5579cad8-2351-442d-a9c9-ef8d00d5c463.png) @penghuazhou Hi, it 's seem to work well, Can you check your etcd?
Is it need other config?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere] zjcnb commented on issue #13142: How can I use etcd?
Posted by GitBox <gi...@apache.org>.
zjcnb commented on issue #13142:
URL: https://github.com/apache/shardingsphere/issues/13142#issuecomment-967010103
![image](https://user-images.githubusercontent.com/33742097/141455945-5579cad8-2351-442d-a9c9-ef8d00d5c463.png)
@penghuazhou Hi, it 's seem to work well, Can you check your etcd?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere] penghuazhou commented on issue #13142: How can I use etcd?
Posted by GitBox <gi...@apache.org>.
penghuazhou commented on issue #13142:
URL: https://github.com/apache/shardingsphere/issues/13142#issuecomment-966861101
how can I user etcd in shardingsphere-5.0.0?
![image](https://user-images.githubusercontent.com/13001038/141421458-2764806e-754f-46cc-a5e0-b70d278f45ae.png)
[ERROR] 2021-11-12 14:20:58.597 [main] o.a.curator.CuratorZookeeperClient -
java.io.IOException: java.lang.IllegalArgumentException: Invalid path string "//
localhost:2379" caused by empty node name specified @1
at org.apache.curator.ConnectionState.close(ConnectionState.java:121)
at org.apache.curator.CuratorZookeeperClient.close(CuratorZookeeperClien
t.java:243)
at org.apache.curator.CuratorZookeeperClient.close(CuratorZookeeperClien
t.java:226)
at org.apache.curator.framework.imps.CuratorFrameworkImpl.close(CuratorF
rameworkImpl.java:402)
at org.apache.shardingsphere.elasticjob.reg.zookeeper.ZookeeperRegistryC
enter.init(ZookeeperRegistryCenter.java:101)
at org.apache.shardingsphere.scaling.core.api.ScalingAPIFactory$Registry
CenterHolder.createRegistryCenter(ScalingAPIFactory.java:205)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere] penghuazhou edited a comment on issue #13142: How can I use etcd?
Posted by GitBox <gi...@apache.org>.
penghuazhou edited a comment on issue #13142:
URL: https://github.com/apache/shardingsphere/issues/13142#issuecomment-966856718
@zjcnb, shardingsphere-proxy 5.0.0 do not support etcd?
![image](https://user-images.githubusercontent.com/13001038/141420132-5ac332f7-0ffc-4099-9768-3bc9de2ca095.png)
[ERROR] 2021-11-12 14:20:58.597 [main] o.a.curator.CuratorZookeeperClient -
java.io.IOException: java.lang.IllegalArgumentException: Invalid path string "//
localhost:2379" caused by empty node name specified @1
at org.apache.curator.ConnectionState.close(ConnectionState.java:121)
at org.apache.curator.CuratorZookeeperClient.close(CuratorZookeeperClien
t.java:243)
at org.apache.curator.CuratorZookeeperClient.close(CuratorZookeeperClien
t.java:226)
at org.apache.curator.framework.imps.CuratorFrameworkImpl.close(CuratorF
rameworkImpl.java:402)
at org.apache.shardingsphere.elasticjob.reg.zookeeper.ZookeeperRegistryC
enter.init(ZookeeperRegistryCenter.java:101)
at org.apache.shardingsphere.scaling.core.api.ScalingAPIFactory$Registry
CenterHolder.createRegistryCenter(ScalingAPIFactory.java:205)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere] penghuazhou commented on issue #13142: How can I use etcd?
Posted by GitBox <gi...@apache.org>.
penghuazhou commented on issue #13142:
URL: https://github.com/apache/shardingsphere/issues/13142#issuecomment-966856718
shardingsphere-proxy 5.0.0 do not support etcd?
![image](https://user-images.githubusercontent.com/13001038/141420132-5ac332f7-0ffc-4099-9768-3bc9de2ca095.png)
[ERROR] 2021-11-12 14:20:58.597 [main] o.a.curator.CuratorZookeeperClient -
java.io.IOException: java.lang.IllegalArgumentException: Invalid path string "//
localhost:2379" caused by empty node name specified @1
at org.apache.curator.ConnectionState.close(ConnectionState.java:121)
at org.apache.curator.CuratorZookeeperClient.close(CuratorZookeeperClien
t.java:243)
at org.apache.curator.CuratorZookeeperClient.close(CuratorZookeeperClien
t.java:226)
at org.apache.curator.framework.imps.CuratorFrameworkImpl.close(CuratorF
rameworkImpl.java:402)
at org.apache.shardingsphere.elasticjob.reg.zookeeper.ZookeeperRegistryC
enter.init(ZookeeperRegistryCenter.java:101)
at org.apache.shardingsphere.scaling.core.api.ScalingAPIFactory$Registry
CenterHolder.createRegistryCenter(ScalingAPIFactory.java:205)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere] penghuazhou closed issue #13142: How can I use etcd?
Posted by GitBox <gi...@apache.org>.
penghuazhou closed issue #13142:
URL: https://github.com/apache/shardingsphere/issues/13142
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org