You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by GitBox <gi...@apache.org> on 2022/06/27 07:24:08 UTC
[GitHub] [iotdb] qiaojialin opened a new pull request, #6460: Update cluster UserGuide and Config-Manual
qiaojialin opened a new pull request, #6460:
URL: https://github.com/apache/iotdb/pull/6460
Update cluster UserGuide: Cluster-Concept , Cluster-Setup
Config-Manual -> ConfigNode-Config-Manual, DataNode-Config-Manual
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@iotdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [iotdb] qiaojialin commented on a diff in pull request #6460: Update cluster UserGuide and Config-Manual
Posted by GitBox <gi...@apache.org>.
qiaojialin commented on code in PR #6460:
URL: https://github.com/apache/iotdb/pull/6460#discussion_r907105308
##########
docs/UserGuide/Cluster/Cluster-Setup.md:
##########
@@ -19,376 +19,103 @@
-->
-## Cluster setup
+## Cluster Setup
-You can follow this document to start an IoTDB cluster.
+This article is the setup process of IoTDB Cluster (0.14.0-preview1).
-## Prerequisite
-To use IoTDB, you need to have:
+## Environments
-1. Java >= 1.8 (Please make sure the environment path has been set)
+1. JDK>=1.8
-2. Set the max open files num as 65535 to avoid "too many open files" problem.
+2. Max open file 65535
-
+3. Disable the swap memory
Review Comment:
To avoid system fluctuation even if the memory of IoTDB looks enough.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@iotdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [iotdb] HTHou commented on a diff in pull request #6460: Update cluster UserGuide and Config-Manual
Posted by GitBox <gi...@apache.org>.
HTHou commented on code in PR #6460:
URL: https://github.com/apache/iotdb/pull/6460#discussion_r907060228
##########
docs/UserGuide/Reference/DataNode-Config-Manual.md:
##########
@@ -19,39 +19,32 @@
-->
-# Configuration Parameters
+# DataNode/Standalone Configuration Parameters
+We use the same configuration files for IoTDB DataNode and Standalone version, all under the `datanode/conf`.
-Before starting to use IoTDB, you need to config the configuration files first. For your convenience, we have already set the default config in the files.
+* `datanode-env.sh/bat`:Environment configurations, in which we could set the memory allocation of DataNode and Standalone.
-In total, we provide users three kinds of configurations module:
-
-* environment configuration file (`datanode-env.bat`, `datanode-env.sh`). The default configuration file for the environment configuration item. Users can configure the relevant system configuration items of JAVA-JVM in the file.
-* system configuration file (`iotdb-datanode.properties`).
- * `iotdb-datanode.properties`: The default configuration file for the IoTDB engine layer configuration item. Users can configure the IoTDB engine related parameters in the file, such as JDBC service listening port (`rpc_port`), unsequence data storage directory (`unsequence_data_dir`), etc. What's more, Users can configure the information about the TsFile, such as the data size written to the disk per time(`group_size_in_byte`).
-
-* log configuration file (`logback.xml`)
-
-The configuration files of the three configuration items are located in the IoTDB installation directory: `$IOTDB_HOME/conf` folder.
+* `iotdb-datanode.properties`:IoTDB DataNode/Standalone system configurations.
## Hot Modification Configuration
-For the convenience of users, IoTDB server provides users with hot modification function, that is, modifying some configuration parameters in `iotdb engine. Properties` during the system operation and applying them to the system immediately.
+For the convenience of users, IoTDB provides users with hot modification function, that is, modifying some configuration parameters in `iotdb-datanode.properties` during the system operation and applying them to the system immediately.
In the parameters described below, these parameters whose way of `Effective` is `trigger` support hot modification.
-Trigger way: The client sends the command `load configuration` to the IoTDB server. See Chapter 4 for the usage of the client.
+Trigger way: The client sends the command(sql) `load configuration` to the IoTDB server.
-## IoTDB Environment Configuration File
+## Environment Configuration File(datanode-env.sh/bat)
-The environment configuration file is mainly used to configure the Java environment related parameters when IoTDB Server is running, such as JVM related configuration. This part of the configuration is passed to the JVM when the IoTDB Server starts. Users can view the contents of the environment configuration file by viewing the `datanode-env.sh` (or `datanode-env.bat`) file.
+The environment configuration file is mainly used to configure the Java environment related parameters when ConfigNode is running, such as JVM related configuration. This part of the configuration is passed to the JVM when the DataNode starts.
Review Comment:
```suggestion
The environment configuration file is mainly used to configure the Java environment related parameters when DataNode is running, such as JVM related configuration. This part of the configuration is passed to the JVM when the DataNode starts.
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@iotdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [iotdb] qiaojialin merged pull request #6460: Update cluster UserGuide and Config-Manual
Posted by GitBox <gi...@apache.org>.
qiaojialin merged PR #6460:
URL: https://github.com/apache/iotdb/pull/6460
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@iotdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [iotdb] HTHou commented on a diff in pull request #6460: Update cluster UserGuide and Config-Manual
Posted by GitBox <gi...@apache.org>.
HTHou commented on code in PR #6460:
URL: https://github.com/apache/iotdb/pull/6460#discussion_r907074128
##########
docs/UserGuide/Cluster/Cluster-Setup.md:
##########
@@ -19,376 +19,103 @@
-->
-## Cluster setup
+## Cluster Setup
-You can follow this document to start an IoTDB cluster.
+This article is the setup process of IoTDB Cluster (0.14.0-preview1).
-## Prerequisite
-To use IoTDB, you need to have:
+## Environments
-1. Java >= 1.8 (Please make sure the environment path has been set)
+1. JDK>=1.8
-2. Set the max open files num as 65535 to avoid "too many open files" problem.
+2. Max open file 65535
-
+3. Disable the swap memory
Review Comment:
Why should we disable the swap memory?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@iotdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [iotdb] coveralls commented on pull request #6460: Update cluster UserGuide and Config-Manual
Posted by GitBox <gi...@apache.org>.
coveralls commented on PR #6460:
URL: https://github.com/apache/iotdb/pull/6460#issuecomment-1167147989
[](https://coveralls.io/builds/50378383)
Coverage increased (+0.002%) to 47.304% when pulling **7dce65e5dfe3b0f2c42ecc913d0e1c33b9657c4f on update_cluster_doc** into **0eb501041402d54f74191cef48de5e02b1d8f152 on master**.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@iotdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [iotdb] sonarcloud[bot] commented on pull request #6460: Update cluster UserGuide and Config-Manual
Posted by GitBox <gi...@apache.org>.
sonarcloud[bot] commented on PR #6460:
URL: https://github.com/apache/iotdb/pull/6460#issuecomment-1167141671
Kudos, SonarCloud Quality Gate passed! [](https://sonarcloud.io/dashboard?id=apache_incubator-iotdb&pullRequest=6460)
[](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb&pullRequest=6460&resolved=false&types=BUG) [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb&pullRequest=6460&resolved=false&types=BUG) [0 Bugs](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb&pullRequest=6460&resolved=false&types=BUG)
[](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb&pullRequest=6460&resolved=false&types=VULNERABILITY) [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb&pullRequest=6460&resolved=false&types=VULNERABILITY) [0 Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb&pullRequest=6460&resolved=false&types=VULNERABILITY)
[](https://sonarcloud.io/project/security_hotspots?id=apache_incubator-iotdb&pullRequest=6460&resolved=false&types=SECURITY_HOTSPOT) [](https://sonarcloud.io/project/security_hotspots?id=apache_incubator-iotdb&pullRequest=6460&resolved=false&types=SECURITY_HOTSPOT) [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_incubator-iotdb&pullRequest=6460&resolved=false&types=SECURITY_HOTSPOT)
[](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb&pullRequest=6460&resolved=false&types=CODE_SMELL) [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb&pullRequest=6460&resolved=false&types=CODE_SMELL) [0 Code Smells](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb&pullRequest=6460&resolved=false&types=CODE_SMELL)
[](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb&pullRequest=6460&metric=coverage&view=list) No Coverage information
[](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb&pullRequest=6460&metric=duplicated_lines_density&view=list) No Duplication information
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@iotdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [iotdb] HTHou commented on a diff in pull request #6460: Update cluster UserGuide and Config-Manual
Posted by GitBox <gi...@apache.org>.
HTHou commented on code in PR #6460:
URL: https://github.com/apache/iotdb/pull/6460#discussion_r907075321
##########
docs/UserGuide/Reference/DataNode-Config-Manual.md:
##########
@@ -1131,14 +1247,14 @@ The permission definitions are in ${IOTDB\_CONF}/conf/jmx.access.
GC log is off by default.
For performance tuning, you may want to collect the GC info.
-To enable GC log, just add a parameter "printgc" when you start the server.
+To enable GC log, just add a parameter "printgc" when you start the DataNode.
```bash
-nohup sbin/start-server.sh printgc >/dev/null 2>&1 &
+nohup sbin/start-datanode.sh printgc >/dev/null 2>&1 &
```
Or
```bash
Review Comment:
```suggestion
```cmd
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@iotdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org