Details
-
Bug
-
Status: Open
-
Blocker
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
When adding a cluster using the command,
./helix-admin.sh --zkSvr localhost:2181 --addCluster MyCluster
There will be an exception generated as follows,
Exception in thread "main" org.apache.helix.HelixException: cluster MyCluster is not setup yet
at org.apache.helix.manager.zk.ZKHelixAdmin.addStateModelDef(ZKHelixAdmin.java:708)
at org.apache.helix.tools.ClusterSetup.addStateModelDef(ClusterSetup.java:343)
at org.apache.helix.tools.ClusterSetup.addCluster(ClusterSetup.java:152)
at org.apache.helix.tools.ClusterSetup.processCommandLineArgs(ClusterSetup.java:1009)
at org.apache.helix.tools.ClusterSetup.main(ClusterSetup.java:1454)