From ff8c51d30a269a54c969a696e419f62e480ddcdf Mon Sep 17 00:00:00 2001 From: lihengheng Date: Fri, 1 Nov 2024 11:06:26 +0800 Subject: [PATCH] fix some spelling errors --- .../manager/agent/monitoring/ZookeeperHealthyMonitoring.java | 4 ++-- .../org/apache/bigtop/manager/common/shell/ShellExecutor.java | 2 +- dev-support/README.md | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bigtop-manager-agent/src/main/java/org/apache/bigtop/manager/agent/monitoring/ZookeeperHealthyMonitoring.java b/bigtop-manager-agent/src/main/java/org/apache/bigtop/manager/agent/monitoring/ZookeeperHealthyMonitoring.java index e1a44ca9..8dfc0673 100644 --- a/bigtop-manager-agent/src/main/java/org/apache/bigtop/manager/agent/monitoring/ZookeeperHealthyMonitoring.java +++ b/bigtop-manager-agent/src/main/java/org/apache/bigtop/manager/agent/monitoring/ZookeeperHealthyMonitoring.java @@ -111,9 +111,9 @@ public class ZookeeperHealthyMonitoring { try { String root = hostComponent.get("root").asText("/opt"); String stackName = hostComponent.get("stackName").asText("bigtop"); - String stackVerion = hostComponent.get("stackVersion").asText("3.3.0"); + String stackVersion = hostComponent.get("stackVersion").asText("3.3.0"); String zookeeperCFG = "usr/lib/zookeeper/conf/zoo.cfg"; - String cfgFullPath = String.format("%s/%s/%s/%s", root, stackName, stackVerion, zookeeperCFG); + String cfgFullPath = String.format("%s/%s/%s/%s", root, stackName, stackVersion, zookeeperCFG); FileInputStream fileInputStream = new FileInputStream(cfgFullPath); Properties properties = new Properties(); properties.load(fileInputStream); diff --git a/bigtop-manager-common/src/main/java/org/apache/bigtop/manager/common/shell/ShellExecutor.java b/bigtop-manager-common/src/main/java/org/apache/bigtop/manager/common/shell/ShellExecutor.java index 4fb0c107..60c99495 100644 --- a/bigtop-manager-common/src/main/java/org/apache/bigtop/manager/common/shell/ShellExecutor.java +++ b/bigtop-manager-common/src/main/java/org/apache/bigtop/manager/common/shell/ShellExecutor.java @@ -87,7 +87,7 @@ public class ShellExecutor { * key-value pairs specified in the map. If null, the current * environment is not modified. * @param timeout Specifies the time in milliseconds, after which the - * command will be killed and the status marked as timedout. + * command will be killed and the status marked as timeout. * If 0, the command will not be timed out. * @param consumer the consumer to consume the output of the executed command. */ diff --git a/dev-support/README.md b/dev-support/README.md index 5398ba93..4d8f65f2 100644 --- a/dev-support/README.md +++ b/dev-support/README.md @@ -34,7 +34,7 @@ git clone https://github.com/kevinw66/bigtop-manager.git cd bigtop-manager/dev-support/docker/rocky8/ ``` ### **Step 4**: Build develop basic image -Run the setup command, you will get `bigtop-manager/develop:trunk-rocky-8` image. It has the enviroment needed to compile Bigtop-Manager and run servers such as Bigtop-Manager Server, Bigtop-Manager Agent, Mysql, etc. +Run the setup command, you will get `bigtop-manager/develop:trunk-rocky-8` image. It has the environment needed to compile Bigtop-Manager and run servers such as Bigtop-Manager Server, Bigtop-Manager Agent, Mysql, etc. **RHEL (Rocky 8) :** ```shell -- Gitee