You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ne...@apache.org on 2021/03/11 07:50:54 UTC

[iotdb] 01/01: revise the cluster setup docs

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

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

commit ca09dca5cc745b424c82988794d62d51b215e385
Author: HouliangQi <ne...@163.com>
AuthorDate: Thu Mar 11 15:50:04 2021 +0800

    revise the cluster setup docs
---
 docs/UserGuide/Server/Cluster Setup.md                         |  4 ++--
 docs/zh/UserGuide/Server/Cluster Setup.md                      |  4 ++--
 .../main/java/org/apache/iotdb/db/conf/IoTDBDescriptor.java    | 10 ----------
 3 files changed, 4 insertions(+), 14 deletions(-)

diff --git a/docs/UserGuide/Server/Cluster Setup.md b/docs/UserGuide/Server/Cluster Setup.md
index b8d484c..2af632c 100644
--- a/docs/UserGuide/Server/Cluster Setup.md	
+++ b/docs/UserGuide/Server/Cluster Setup.md	
@@ -45,9 +45,9 @@ To start the service of one of the nodes, you need to execute the following comm
 
 ## Example of pseudo-distributed scaffolding for 3 nodes and 3 replicas
 ```
-mvn clean package -pl cluster -am -Dmaven.test.skip=true
+mvn clean package -DskipTests
 chmod -R 777 ./cluster/target/
-nohup ./cluster/target/cluster-0.12.0-SNAPSHOT/sbin/start-node.sh  ./cluster/target/test-classes/node1conf/ >/dev/null 2>&1 &
+nohup ./cluster/target/cluster-0.12.0-SNAPSHOT/sbin/start-node.sh ./cluster/target/test-classes/node1conf/ >/dev/null 2>&1 &
 nohup ./cluster/target/cluster-0.12.0-SNAPSHOT/sbin/start-node.sh ./cluster/target/test-classes/node2conf/ >/dev/null 2>&1 &
 nohup ./cluster/target/cluster-0.12.0-SNAPSHOT/sbin/start-node.sh ./cluster/target/test-classes/node3conf/ >/dev/null 2>&1 &
 ```
diff --git a/docs/zh/UserGuide/Server/Cluster Setup.md b/docs/zh/UserGuide/Server/Cluster Setup.md
index fe89ef2..686f7eb 100644
--- a/docs/zh/UserGuide/Server/Cluster Setup.md	
+++ b/docs/zh/UserGuide/Server/Cluster Setup.md	
@@ -41,9 +41,9 @@ __集群模式目前是测试版!请谨慎在生产环境中使用。__
 
 ## 3节点3副本伪分布式搭建示例
 ```
-mvn clean package -pl cluster -am -Dmaven.test.skip=true
+mvn clean package -DskipTests
 chmod -R 777 ./cluster/target/
-nohup ./cluster/target/cluster-0.12.0-SNAPSHOT/sbin/start-node.sh  ./cluster/target/test-classes/node1conf/ >/dev/null 2>&1 &
+nohup ./cluster/target/cluster-0.12.0-SNAPSHOT/sbin/start-node.sh ./cluster/target/test-classes/node1conf/ >/dev/null 2>&1 &
 nohup ./cluster/target/cluster-0.12.0-SNAPSHOT/sbin/start-node.sh ./cluster/target/test-classes/node2conf/ >/dev/null 2>&1 &
 nohup ./cluster/target/cluster-0.12.0-SNAPSHOT/sbin/start-node.sh ./cluster/target/test-classes/node3conf/ >/dev/null 2>&1 &
 ```
diff --git a/server/src/main/java/org/apache/iotdb/db/conf/IoTDBDescriptor.java b/server/src/main/java/org/apache/iotdb/db/conf/IoTDBDescriptor.java
index 86b6134..f6c24c9 100644
--- a/server/src/main/java/org/apache/iotdb/db/conf/IoTDBDescriptor.java
+++ b/server/src/main/java/org/apache/iotdb/db/conf/IoTDBDescriptor.java
@@ -250,16 +250,6 @@ public class IoTDBDescriptor {
                   "enable_mem_control", Boolean.toString(conf.isEnableMemControl())))));
       logger.info("IoTDB enable memory control: {}", conf.isEnableMemControl());
 
-      long tsfileSizeThreshold =
-          Long.parseLong(
-              properties
-                  .getProperty(
-                      "tsfile_size_threshold", Long.toString(conf.getTsFileSizeThreshold()))
-                  .trim());
-      if (tsfileSizeThreshold >= 0) {
-        conf.setTsFileSizeThreshold(tsfileSizeThreshold);
-      }
-
       long memTableSizeThreshold =
           Long.parseLong(
               properties