This is an automated email from the ASF dual-hosted git repository.

qiaojialin pushed a commit to branch fix_cluster_example
in repository https://gitbox.apache.org/repos/asf/iotdb.git

commit 92fda48ec69a6f84006762b5a501bb92d298f49b
Author: qiaojialin <[email protected]>
AuthorDate: Tue Nov 16 17:23:54 2021 +0800

    fix cluster doc
---
 docs/UserGuide/Cluster/Cluster-Setup-Example.md    | 43 ++++++----------------
 docs/zh/UserGuide/Cluster/Cluster-Setup-Example.md | 42 ++++++---------------
 2 files changed, 24 insertions(+), 61 deletions(-)

diff --git a/docs/UserGuide/Cluster/Cluster-Setup-Example.md 
b/docs/UserGuide/Cluster/Cluster-Setup-Example.md
index 81b9ee3..d38703d 100644
--- a/docs/UserGuide/Cluster/Cluster-Setup-Example.md
+++ b/docs/UserGuide/Cluster/Cluster-Setup-Example.md
@@ -53,70 +53,51 @@ You can start multiple instances on a single machine by 
modifying the configurat
 
 ***iotdb-cluster.properties***
 
+```
 seed\_nodes = 127.0.0.1:9003,127.0.0.1:9005,127.0.0.1:9007
-
 default\_replica\_num = 1
-
 internal\_meta\_port = 9003
-
 internal\_data\_port = 40010
-
+```
 ***iotdb-engine.properties***
 
+```
 rpc\_port=6667
-
-system\_dir=data/system
-data\_dirs=data/data
-wal\_dir=data/wal
-index\_root\_dir=data/index
-udf\_root\_dir=ext/udf
-tracing\_dir=data/tracing
+```
 
 **Node2**:
 
 ***iotdb-cluster.properties***
 
+```
 seed\_nodes = 127.0.0.1:9003,127.0.0.1:9005,127.0.0.1:9007
-
 default\_replica\_num = 1
-
 internal\_meta\_port = 9005
-
 internal\_data\_port = 40012
+```
 
 ***iotdb-engine.properties***
 
+```
 rpc\_port=6669
-
-system\_dir=node2/system
-data\_dirs=node2/data
-wal\_dir=node2/wal
-index\_root\_dir=node2/index
-udf\_root\_dir=node2/ext/udf
-tracing\_dir=node2/tracing
+```
 
 **Node3**:
 
 ***iotdb-cluster.properties***
 
+```
 seed\_nodes = 127.0.0.1:9003,127.0.0.1:9005,127.0.0.1:9007
-
 default\_replica\_num = 1
-
 internal\_meta\_port = 9007
-
 internal\_data\_port = 40014
+```
 
 ***iotdb-engine.properties***
 
+```
 rpc\_port=6671
-
-system\_dir=node3/system
-data\_dirs=node3/data
-wal\_dir=node3/wal
-index\_root\_dir=node3/index
-udf\_root\_dir=node3/ext/udf
-tracing\_dir=node3/tracing
+```
 
 ### Compile from source code:
 
diff --git a/docs/zh/UserGuide/Cluster/Cluster-Setup-Example.md 
b/docs/zh/UserGuide/Cluster/Cluster-Setup-Example.md
index 78889a7..5c67e12 100644
--- a/docs/zh/UserGuide/Cluster/Cluster-Setup-Example.md
+++ b/docs/zh/UserGuide/Cluster/Cluster-Setup-Example.md
@@ -56,70 +56,52 @@ nohup ./sbin/start-node.sh >/dev/null 2>&1 &
 
 ***iotdb-cluster.properties***
 
+```
 seed\_nodes = 127.0.0.1:9003,127.0.0.1:9005,127.0.0.1:9007
-
 default\_replica\_num = 1
-
 internal\_meta\_port = 9003
-
 internal\_data\_port = 40010
+```
 
 ***iotdb-engine.properties***
 
+```
 rpc\_port=6667
-
-system\_dir=data/system
-data\_dirs=data/data
-wal\_dir=data/wal
-index\_root\_dir=data/index
-udf\_root\_dir=ext/udf
-tracing\_dir=data/tracing
+```
 
 **节点2**:
 
 ***iotdb-cluster.properties***
 
+```
 seed\_nodes = 127.0.0.1:9003,127.0.0.1:9005,127.0.0.1:9007
-
 default\_replica\_num = 1
-
 internal\_meta\_port = 9005
-
 internal\_data\_port = 40012
+```
 
 ***iotdb-engine.properties***
 
+```
 rpc\_port=6669
-
-system\_dir=node2/system
-data\_dirs=node2/data
-wal\_dir=node2/wal
-index\_root\_dir=node2/index
-udf\_root\_dir=node2/ext/udf
-tracing\_dir=node2/tracing
+```
 
 **节点3**:
 
 ***iotdb-cluster.properties***
 
+```
 seed\_nodes = 127.0.0.1:9003,127.0.0.1:9005,127.0.0.1:9007
-
 default\_replica\_num = 1
-
 internal\_meta\_port = 9007
-
 internal\_data\_port = 40014
+```
 
 ***iotdb-engine.properties***
 
+```
 rpc\_port=6671
-
-system\_dir=node3/system
-data\_dirs=node3/data
-wal\_dir=node3/wal
-index\_root\_dir=node3/index
-udf\_root\_dir=node3/ext/udf
-tracing\_dir=node3/tracing
+```
 
 ### 源码编译:
 

Reply via email to