From d33a1a916802122b3781a51cc59c40dead5b6a32 Mon Sep 17 00:00:00 2001 From: Xiangpeng Hu Date: Sat, 15 Feb 2025 18:12:14 +0800 Subject: [PATCH 1/5] remove bash --- .../Cluster-Deployment_apache.md | 21 +++++----------- .../Cluster-Deployment_apache.md | 21 +++++----------- .../Cluster-Deployment_apache.md | 21 +++++----------- .../Cluster-Deployment_apache.md | 24 +++++-------------- .../Cluster-Deployment_apache.md | 21 +++++----------- .../Cluster-Deployment_apache.md | 21 +++++----------- .../Cluster-Deployment_apache.md | 24 +++++-------------- .../Cluster-Deployment_apache.md | 21 +++++----------- 8 files changed, 48 insertions(+), 126 deletions(-) diff --git a/src/UserGuide/Master/Tree/Deployment-and-Maintenance/Cluster-Deployment_apache.md b/src/UserGuide/Master/Tree/Deployment-and-Maintenance/Cluster-Deployment_apache.md index b11e592fe..6c0187f19 100644 --- a/src/UserGuide/Master/Tree/Deployment-and-Maintenance/Cluster-Deployment_apache.md +++ b/src/UserGuide/Master/Tree/Deployment-and-Maintenance/Cluster-Deployment_apache.md @@ -213,7 +213,7 @@ Parameter introduction: #### Removing ConfigNode Nodes -First connect to the cluster through the CLI and confirm the internal address and port number of the ConfigNode you want to remove by using `show confignodes`: +First connect to the cluster through the CLI and confirm the NodeID of the ConfigNode you want to remove by using `show confignodes`: ```Bash IoTDB> show confignodes @@ -228,15 +228,10 @@ Total line number = 3 It costs 0.030s ``` -Then use the script to remove the DataNode. Script command: +Then use the SQL to remove the ConfigNode. SQL command: ```Bash -# Linux / MacOS -sbin/remove-confignode.sh [confignode_id] - -#Windows -sbin/remove-confignode.bat [confignode_id] - +remove confignode [confignode_id] ``` ### DataNode Node Maintenance @@ -282,7 +277,7 @@ Note: After adding a DataNode, as new writes arrive (and old data expires, if TT #### Removing DataNode Nodes -First connect to the cluster through the CLI and confirm the RPC address and port number of the DataNode you want to remove with `show datanodes`: +First connect to the cluster through the CLI and confirm the NodeID of the DataNode you want to remove with `show datanodes`: ```Bash IoTDB> show datanodes @@ -297,14 +292,10 @@ Total line number = 3 It costs 0.110s ``` -Then use the script to remove the DataNode. Script command: +Then use the SQL to remove the DataNode. SQL command: ```Bash -# Linux / MacOS -sbin/remove-datanode.sh [datanode_id] - -#Windows -sbin/remove-datanode.bat [datanode_id] +remove datanode [confignode_id] ``` ## Common Questions diff --git a/src/UserGuide/V1.3.3/Deployment-and-Maintenance/Cluster-Deployment_apache.md b/src/UserGuide/V1.3.3/Deployment-and-Maintenance/Cluster-Deployment_apache.md index b11e592fe..6c0187f19 100644 --- a/src/UserGuide/V1.3.3/Deployment-and-Maintenance/Cluster-Deployment_apache.md +++ b/src/UserGuide/V1.3.3/Deployment-and-Maintenance/Cluster-Deployment_apache.md @@ -213,7 +213,7 @@ Parameter introduction: #### Removing ConfigNode Nodes -First connect to the cluster through the CLI and confirm the internal address and port number of the ConfigNode you want to remove by using `show confignodes`: +First connect to the cluster through the CLI and confirm the NodeID of the ConfigNode you want to remove by using `show confignodes`: ```Bash IoTDB> show confignodes @@ -228,15 +228,10 @@ Total line number = 3 It costs 0.030s ``` -Then use the script to remove the DataNode. Script command: +Then use the SQL to remove the ConfigNode. SQL command: ```Bash -# Linux / MacOS -sbin/remove-confignode.sh [confignode_id] - -#Windows -sbin/remove-confignode.bat [confignode_id] - +remove confignode [confignode_id] ``` ### DataNode Node Maintenance @@ -282,7 +277,7 @@ Note: After adding a DataNode, as new writes arrive (and old data expires, if TT #### Removing DataNode Nodes -First connect to the cluster through the CLI and confirm the RPC address and port number of the DataNode you want to remove with `show datanodes`: +First connect to the cluster through the CLI and confirm the NodeID of the DataNode you want to remove with `show datanodes`: ```Bash IoTDB> show datanodes @@ -297,14 +292,10 @@ Total line number = 3 It costs 0.110s ``` -Then use the script to remove the DataNode. Script command: +Then use the SQL to remove the DataNode. SQL command: ```Bash -# Linux / MacOS -sbin/remove-datanode.sh [datanode_id] - -#Windows -sbin/remove-datanode.bat [datanode_id] +remove datanode [confignode_id] ``` ## Common Questions diff --git a/src/UserGuide/latest/Deployment-and-Maintenance/Cluster-Deployment_apache.md b/src/UserGuide/latest/Deployment-and-Maintenance/Cluster-Deployment_apache.md index b11e592fe..6c0187f19 100644 --- a/src/UserGuide/latest/Deployment-and-Maintenance/Cluster-Deployment_apache.md +++ b/src/UserGuide/latest/Deployment-and-Maintenance/Cluster-Deployment_apache.md @@ -213,7 +213,7 @@ Parameter introduction: #### Removing ConfigNode Nodes -First connect to the cluster through the CLI and confirm the internal address and port number of the ConfigNode you want to remove by using `show confignodes`: +First connect to the cluster through the CLI and confirm the NodeID of the ConfigNode you want to remove by using `show confignodes`: ```Bash IoTDB> show confignodes @@ -228,15 +228,10 @@ Total line number = 3 It costs 0.030s ``` -Then use the script to remove the DataNode. Script command: +Then use the SQL to remove the ConfigNode. SQL command: ```Bash -# Linux / MacOS -sbin/remove-confignode.sh [confignode_id] - -#Windows -sbin/remove-confignode.bat [confignode_id] - +remove confignode [confignode_id] ``` ### DataNode Node Maintenance @@ -282,7 +277,7 @@ Note: After adding a DataNode, as new writes arrive (and old data expires, if TT #### Removing DataNode Nodes -First connect to the cluster through the CLI and confirm the RPC address and port number of the DataNode you want to remove with `show datanodes`: +First connect to the cluster through the CLI and confirm the NodeID of the DataNode you want to remove with `show datanodes`: ```Bash IoTDB> show datanodes @@ -297,14 +292,10 @@ Total line number = 3 It costs 0.110s ``` -Then use the script to remove the DataNode. Script command: +Then use the SQL to remove the DataNode. SQL command: ```Bash -# Linux / MacOS -sbin/remove-datanode.sh [datanode_id] - -#Windows -sbin/remove-datanode.bat [datanode_id] +remove datanode [confignode_id] ``` ## Common Questions diff --git a/src/zh/UserGuide/Master/Table/Deployment-and-Maintenance/Cluster-Deployment_apache.md b/src/zh/UserGuide/Master/Table/Deployment-and-Maintenance/Cluster-Deployment_apache.md index 12f56432b..6e4769edf 100644 --- a/src/zh/UserGuide/Master/Table/Deployment-and-Maintenance/Cluster-Deployment_apache.md +++ b/src/zh/UserGuide/Master/Table/Deployment-and-Maintenance/Cluster-Deployment_apache.md @@ -187,7 +187,7 @@ sbin/start-confignode.bat #### 4.1.2 移除ConfigNode节点 -首先通过CLI连接集群,通过`show confignodes`确认想要移除ConfigNode的内部地址与端口号: +首先通过CLI连接集群,通过`show confignodes`确认想要移除ConfigNode的NodeID: ```shell IoTDB> show confignodes @@ -202,18 +202,10 @@ Total line number = 3 It costs 0.030s ``` -然后使用脚本将DataNode移除。脚本命令: +然后使用SQL将ConfigNode移除,SQL命令: ```Bash -# Linux / MacOS -sbin/remove-confignode.sh [confignode_id] -或 -./sbin/remove-confignode.sh [cn_internal_address:cn_internal_port] - -#Windows -sbin/remove-confignode.bat [confignode_id] -或 -./sbin/remove-confignode.bat [cn_internal_address:cn_internal_port] +remove confignode [confignode_id] ``` ### 4.2 DataNode节点维护 @@ -243,7 +235,7 @@ sbin/start-datanode.bat #### 4.2.2 移除DataNode节点 -首先通过CLI连接集群,通过`show datanodes`确认想要移除的DataNode的RPC地址与端口号: +首先通过CLI连接集群,通过`show datanodes`确认想要移除的DataNode的NodeID: ```Bash IoTDB> show datanodes @@ -258,14 +250,10 @@ Total line number = 3 It costs 0.110s ``` -然后使用脚本将DataNode移除。脚本命令: +然后使用SQL将DataNode移除,SQL命令: ```Bash -# Linux / MacOS -sbin/remove-datanode.sh [dn_rpc_address:dn_rpc_port] - -#Windows -sbin/remove-datanode.bat [dn_rpc_address:dn_rpc_port] +remove datanode [datanode_id] ``` ## 5 常见问题 diff --git a/src/zh/UserGuide/Master/Tree/Deployment-and-Maintenance/Cluster-Deployment_apache.md b/src/zh/UserGuide/Master/Tree/Deployment-and-Maintenance/Cluster-Deployment_apache.md index 6603bd7c8..9c33c871e 100644 --- a/src/zh/UserGuide/Master/Tree/Deployment-and-Maintenance/Cluster-Deployment_apache.md +++ b/src/zh/UserGuide/Master/Tree/Deployment-and-Maintenance/Cluster-Deployment_apache.md @@ -211,7 +211,7 @@ sbin/start-confignode.bat #### 移除ConfigNode节点 -首先通过CLI连接集群,通过`show confignodes`确认想要移除ConfigNode的内部地址与端口号: +首先通过CLI连接集群,通过`show confignodes`确认想要移除ConfigNode的NodeID: ```Bash IoTDB> show confignodes @@ -226,15 +226,10 @@ Total line number = 3 It costs 0.030s ``` -然后使用脚本将DataNode移除。脚本命令: +然后使用SQL将ConfigNode移除,SQL命令: ```Bash -# Linux / MacOS -sbin/remove-confignode.sh [confignode_id] - -#Windows -sbin/remove-confignode.bat [confignode_id] - +remove confignode [confignode_id] ``` ### DataNode节点维护 @@ -280,7 +275,7 @@ sbin/start-datanode.bat #### 移除DataNode节点 -首先通过CLI连接集群,通过`show datanodes`确认想要移除的DataNode的RPC地址与端口号: +首先通过CLI连接集群,通过`show datanodes`确认想要移除的DataNode的NodeID: ```Bash IoTDB> show datanodes @@ -295,14 +290,10 @@ Total line number = 3 It costs 0.110s ``` -然后使用脚本将DataNode移除。脚本命令: +然后使用SQL将DataNode移除,SQL命令: ```Bash -# Linux / MacOS -sbin/remove-datanode.sh [datanode_id] - -#Windows -sbin/remove-datanode.bat [datanode_id] +remove datanode [datanode_id] ``` ## 常见问题 diff --git a/src/zh/UserGuide/V1.3.3/Deployment-and-Maintenance/Cluster-Deployment_apache.md b/src/zh/UserGuide/V1.3.3/Deployment-and-Maintenance/Cluster-Deployment_apache.md index 6603bd7c8..9c33c871e 100644 --- a/src/zh/UserGuide/V1.3.3/Deployment-and-Maintenance/Cluster-Deployment_apache.md +++ b/src/zh/UserGuide/V1.3.3/Deployment-and-Maintenance/Cluster-Deployment_apache.md @@ -211,7 +211,7 @@ sbin/start-confignode.bat #### 移除ConfigNode节点 -首先通过CLI连接集群,通过`show confignodes`确认想要移除ConfigNode的内部地址与端口号: +首先通过CLI连接集群,通过`show confignodes`确认想要移除ConfigNode的NodeID: ```Bash IoTDB> show confignodes @@ -226,15 +226,10 @@ Total line number = 3 It costs 0.030s ``` -然后使用脚本将DataNode移除。脚本命令: +然后使用SQL将ConfigNode移除,SQL命令: ```Bash -# Linux / MacOS -sbin/remove-confignode.sh [confignode_id] - -#Windows -sbin/remove-confignode.bat [confignode_id] - +remove confignode [confignode_id] ``` ### DataNode节点维护 @@ -280,7 +275,7 @@ sbin/start-datanode.bat #### 移除DataNode节点 -首先通过CLI连接集群,通过`show datanodes`确认想要移除的DataNode的RPC地址与端口号: +首先通过CLI连接集群,通过`show datanodes`确认想要移除的DataNode的NodeID: ```Bash IoTDB> show datanodes @@ -295,14 +290,10 @@ Total line number = 3 It costs 0.110s ``` -然后使用脚本将DataNode移除。脚本命令: +然后使用SQL将DataNode移除,SQL命令: ```Bash -# Linux / MacOS -sbin/remove-datanode.sh [datanode_id] - -#Windows -sbin/remove-datanode.bat [datanode_id] +remove datanode [datanode_id] ``` ## 常见问题 diff --git a/src/zh/UserGuide/latest-Table/Deployment-and-Maintenance/Cluster-Deployment_apache.md b/src/zh/UserGuide/latest-Table/Deployment-and-Maintenance/Cluster-Deployment_apache.md index bcd80510b..422e375f5 100644 --- a/src/zh/UserGuide/latest-Table/Deployment-and-Maintenance/Cluster-Deployment_apache.md +++ b/src/zh/UserGuide/latest-Table/Deployment-and-Maintenance/Cluster-Deployment_apache.md @@ -187,7 +187,7 @@ sbin/start-confignode.bat #### 4.1.2 移除ConfigNode节点 -首先通过CLI连接集群,通过`show confignodes`确认想要移除ConfigNode的内部地址与端口号: +首先通过CLI连接集群,通过`show confignodes`确认想要移除ConfigNode的NodeID: ```shell IoTDB> show confignodes @@ -202,18 +202,10 @@ Total line number = 3 It costs 0.030s ``` -然后使用脚本将DataNode移除。脚本命令: +然后使用SQL将ConfigNode移除,SQL命令: ```Bash -# Linux / MacOS -sbin/remove-confignode.sh [confignode_id] -或 -./sbin/remove-confignode.sh [cn_internal_address:cn_internal_port] - -#Windows -sbin/remove-confignode.bat [confignode_id] -或 -./sbin/remove-confignode.bat [cn_internal_address:cn_internal_port] +remove confignode [confignode_id] ``` ### 4.2 DataNode节点维护 @@ -243,7 +235,7 @@ sbin/start-datanode.bat #### 4.2.2 移除DataNode节点 -首先通过CLI连接集群,通过`show datanodes`确认想要移除的DataNode的RPC地址与端口号: +首先通过CLI连接集群,通过`show datanodes`确认想要移除的DataNode的NodeID: ```Bash IoTDB> show datanodes @@ -258,14 +250,10 @@ Total line number = 3 It costs 0.110s ``` -然后使用脚本将DataNode移除。脚本命令: +然后使用SQL将DataNode移除,SQL命令: ```Bash -# Linux / MacOS -sbin/remove-datanode.sh [dn_rpc_address:dn_rpc_port] - -#Windows -sbin/remove-datanode.bat [dn_rpc_address:dn_rpc_port] +remove datanode [datanode_id] ``` ## 5 常见问题 diff --git a/src/zh/UserGuide/latest/Deployment-and-Maintenance/Cluster-Deployment_apache.md b/src/zh/UserGuide/latest/Deployment-and-Maintenance/Cluster-Deployment_apache.md index 6603bd7c8..939efa1b3 100644 --- a/src/zh/UserGuide/latest/Deployment-and-Maintenance/Cluster-Deployment_apache.md +++ b/src/zh/UserGuide/latest/Deployment-and-Maintenance/Cluster-Deployment_apache.md @@ -211,7 +211,7 @@ sbin/start-confignode.bat #### 移除ConfigNode节点 -首先通过CLI连接集群,通过`show confignodes`确认想要移除ConfigNode的内部地址与端口号: +首先通过CLI连接集群,通过`show confignodes`确认想要移除ConfigNode的NodeId: ```Bash IoTDB> show confignodes @@ -226,15 +226,10 @@ Total line number = 3 It costs 0.030s ``` -然后使用脚本将DataNode移除。脚本命令: +然后使用SQL将ConfigNode移除,SQL命令: ```Bash -# Linux / MacOS -sbin/remove-confignode.sh [confignode_id] - -#Windows -sbin/remove-confignode.bat [confignode_id] - +remove confignode [confignode_id] ``` ### DataNode节点维护 @@ -280,7 +275,7 @@ sbin/start-datanode.bat #### 移除DataNode节点 -首先通过CLI连接集群,通过`show datanodes`确认想要移除的DataNode的RPC地址与端口号: +首先通过CLI连接集群,通过`show datanodes`确认想要移除的DataNode的NodeID: ```Bash IoTDB> show datanodes @@ -295,14 +290,10 @@ Total line number = 3 It costs 0.110s ``` -然后使用脚本将DataNode移除。脚本命令: +然后使用SQL将DataNode移除,SQL命令: ```Bash -# Linux / MacOS -sbin/remove-datanode.sh [datanode_id] - -#Windows -sbin/remove-datanode.bat [datanode_id] +remove datanode [datanode_id] ``` ## 常见问题 From a2c71856ec4baca2b467ea3ad7f4acd432206db3 Mon Sep 17 00:00:00 2001 From: Xiangpeng Hu <65238551+HxpSerein@users.noreply.github.com> Date: Fri, 21 Feb 2025 16:05:03 +0800 Subject: [PATCH 2/5] fix typo --- .../Deployment-and-Maintenance/Cluster-Deployment_apache.md | 2 +- .../Deployment-and-Maintenance/Cluster-Deployment_apache.md | 2 +- .../Deployment-and-Maintenance/Cluster-Deployment_apache.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/UserGuide/Master/Tree/Deployment-and-Maintenance/Cluster-Deployment_apache.md b/src/UserGuide/Master/Tree/Deployment-and-Maintenance/Cluster-Deployment_apache.md index 6c0187f19..cc3be90c6 100644 --- a/src/UserGuide/Master/Tree/Deployment-and-Maintenance/Cluster-Deployment_apache.md +++ b/src/UserGuide/Master/Tree/Deployment-and-Maintenance/Cluster-Deployment_apache.md @@ -295,7 +295,7 @@ It costs 0.110s Then use the SQL to remove the DataNode. SQL command: ```Bash -remove datanode [confignode_id] +remove datanode [datanode_id] ``` ## Common Questions diff --git a/src/UserGuide/V1.3.3/Deployment-and-Maintenance/Cluster-Deployment_apache.md b/src/UserGuide/V1.3.3/Deployment-and-Maintenance/Cluster-Deployment_apache.md index 6c0187f19..cc3be90c6 100644 --- a/src/UserGuide/V1.3.3/Deployment-and-Maintenance/Cluster-Deployment_apache.md +++ b/src/UserGuide/V1.3.3/Deployment-and-Maintenance/Cluster-Deployment_apache.md @@ -295,7 +295,7 @@ It costs 0.110s Then use the SQL to remove the DataNode. SQL command: ```Bash -remove datanode [confignode_id] +remove datanode [datanode_id] ``` ## Common Questions diff --git a/src/UserGuide/latest/Deployment-and-Maintenance/Cluster-Deployment_apache.md b/src/UserGuide/latest/Deployment-and-Maintenance/Cluster-Deployment_apache.md index 6c0187f19..cc3be90c6 100644 --- a/src/UserGuide/latest/Deployment-and-Maintenance/Cluster-Deployment_apache.md +++ b/src/UserGuide/latest/Deployment-and-Maintenance/Cluster-Deployment_apache.md @@ -295,7 +295,7 @@ It costs 0.110s Then use the SQL to remove the DataNode. SQL command: ```Bash -remove datanode [confignode_id] +remove datanode [datanode_id] ``` ## Common Questions From d8fc29c8c0be97c8d88d4a39c47fbf91abb0ce99 Mon Sep 17 00:00:00 2001 From: Xiangpeng Hu <65238551+HxpSerein@users.noreply.github.com> Date: Fri, 21 Feb 2025 16:24:29 +0800 Subject: [PATCH 3/5] finish english --- .../Cluster-Deployment_timecho.md | 21 ++++-------- .../Cluster-Deployment_timecho.md | 32 ++++--------------- .../Cluster-Deployment_timecho.md | 21 ++++-------- .../Cluster-Deployment_timecho.md | 21 ++++-------- .../Cluster-Deployment_timecho.md | 28 ++++------------ 5 files changed, 30 insertions(+), 93 deletions(-) diff --git a/src/UserGuide/Master/Table/Deployment-and-Maintenance/Cluster-Deployment_timecho.md b/src/UserGuide/Master/Table/Deployment-and-Maintenance/Cluster-Deployment_timecho.md index 2b7445540..faab81c9a 100644 --- a/src/UserGuide/Master/Table/Deployment-and-Maintenance/Cluster-Deployment_timecho.md +++ b/src/UserGuide/Master/Table/Deployment-and-Maintenance/Cluster-Deployment_timecho.md @@ -251,7 +251,7 @@ sbin/start-confignode.bat #### Removing ConfigNode Nodes -First connect to the cluster through the CLI and confirm the internal address and port number of the ConfigNode you want to remove by using `show confignodes`: +First connect to the cluster through the CLI and confirm the NodeID of the ConfigNode you want to remove by using `show confignodes`: ```Bash IoTDB> show confignodes @@ -266,15 +266,10 @@ Total line number = 3 It costs 0.030s ``` -Then use the script to remove the DataNode. Script command: +Then use the SQL to remove the ConfigNode. SQL command: ```Bash -# Linux / MacOS -sbin/remove-confignode.sh [confignode_id] - -#Windows -sbin/remove-confignode.bat [confignode_id] - +remove confignode [confignode_id] ``` ### DataNode Node Maintenance @@ -305,7 +300,7 @@ Note: After adding a DataNode, as new writes arrive (and old data expires, if TT #### Removing DataNode Nodes -First connect to the cluster through the CLI and confirm the RPC address and port number of the DataNode you want to remove with `show datanodes`: +First connect to the cluster through the CLI and confirm the NodeID of the DataNode you want to remove with `show datanodes`: ```Bash IoTDB> show datanodes @@ -320,14 +315,10 @@ Total line number = 3 It costs 0.110s ``` -Then use the script to remove the DataNode. Script command: +Then use the SQL to remove the DataNode. SQL command: ```Bash -# Linux / MacOS -sbin/remove-datanode.sh [datanode_id] - -#Windows -sbin/remove-datanode.bat [datanode_id] +remove datanode [datanode_id] ``` ## Common Questions diff --git a/src/UserGuide/Master/Tree/Deployment-and-Maintenance/Cluster-Deployment_timecho.md b/src/UserGuide/Master/Tree/Deployment-and-Maintenance/Cluster-Deployment_timecho.md index 25d61324f..43894daf6 100644 --- a/src/UserGuide/Master/Tree/Deployment-and-Maintenance/Cluster-Deployment_timecho.md +++ b/src/UserGuide/Master/Tree/Deployment-and-Maintenance/Cluster-Deployment_timecho.md @@ -249,7 +249,7 @@ sbin/start-confignode.bat #### Removing a ConfigNode -1. Connect to the cluster using the CLI and confirm the internal address and port of the ConfigNode to be removed: +1. Connect to the cluster using the CLI and confirm the NodeID of the ConfigNode to be removed: ```Plain show confignodes; @@ -270,22 +270,10 @@ Total line number = 3 It costs 0.030s ``` -2. Remove the ConfigNode using the script: - -**Linux /** **MacOS**: - -```Bash -sbin/remove-confignode.sh [confignode_id] -# Or: -sbin/remove-confignode.sh [cn_internal_address:cn_internal_port] -``` - -**Windows:** +2. Remove the ConfigNode using the SQL: ```Bash -sbin/remove-confignode.bat [confignode_id] -# Or: -sbin/remove-confignode.bat [cn_internal_address:cn_internal_port] +remove confignode [confignode_id] ``` ### DataNode Maintenance @@ -315,7 +303,7 @@ sbin/start-datanode.bat #### Removing a DataNode -1. Connect to the cluster using the CLI and confirm the RPC address and port of the DataNode to be removed: +1. Connect to the cluster using the CLI and confirm the NodeID of the DataNode to be removed: ```Plain show datanodes; @@ -336,18 +324,10 @@ Total line number = 3 It costs 0.110s ``` -2. Remove the DataNode using the script: - -**Linux / MacOS:** - -```Bash -sbin/remove-datanode.sh [dn_rpc_address:dn_rpc_port] -``` - -**Windows:** +2. Remove the DataNode using the SQL: ```Bash -sbin/remove-datanode.bat [dn_rpc_address:dn_rpc_port] +remove datanode [datanode_id] ``` ## Common Questions diff --git a/src/UserGuide/V1.3.3/Deployment-and-Maintenance/Cluster-Deployment_timecho.md b/src/UserGuide/V1.3.3/Deployment-and-Maintenance/Cluster-Deployment_timecho.md index c3e4362f3..6cd68bd26 100644 --- a/src/UserGuide/V1.3.3/Deployment-and-Maintenance/Cluster-Deployment_timecho.md +++ b/src/UserGuide/V1.3.3/Deployment-and-Maintenance/Cluster-Deployment_timecho.md @@ -250,7 +250,7 @@ Parameter introduction: #### Removing ConfigNode Nodes -First connect to the cluster through the CLI and confirm the internal address and port number of the ConfigNode you want to remove by using `show confignodes`: +First connect to the cluster through the CLI and confirm the NodeID of the ConfigNode you want to remove by using `show confignodes`: ```Bash IoTDB> show confignodes @@ -265,15 +265,10 @@ Total line number = 3 It costs 0.030s ``` -Then use the script to remove the DataNode. Script command: +Then use the SQL to remove the ConfigNode. SQL command: ```Bash -# Linux / MacOS -sbin/remove-confignode.sh [confignode_id] - -#Windows -sbin/remove-confignode.bat [confignode_id] - +remove confignode [confignode_id] ``` ### DataNode Node Maintenance @@ -319,7 +314,7 @@ Note: After adding a DataNode, as new writes arrive (and old data expires, if TT #### Removing DataNode Nodes -First connect to the cluster through the CLI and confirm the RPC address and port number of the DataNode you want to remove with `show datanodes`: +First connect to the cluster through the CLI and confirm the NodeID of the DataNode you want to remove with `show datanodes`: ```Bash IoTDB> show datanodes @@ -334,14 +329,10 @@ Total line number = 3 It costs 0.110s ``` -Then use the script to remove the DataNode. Script command: +Then use the SQL to remove the DataNode. SQL command: ```Bash -# Linux / MacOS -sbin/remove-datanode.sh [datanode_id] - -#Windows -sbin/remove-datanode.bat [datanode_id] +remove datanode [datanode_id] ``` ## Common Questions diff --git a/src/UserGuide/latest-Table/Deployment-and-Maintenance/Cluster-Deployment_timecho.md b/src/UserGuide/latest-Table/Deployment-and-Maintenance/Cluster-Deployment_timecho.md index a58cff767..e1503f3ad 100644 --- a/src/UserGuide/latest-Table/Deployment-and-Maintenance/Cluster-Deployment_timecho.md +++ b/src/UserGuide/latest-Table/Deployment-and-Maintenance/Cluster-Deployment_timecho.md @@ -252,7 +252,7 @@ sbin/start-confignode.bat #### Removing ConfigNode Nodes -First connect to the cluster through the CLI and confirm the internal address and port number of the ConfigNode you want to remove by using `show confignodes`: +First connect to the cluster through the CLI and confirm the NodeID of the ConfigNode you want to remove by using `show confignodes`: ```Bash IoTDB> show confignodes @@ -267,15 +267,10 @@ Total line number = 3 It costs 0.030s ``` -Then use the script to remove the DataNode. Script command: +Then use the SQL to remove the ConfigNode. SQL command: ```Bash -# Linux / MacOS -sbin/remove-confignode.sh [confignode_id] - -#Windows -sbin/remove-confignode.bat [confignode_id] - +remove confignode [confignode_id] ``` ### DataNode Node Maintenance @@ -306,7 +301,7 @@ Note: After adding a DataNode, as new writes arrive (and old data expires, if TT #### Removing DataNode Nodes -First connect to the cluster through the CLI and confirm the RPC address and port number of the DataNode you want to remove with `show datanodes`: +First connect to the cluster through the CLI and confirm the NodeID of the DataNode you want to remove with `show datanodes`: ```Bash IoTDB> show datanodes @@ -321,14 +316,10 @@ Total line number = 3 It costs 0.110s ``` -Then use the script to remove the DataNode. Script command: +Then use the SQL to remove the DataNode. SQL command: ```Bash -# Linux / MacOS -sbin/remove-datanode.sh [datanode_id] - -#Windows -sbin/remove-datanode.bat [datanode_id] +remove datanode [datanode_id] ``` ## Common Questions diff --git a/src/UserGuide/latest/Deployment-and-Maintenance/Cluster-Deployment_timecho.md b/src/UserGuide/latest/Deployment-and-Maintenance/Cluster-Deployment_timecho.md index 25d61324f..028cbb2aa 100644 --- a/src/UserGuide/latest/Deployment-and-Maintenance/Cluster-Deployment_timecho.md +++ b/src/UserGuide/latest/Deployment-and-Maintenance/Cluster-Deployment_timecho.md @@ -249,7 +249,7 @@ sbin/start-confignode.bat #### Removing a ConfigNode -1. Connect to the cluster using the CLI and confirm the internal address and port of the ConfigNode to be removed: +1. Connect to the cluster using the CLI and confirm the NodeID of the ConfigNode to be removed: ```Plain show confignodes; @@ -270,22 +270,12 @@ Total line number = 3 It costs 0.030s ``` -2. Remove the ConfigNode using the script: +2. Remove the ConfigNode using the SQL: **Linux /** **MacOS**: ```Bash -sbin/remove-confignode.sh [confignode_id] -# Or: -sbin/remove-confignode.sh [cn_internal_address:cn_internal_port] -``` - -**Windows:** - -```Bash -sbin/remove-confignode.bat [confignode_id] -# Or: -sbin/remove-confignode.bat [cn_internal_address:cn_internal_port] +remove confignode [confignode_id] ``` ### DataNode Maintenance @@ -315,7 +305,7 @@ sbin/start-datanode.bat #### Removing a DataNode -1. Connect to the cluster using the CLI and confirm the RPC address and port of the DataNode to be removed: +1. Connect to the cluster using the CLI and confirm the NodeID of the DataNode to be removed: ```Plain show datanodes; @@ -336,18 +326,12 @@ Total line number = 3 It costs 0.110s ``` -2. Remove the DataNode using the script: +2. Remove the DataNode using the SQL: **Linux / MacOS:** ```Bash -sbin/remove-datanode.sh [dn_rpc_address:dn_rpc_port] -``` - -**Windows:** - -```Bash -sbin/remove-datanode.bat [dn_rpc_address:dn_rpc_port] +remove datanode [datanode_id] ``` ## Common Questions From 499c942d59ba45da18e22f72d66698e2aaf22556 Mon Sep 17 00:00:00 2001 From: Xiangpeng Hu <65238551+HxpSerein@users.noreply.github.com> Date: Fri, 21 Feb 2025 16:42:45 +0800 Subject: [PATCH 4/5] finish chinese --- .../Cluster-Deployment_timecho.md | 24 +++++-------------- .../Cluster-Deployment_timecho.md | 21 +++++----------- .../Cluster-Deployment_timecho.md | 21 +++++----------- .../Cluster-Deployment_timecho.md | 24 +++++-------------- .../Cluster-Deployment_timecho.md | 21 +++++----------- 5 files changed, 30 insertions(+), 81 deletions(-) diff --git a/src/zh/UserGuide/Master/Table/Deployment-and-Maintenance/Cluster-Deployment_timecho.md b/src/zh/UserGuide/Master/Table/Deployment-and-Maintenance/Cluster-Deployment_timecho.md index 1c82999b7..1f13ead72 100644 --- a/src/zh/UserGuide/Master/Table/Deployment-and-Maintenance/Cluster-Deployment_timecho.md +++ b/src/zh/UserGuide/Master/Table/Deployment-and-Maintenance/Cluster-Deployment_timecho.md @@ -247,7 +247,7 @@ sbin/start-confignode.bat #### 4.1.2 移除ConfigNode节点 -首先通过CLI连接集群,通过`show confignodes`确认想要移除ConfigNode的内部地址与端口号: +首先通过CLI连接集群,通过`show confignodes`确认想要移除ConfigNode的NodeID: ```shell IoTDB> show confignodes @@ -262,18 +262,10 @@ Total line number = 3 It costs 0.030s ``` -然后使用脚本将DataNode移除。脚本命令: +然后使用SQL将ConfigNode移除,SQL命令: ```Bash -# Linux / MacOS -sbin/remove-confignode.sh [confignode_id] -或 -./sbin/remove-confignode.sh [cn_internal_address:cn_internal_port] - -#Windows -sbin/remove-confignode.bat [confignode_id] -或 -./sbin/remove-confignode.bat [cn_internal_address:cn_internal_port] +remove confignode [confignode_id] ``` ### 4.2 DataNode节点维护 @@ -303,7 +295,7 @@ sbin/start-datanode.bat #### 4.2.2 移除DataNode节点 -首先通过CLI连接集群,通过`show datanodes`确认想要移除的DataNode的RPC地址与端口号: +首先通过CLI连接集群,通过`show datanodes`确认想要移除的DataNode的NodeID: ```Bash IoTDB> show datanodes @@ -318,14 +310,10 @@ Total line number = 3 It costs 0.110s ``` -然后使用脚本将DataNode移除。脚本命令: +然后使用SQL将DataNode移除,SQL命令: ```Bash -# Linux / MacOS -sbin/remove-datanode.sh [dn_rpc_address:dn_rpc_port] - -#Windows -sbin/remove-datanode.bat [dn_rpc_address:dn_rpc_port] +remove datanode [datanode_id] ``` ## 5 常见问题 diff --git a/src/zh/UserGuide/Master/Tree/Deployment-and-Maintenance/Cluster-Deployment_timecho.md b/src/zh/UserGuide/Master/Tree/Deployment-and-Maintenance/Cluster-Deployment_timecho.md index 933476514..3bf6613a9 100644 --- a/src/zh/UserGuide/Master/Tree/Deployment-and-Maintenance/Cluster-Deployment_timecho.md +++ b/src/zh/UserGuide/Master/Tree/Deployment-and-Maintenance/Cluster-Deployment_timecho.md @@ -249,7 +249,7 @@ sbin/start-confignode.bat #### 移除ConfigNode节点 -首先通过CLI连接集群,通过`show confignodes`确认想要移除ConfigNode的内部地址与端口号: +首先通过CLI连接集群,通过`show confignodes`确认想要移除ConfigNode的NodeID: ```Bash IoTDB> show confignodes @@ -264,15 +264,10 @@ Total line number = 3 It costs 0.030s ``` -然后使用脚本将DataNode移除。脚本命令: +然后使用SQL将ConfigNode移除,SQL命令: ```Bash -# Linux / MacOS -sbin/remove-confignode.sh [confignode_id] - -#Windows -sbin/remove-confignode.bat [confignode_id] - +remove confignode [confignode_id] ``` ### DataNode节点维护 @@ -318,7 +313,7 @@ sbin/start-datanode.bat #### 移除DataNode节点 -首先通过CLI连接集群,通过`show datanodes`确认想要移除的DataNode的RPC地址与端口号: +首先通过CLI连接集群,通过`show datanodes`确认想要移除的DataNode的NodeID: ```Bash IoTDB> show datanodes @@ -333,14 +328,10 @@ Total line number = 3 It costs 0.110s ``` -然后使用脚本将DataNode移除。脚本命令: +然后使用SQL将DataNode移除,SQL命令: ```Bash -# Linux / MacOS -sbin/remove-datanode.sh [datanode_id] - -#Windows -sbin/remove-datanode.bat [datanode_id] +remove datanode [datanode_id] ``` ## 常见问题 diff --git a/src/zh/UserGuide/V1.3.3/Deployment-and-Maintenance/Cluster-Deployment_timecho.md b/src/zh/UserGuide/V1.3.3/Deployment-and-Maintenance/Cluster-Deployment_timecho.md index 933476514..3bf6613a9 100644 --- a/src/zh/UserGuide/V1.3.3/Deployment-and-Maintenance/Cluster-Deployment_timecho.md +++ b/src/zh/UserGuide/V1.3.3/Deployment-and-Maintenance/Cluster-Deployment_timecho.md @@ -249,7 +249,7 @@ sbin/start-confignode.bat #### 移除ConfigNode节点 -首先通过CLI连接集群,通过`show confignodes`确认想要移除ConfigNode的内部地址与端口号: +首先通过CLI连接集群,通过`show confignodes`确认想要移除ConfigNode的NodeID: ```Bash IoTDB> show confignodes @@ -264,15 +264,10 @@ Total line number = 3 It costs 0.030s ``` -然后使用脚本将DataNode移除。脚本命令: +然后使用SQL将ConfigNode移除,SQL命令: ```Bash -# Linux / MacOS -sbin/remove-confignode.sh [confignode_id] - -#Windows -sbin/remove-confignode.bat [confignode_id] - +remove confignode [confignode_id] ``` ### DataNode节点维护 @@ -318,7 +313,7 @@ sbin/start-datanode.bat #### 移除DataNode节点 -首先通过CLI连接集群,通过`show datanodes`确认想要移除的DataNode的RPC地址与端口号: +首先通过CLI连接集群,通过`show datanodes`确认想要移除的DataNode的NodeID: ```Bash IoTDB> show datanodes @@ -333,14 +328,10 @@ Total line number = 3 It costs 0.110s ``` -然后使用脚本将DataNode移除。脚本命令: +然后使用SQL将DataNode移除,SQL命令: ```Bash -# Linux / MacOS -sbin/remove-datanode.sh [datanode_id] - -#Windows -sbin/remove-datanode.bat [datanode_id] +remove datanode [datanode_id] ``` ## 常见问题 diff --git a/src/zh/UserGuide/latest-Table/Deployment-and-Maintenance/Cluster-Deployment_timecho.md b/src/zh/UserGuide/latest-Table/Deployment-and-Maintenance/Cluster-Deployment_timecho.md index 1c82999b7..1f13ead72 100644 --- a/src/zh/UserGuide/latest-Table/Deployment-and-Maintenance/Cluster-Deployment_timecho.md +++ b/src/zh/UserGuide/latest-Table/Deployment-and-Maintenance/Cluster-Deployment_timecho.md @@ -247,7 +247,7 @@ sbin/start-confignode.bat #### 4.1.2 移除ConfigNode节点 -首先通过CLI连接集群,通过`show confignodes`确认想要移除ConfigNode的内部地址与端口号: +首先通过CLI连接集群,通过`show confignodes`确认想要移除ConfigNode的NodeID: ```shell IoTDB> show confignodes @@ -262,18 +262,10 @@ Total line number = 3 It costs 0.030s ``` -然后使用脚本将DataNode移除。脚本命令: +然后使用SQL将ConfigNode移除,SQL命令: ```Bash -# Linux / MacOS -sbin/remove-confignode.sh [confignode_id] -或 -./sbin/remove-confignode.sh [cn_internal_address:cn_internal_port] - -#Windows -sbin/remove-confignode.bat [confignode_id] -或 -./sbin/remove-confignode.bat [cn_internal_address:cn_internal_port] +remove confignode [confignode_id] ``` ### 4.2 DataNode节点维护 @@ -303,7 +295,7 @@ sbin/start-datanode.bat #### 4.2.2 移除DataNode节点 -首先通过CLI连接集群,通过`show datanodes`确认想要移除的DataNode的RPC地址与端口号: +首先通过CLI连接集群,通过`show datanodes`确认想要移除的DataNode的NodeID: ```Bash IoTDB> show datanodes @@ -318,14 +310,10 @@ Total line number = 3 It costs 0.110s ``` -然后使用脚本将DataNode移除。脚本命令: +然后使用SQL将DataNode移除,SQL命令: ```Bash -# Linux / MacOS -sbin/remove-datanode.sh [dn_rpc_address:dn_rpc_port] - -#Windows -sbin/remove-datanode.bat [dn_rpc_address:dn_rpc_port] +remove datanode [datanode_id] ``` ## 5 常见问题 diff --git a/src/zh/UserGuide/latest/Deployment-and-Maintenance/Cluster-Deployment_timecho.md b/src/zh/UserGuide/latest/Deployment-and-Maintenance/Cluster-Deployment_timecho.md index 933476514..3bf6613a9 100644 --- a/src/zh/UserGuide/latest/Deployment-and-Maintenance/Cluster-Deployment_timecho.md +++ b/src/zh/UserGuide/latest/Deployment-and-Maintenance/Cluster-Deployment_timecho.md @@ -249,7 +249,7 @@ sbin/start-confignode.bat #### 移除ConfigNode节点 -首先通过CLI连接集群,通过`show confignodes`确认想要移除ConfigNode的内部地址与端口号: +首先通过CLI连接集群,通过`show confignodes`确认想要移除ConfigNode的NodeID: ```Bash IoTDB> show confignodes @@ -264,15 +264,10 @@ Total line number = 3 It costs 0.030s ``` -然后使用脚本将DataNode移除。脚本命令: +然后使用SQL将ConfigNode移除,SQL命令: ```Bash -# Linux / MacOS -sbin/remove-confignode.sh [confignode_id] - -#Windows -sbin/remove-confignode.bat [confignode_id] - +remove confignode [confignode_id] ``` ### DataNode节点维护 @@ -318,7 +313,7 @@ sbin/start-datanode.bat #### 移除DataNode节点 -首先通过CLI连接集群,通过`show datanodes`确认想要移除的DataNode的RPC地址与端口号: +首先通过CLI连接集群,通过`show datanodes`确认想要移除的DataNode的NodeID: ```Bash IoTDB> show datanodes @@ -333,14 +328,10 @@ Total line number = 3 It costs 0.110s ``` -然后使用脚本将DataNode移除。脚本命令: +然后使用SQL将DataNode移除,SQL命令: ```Bash -# Linux / MacOS -sbin/remove-datanode.sh [datanode_id] - -#Windows -sbin/remove-datanode.bat [datanode_id] +remove datanode [datanode_id] ``` ## 常见问题 From 63210ac71559eee9fc0c10ce987102cb438971a5 Mon Sep 17 00:00:00 2001 From: Xiangpeng Hu <65238551+HxpSerein@users.noreply.github.com> Date: Fri, 21 Feb 2025 16:51:46 +0800 Subject: [PATCH 5/5] resolve conflicts --- .../Deployment-and-Maintenance/Cluster-Deployment_timecho.md | 4 ++-- .../Deployment-and-Maintenance/Cluster-Deployment_timecho.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/UserGuide/Master/Table/Deployment-and-Maintenance/Cluster-Deployment_timecho.md b/src/UserGuide/Master/Table/Deployment-and-Maintenance/Cluster-Deployment_timecho.md index a2cb326e7..4238d9033 100644 --- a/src/UserGuide/Master/Table/Deployment-and-Maintenance/Cluster-Deployment_timecho.md +++ b/src/UserGuide/Master/Table/Deployment-and-Maintenance/Cluster-Deployment_timecho.md @@ -244,7 +244,7 @@ sbin/start-confignode.bat #### 4.1.2 Removing a ConfigNode -1. Connect to the cluster using the CLI and confirm the internal address and port of the ConfigNode to be removed: +First connect to the cluster through the CLI and confirm the NodeID of the ConfigNode you want to remove by using `show confignodes`: ```Plain show confignodes; @@ -298,7 +298,7 @@ sbin/start-datanode.bat #### 4.2.2 Removing a DataNode -1. Connect to the cluster using the CLI and confirm the RPC address and port of the DataNode to be removed: +First connect to the cluster through the CLI and confirm the NodeID of the DataNode you want to remove with `show datanodes`: ```Plain show datanodes; diff --git a/src/UserGuide/latest-Table/Deployment-and-Maintenance/Cluster-Deployment_timecho.md b/src/UserGuide/latest-Table/Deployment-and-Maintenance/Cluster-Deployment_timecho.md index a2cb326e7..4238d9033 100644 --- a/src/UserGuide/latest-Table/Deployment-and-Maintenance/Cluster-Deployment_timecho.md +++ b/src/UserGuide/latest-Table/Deployment-and-Maintenance/Cluster-Deployment_timecho.md @@ -244,7 +244,7 @@ sbin/start-confignode.bat #### 4.1.2 Removing a ConfigNode -1. Connect to the cluster using the CLI and confirm the internal address and port of the ConfigNode to be removed: +First connect to the cluster through the CLI and confirm the NodeID of the ConfigNode you want to remove by using `show confignodes`: ```Plain show confignodes; @@ -298,7 +298,7 @@ sbin/start-datanode.bat #### 4.2.2 Removing a DataNode -1. Connect to the cluster using the CLI and confirm the RPC address and port of the DataNode to be removed: +First connect to the cluster through the CLI and confirm the NodeID of the DataNode you want to remove with `show datanodes`: ```Plain show datanodes;