This is an automated email from the ASF dual-hosted git repository. caogaofei pushed a commit to branch beyyes/change_port_name in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit e6ba98a6df11578c90bf6c494232ec2b1376b98a Author: Beyyes <[email protected]> AuthorDate: Mon Sep 26 21:28:53 2022 +0800 change port to InternalPort for show cluster --- docs/UserGuide/Cluster/Cluster-Setup.md | 48 +++++++++++++++--------------- docs/zh/UserGuide/Cluster/Cluster-Setup.md | 48 +++++++++++++++--------------- 2 files changed, 48 insertions(+), 48 deletions(-) diff --git a/docs/UserGuide/Cluster/Cluster-Setup.md b/docs/UserGuide/Cluster/Cluster-Setup.md index 133418af0d..cfdae29ade 100644 --- a/docs/UserGuide/Cluster/Cluster-Setup.md +++ b/docs/UserGuide/Cluster/Cluster-Setup.md @@ -237,12 +237,12 @@ the default number of replica is one. command on the Cli. The result is shown below: ``` IoTDB> show cluster -+------+----------+-------+---------+-----+ -|NodeID| NodeType| Status| Host| Port| -+------+----------+-------+---------+-----+ -| 0|ConfigNode|Running| 0.0.0.0|22277| -| 1| DataNode|Running|127.0.0.1| 9003| -+------+----------+-------+---------+-----+ ++------+----------+-------+---------+------------+ +|NodeID| NodeType| Status| Host|InternalPort| ++------+----------+-------+---------+------------+ +| 0|ConfigNode|Running| 0.0.0.0| 22277| +| 1| DataNode|Running|127.0.0.1| 9003| ++------+----------+-------+---------+------------+ Total line number = 2 It costs 0.160s ``` @@ -318,16 +318,16 @@ The following commands can be executed in no particular order. Execute the show cluster command, the result is shown below: ``` IoTDB> show cluster -+------+----------+-------+---------+-----+ -|NodeID| NodeType| Status| Host| Port| -+------+----------+-------+---------+-----+ -| 0|ConfigNode|Running| 0.0.0.0|22277| -| 2|ConfigNode|Running| 0.0.0.0|22279| -| 3|ConfigNode|Running| 0.0.0.0|22281| -| 1| DataNode|Running|127.0.0.1| 9003| -| 4| DataNode|Running|127.0.0.1| 9004| -| 5| DataNode|Running|127.0.0.1| 9005| -+------+----------+-------+---------+-----+ ++------+----------+-------+---------+------------+ +|NodeID| NodeType| Status| Host|InternalPort| ++------+----------+-------+---------+------------+ +| 0|ConfigNode|Running| 0.0.0.0| 22277| +| 2|ConfigNode|Running| 0.0.0.0| 22279| +| 3|ConfigNode|Running| 0.0.0.0| 22281| +| 1| DataNode|Running|127.0.0.1| 9003| +| 4| DataNode|Running|127.0.0.1| 9004| +| 5| DataNode|Running|127.0.0.1| 9005| ++------+----------+-------+---------+------------+ Total line number = 6 It costs 0.012s ``` @@ -349,14 +349,14 @@ It costs 0.012s Execute the show cluster command, the result is shown below: ``` IoTDB> show cluster -+------+----------+-------+---------+-----+ -|NodeID| NodeType| Status| Host| Port| -+------+----------+-------+---------+-----+ -| 0|ConfigNode|Running| 0.0.0.0|22277| -| 3|ConfigNode|Running| 0.0.0.0|22281| -| 1| DataNode|Running|127.0.0.1| 9003| -| 5| DataNode|Running|127.0.0.1| 9005| -+------+----------+-------+---------+-----+ ++------+----------+-------+---------+------------+ +|NodeID| NodeType| Status| Host|InternalPort| ++------+----------+-------+---------+------------+ +| 0|ConfigNode|Running| 0.0.0.0| 22277| +| 3|ConfigNode|Running| 0.0.0.0| 22281| +| 1| DataNode|Running|127.0.0.1| 9003| +| 5| DataNode|Running|127.0.0.1| 9005| ++------+----------+-------+---------+------------+ Total line number = 4 It costs 0.007s ``` diff --git a/docs/zh/UserGuide/Cluster/Cluster-Setup.md b/docs/zh/UserGuide/Cluster/Cluster-Setup.md index dcd8597e1d..03aba41678 100644 --- a/docs/zh/UserGuide/Cluster/Cluster-Setup.md +++ b/docs/zh/UserGuide/Cluster/Cluster-Setup.md @@ -236,12 +236,12 @@ datanode\sbin\remove-datanode.bat <rpc_address_0>:<rpc_port_0>,...,<rpc_address_ 指令,结果如下所示: ``` IoTDB> show cluster -+------+----------+-------+---------+-----+ -|NodeID| NodeType| Status| Host| Port| -+------+----------+-------+---------+-----+ -| 0|ConfigNode|Running| 0.0.0.0|22277| -| 1| DataNode|Running|127.0.0.1| 9003| -+------+----------+-------+---------+-----+ ++------+----------+-------+---------+------------+ +|NodeID| NodeType| Status| Host|InternalPort| ++------+----------+-------+---------+------------+ +| 0|ConfigNode|Running| 0.0.0.0| 22277| +| 1| DataNode|Running|127.0.0.1| 9003| ++------+----------+-------+---------+------------+ Total line number = 2 It costs 0.160s ``` @@ -316,16 +316,16 @@ It costs 0.160s 在 Cli 执行 show cluster,结果如下: ``` IoTDB> show cluster -+------+----------+-------+---------+-----+ -|NodeID| NodeType| Status| Host| Port| -+------+----------+-------+---------+-----+ -| 0|ConfigNode|Running| 0.0.0.0|22277| -| 2|ConfigNode|Running| 0.0.0.0|22279| -| 3|ConfigNode|Running| 0.0.0.0|22281| -| 1| DataNode|Running|127.0.0.1| 9003| -| 4| DataNode|Running|127.0.0.1| 9004| -| 5| DataNode|Running|127.0.0.1| 9005| -+------+----------+-------+---------+-----+ ++------+----------+-------+---------+------------+ +|NodeID| NodeType| Status| Host|InternalPort| ++------+----------+-------+---------+------------+ +| 0|ConfigNode|Running| 0.0.0.0| 22277| +| 2|ConfigNode|Running| 0.0.0.0| 22279| +| 3|ConfigNode|Running| 0.0.0.0| 22281| +| 1| DataNode|Running|127.0.0.1| 9003| +| 4| DataNode|Running|127.0.0.1| 9004| +| 5| DataNode|Running|127.0.0.1| 9005| ++------+----------+-------+---------+------------+ Total line number = 6 It costs 0.012s ``` @@ -347,14 +347,14 @@ It costs 0.012s 在 Cli 执行 show cluster,结果如下: ``` IoTDB> show cluster -+------+----------+-------+---------+-----+ -|NodeID| NodeType| Status| Host| Port| -+------+----------+-------+---------+-----+ -| 0|ConfigNode|Running| 0.0.0.0|22277| -| 3|ConfigNode|Running| 0.0.0.0|22281| -| 1| DataNode|Running|127.0.0.1| 9003| -| 5| DataNode|Running|127.0.0.1| 9005| -+------+----------+-------+---------+-----+ ++------+----------+-------+---------+------------+ +|NodeID| NodeType| Status| Host|InternalPort| ++------+----------+-------+---------+------------+ +| 0|ConfigNode|Running| 0.0.0.0| 22277| +| 3|ConfigNode|Running| 0.0.0.0| 22281| +| 1| DataNode|Running|127.0.0.1| 9003| +| 5| DataNode|Running|127.0.0.1| 9005| ++------+----------+-------+---------+------------+ Total line number = 4 It costs 0.007s ```
