From f54cbfa9b4f01c1e2a2691069ffb3c27875cd8c9 Mon Sep 17 00:00:00 2001 From: yangwucheng Date: Wed, 3 Apr 2024 11:43:57 +0800 Subject: [PATCH] docs: update doc install_deploy.md of zookeeper 3.4.14 java requirements (#3768) --------- Co-authored-by: yangwucheng Co-authored-by: Siqi Wang Co-authored-by: HuangWei --- docs/en/deploy/install_deploy.md | 4 ++++ docs/zh/deploy/install_deploy.md | 3 +++ 2 files changed, 7 insertions(+) diff --git a/docs/en/deploy/install_deploy.md b/docs/en/deploy/install_deploy.md index 3eec28627b8..e436579d724 100644 --- a/docs/en/deploy/install_deploy.md +++ b/docs/en/deploy/install_deploy.md @@ -22,6 +22,10 @@ Generally, ldd version should be >= 2.17, and GLIBC_2.17 should be present in li If you need to deploy ZooKeeper and TaskManager, you need a Java runtime environment. +Servers needs Java 1.8 or above. + +Zookeeper Client 3.4.14 requires `Java 1.7` - `Java 13`. Java SDK depends on it, so it should use the same Java version, don't run in higher version. If you wish to use zkCli, please use `Java 1.8` or `Java 11`. + ### Hardware Regarding hardware requirements: diff --git a/docs/zh/deploy/install_deploy.md b/docs/zh/deploy/install_deploy.md index a7a6200651a..bcc30919eae 100644 --- a/docs/zh/deploy/install_deploy.md +++ b/docs/zh/deploy/install_deploy.md @@ -21,6 +21,9 @@ strings /lib64/libc.so.6 | grep ^GLIBC_ 如果需要部署 ZooKeeper 和 TaskManager,则需要有 Java 运行环境。 +> 两个Server需要`Java 1.8`及以上版本。 +> Zookeeper Client 3.4.14 需要 `Java 1.7` - `Java 13` 版本。Java SDK也使用这个Client,所以同样要求不能使用较高版本Java。如果希望使用zkCli,推荐使用 `Java 1.8` 或 `Java 11` 版本。 + ### 硬件 * CPU: