wu-sheng closed pull request #1916: Make ZooKeeper Version Compatibility clear in document URL: https://github.com/apache/incubator-skywalking/pull/1916
This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As this is a foreign pull request (from a fork), the diff is supplied below (as it won't show otherwise due to GitHub magic): diff --git a/docs/en/setup/backend/backend-cluster.md b/docs/en/setup/backend/backend-cluster.md index 8d7d00642d..5c7d4977fb 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 c4fc5740fa..312f35673b 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 2236cfc28e..cd57703df5 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 ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
