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

service-discovery-demo.sh run fail #2811

Closed
JoeCqupt opened this issue Jun 17, 2024 · 0 comments · Fixed by #2812
Closed

service-discovery-demo.sh run fail #2811

JoeCqupt opened this issue Jun 17, 2024 · 0 comments · Fixed by #2812
Assignees
Labels
bug Something isn't working

Comments

@JoeCqupt
Copy link
Contributor

Describe the bug

branch: master

run command
./service-discovery-demo.sh

sh service-discovery-demo.sh
START:Service discovery demo mode:WATCH
558  [main] ERROR org.apache.helix.manager.zk.ZKHelixManager [] - fail to createClient. retry 1
org.apache.helix.HelixException: Cluster structure is not set up for cluster: service-discovery-demo
        at org.apache.helix.manager.zk.ZKHelixManager.handleNewSession(ZKHelixManager.java:1384) ~[helix-core-1.3.2-SNAPSHOT.jar:1.3.2-SNAPSHOT]
        at org.apache.helix.manager.zk.ZKHelixManager.createClient(ZKHelixManager.java:783) [helix-core-1.3.2-SNAPSHOT.jar:1.3.2-SNAPSHOT]
        at org.apache.helix.manager.zk.ZKHelixManager.connect(ZKHelixManager.java:818) [helix-core-1.3.2-SNAPSHOT.jar:1.3.2-SNAPSHOT]
        at org.apache.helix.servicediscovery.ServiceDiscovery.start(ServiceDiscovery.java:78) [service-discovery-1.3.2-SNAPSHOT.jar:?]
        at org.apache.helix.servicediscovery.ServiceDiscoveryDemo.demo(ServiceDiscoveryDemo.java:50) [service-discovery-1.3.2-SNAPSHOT.jar:?]
        at org.apache.helix.servicediscovery.ServiceDiscoveryDemo.main(ServiceDiscoveryDemo.java:38) [service-discovery-1.3.2-SNAPSHOT.jar:?]
567  [main] ERROR org.apache.helix.manager.zk.ZKHelixManager [] - fail to createClient. retry 2
org.apache.helix.HelixException: Cluster structure is not set up for cluster: service-discovery-demo
        at org.apache.helix.manager.zk.ZKHelixManager.handleNewSession(ZKHelixManager.java:1384) ~[helix-core-1.3.2-SNAPSHOT.jar:1.3.2-SNAPSHOT]
        at org.apache.helix.manager.zk.ZKHelixManager.createClient(ZKHelixManager.java:783) [helix-core-1.3.2-SNAPSHOT.jar:1.3.2-SNAPSHOT]
        at org.apache.helix.manager.zk.ZKHelixManager.connect(ZKHelixManager.java:818) [helix-core-1.3.2-SNAPSHOT.jar:1.3.2-SNAPSHOT]
        at org.apache.helix.servicediscovery.ServiceDiscovery.start(ServiceDiscovery.java:78) [service-discovery-1.3.2-SNAPSHOT.jar:?]
        at org.apache.helix.servicediscovery.ServiceDiscoveryDemo.demo(ServiceDiscoveryDemo.java:50) [service-discovery-1.3.2-SNAPSHOT.jar:?]
        at org.apache.helix.servicediscovery.ServiceDiscoveryDemo.main(ServiceDiscoveryDemo.java:38) [service-discovery-1.3.2-SNAPSHOT.jar:?]
570  [main] ERROR org.apache.helix.manager.zk.ZKHelixManager [] - fail to createClient. retry 3
org.apache.helix.HelixException: Cluster structure is not set up for cluster: service-discovery-demo
        at org.apache.helix.manager.zk.ZKHelixManager.handleNewSession(ZKHelixManager.java:1384) ~[helix-core-1.3.2-SNAPSHOT.jar:1.3.2-SNAPSHOT]
        at org.apache.helix.manager.zk.ZKHelixManager.createClient(ZKHelixManager.java:783) [helix-core-1.3.2-SNAPSHOT.jar:1.3.2-SNAPSHOT]
        at org.apache.helix.manager.zk.ZKHelixManager.connect(ZKHelixManager.java:818) [helix-core-1.3.2-SNAPSHOT.jar:1.3.2-SNAPSHOT]
        at org.apache.helix.servicediscovery.ServiceDiscovery.start(ServiceDiscovery.java:78) [service-discovery-1.3.2-SNAPSHOT.jar:?]
        at org.apache.helix.servicediscovery.ServiceDiscoveryDemo.demo(ServiceDiscoveryDemo.java:50) [service-discovery-1.3.2-SNAPSHOT.jar:?]
        at org.apache.helix.servicediscovery.ServiceDiscoveryDemo.main(ServiceDiscoveryDemo.java:38) [service-discovery-1.3.2-SNAPSHOT.jar:?]
570  [main] ERROR org.apache.helix.manager.zk.ZKHelixManager [] - fail to connect service-discovery
org.apache.helix.HelixException: Cluster structure is not set up for cluster: service-discovery-demo
        at org.apache.helix.manager.zk.ZKHelixManager.handleNewSession(ZKHelixManager.java:1384) ~[helix-core-1.3.2-SNAPSHOT.jar:1.3.2-SNAPSHOT]
        at org.apache.helix.manager.zk.ZKHelixManager.createClient(ZKHelixManager.java:783) ~[helix-core-1.3.2-SNAPSHOT.jar:1.3.2-SNAPSHOT]
        at org.apache.helix.manager.zk.ZKHelixManager.connect(ZKHelixManager.java:818) [helix-core-1.3.2-SNAPSHOT.jar:1.3.2-SNAPSHOT]
        at org.apache.helix.servicediscovery.ServiceDiscovery.start(ServiceDiscovery.java:78) [service-discovery-1.3.2-SNAPSHOT.jar:?]
        at org.apache.helix.servicediscovery.ServiceDiscoveryDemo.demo(ServiceDiscoveryDemo.java:50) [service-discovery-1.3.2-SNAPSHOT.jar:?]
        at org.apache.helix.servicediscovery.ServiceDiscoveryDemo.main(ServiceDiscoveryDemo.java:38) [service-discovery-1.3.2-SNAPSHOT.jar:?]
Exception in thread "main" org.apache.helix.HelixException: Cluster structure is not set up for cluster: service-discovery-demo
        at org.apache.helix.manager.zk.ZKHelixManager.handleNewSession(ZKHelixManager.java:1384)
        at org.apache.helix.manager.zk.ZKHelixManager.createClient(ZKHelixManager.java:783)
        at org.apache.helix.manager.zk.ZKHelixManager.connect(ZKHelixManager.java:818)
        at org.apache.helix.servicediscovery.ServiceDiscovery.start(ServiceDiscovery.java:78)
        at org.apache.helix.servicediscovery.ServiceDiscoveryDemo.demo(ServiceDiscoveryDemo.java:50)
        at org.apache.helix.servicediscovery.ServiceDiscoveryDemo.main(ServiceDiscoveryDemo.java:38)

To Reproduce

Steps to reproduce the behavior.

  1. checkout master branch
  2. maven build
  3. run ./service-discovery-demo.sh

Expected behavior

service-discovery-demo.sh run normally

Additional context

none

@JoeCqupt JoeCqupt added the bug Something isn't working label Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant