diff --git a/docs/en/setup/backend/backend-cluster.md b/docs/en/setup/backend/backend-cluster.md index 8d7d00642d6e8462b51a97786186875904bf5e95..5c7d4977fb1be64644b7b1847d4260d4cb7b3c2f 100644 --- a/docs/en/setup/backend/backend-cluster.md +++ b/docs/en/setup/backend/backend-cluster.md @@ -12,7 +12,13 @@ by using k8s native APIs to manage cluster. ## Zookeeper coordinator Zookeeper is a very common and wide used cluster coordinator. Set the **cluster** module's implementor -to **zookeeper** in the yml to active. +to **zookeeper** in the yml to active. + +Required Zookeeper version, 3.5+ + +Zookeeper version is required above 3.5 by Curator 4.0 lib, but actually Curator 4.0 is compatible with ZooKeeper 3.4.x. +To make ZooKeeper 3.4.x works, please replace the ZooKeeper 3.5+ library jar in `oap-libs` folder with ZooKeeper 3.4.x library. + ```yaml cluster: zookeeper: diff --git a/oap-server/server-starter/src/main/assembly/application.yml b/oap-server/server-starter/src/main/assembly/application.yml index c4fc5740fa39abc6673ba97d525d10495c90888f..312f35673ba018154c6179332958cbd3051f84b5 100644 --- a/oap-server/server-starter/src/main/assembly/application.yml +++ b/oap-server/server-starter/src/main/assembly/application.yml @@ -16,6 +16,8 @@ cluster: standalone: + # Please check your ZooKeeper is 3.5+, However, it is also compatible with ZooKeeper 3.4.x. Replace the ZooKeeper 3.5+ + # library in the oap-libs folder with your ZooKeeper 3.4.x libraru. # zookeeper: # hostPort: localhost:2181 # # Retry Policy diff --git a/oap-server/server-starter/src/main/resources/application.yml b/oap-server/server-starter/src/main/resources/application.yml index 2236cfc28e24436a4278ffea8bbe49b29ac6e390..cd57703df5a72cb75c7d130b28af6f1aac851127 100644 --- a/oap-server/server-starter/src/main/resources/application.yml +++ b/oap-server/server-starter/src/main/resources/application.yml @@ -16,6 +16,8 @@ cluster: standalone: + # Please check your ZooKeeper is 3.5+, However, it is also compatible with ZooKeeper 3.4.x. Replace the ZooKeeper 3.5+ + # library the oap-libs folder with your ZooKeeper 3.4.x library. # zookeeper: # hostPort: localhost:2181 # # Retry Policy