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 8f205b21b..8ca7fd0a7 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 @@ -316,29 +316,28 @@ sbin/remove-datanode.bat [datanode_id] Step 3: If it is the first deployment or data can be deleted, you can also clean up the environment according to the following steps, redeploy, and restart. - Clean up the environment: - - ​ Execute the following on all nodes: - - 1. Terminate all ConfigNode Node and DataNode processes. - ```Bash - # 1. Stop the ConfigNode and DataNode services - sbin/stop-standalone.sh - - # 2. Check for any remaining processes - jps - # Or - ps -ef|gerp iotdb - - # 3. If there are any remaining processes, manually kill the - kill -9 - # If you are sure there is only one iotdb on the machine, you can use the following command to clean up residual processes - ps -ef|grep iotdb|grep -v grep|tr -s ' ' ' ' |cut -d ' ' -f2|xargs kill -9 - ``` - 2. Delete the data and logs directories. + Step 4: Clean up the environment: + + a. Terminate all ConfigNode Node and DataNode processes. + ```Bash + # 1. Stop the ConfigNode and DataNode services + sbin/stop-standalone.sh + + # 2. Check for any remaining processes + jps + # Or + ps -ef|gerp iotdb + + # 3. If there are any remaining processes, manually kill the + kill -9 + # If you are sure there is only one iotdb on the machine, you can use the following command to clean up residual processes + ps -ef|grep iotdb|grep -v grep|tr -s ' ' ' ' |cut -d ' ' -f2|xargs kill -9 + ``` + b. Delete the data and logs directories. - Explanation: Deleting the data directory is necessary, deleting the logs directory is for clean logs and is not mandatory. - ```Bash - cd /data/iotdb - rm -rf data logs - ``` \ No newline at end of file + Explanation: Deleting the data directory is necessary, deleting the logs directory is for clean logs and is not mandatory. + + ```Bash + cd /data/iotdb + rm -rf data logs + ``` \ No newline at end of file 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 0774155d5..08579e8a7 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 @@ -357,29 +357,28 @@ sbin/remove-datanode.bat [datanode_id] Step 3: If it is the first deployment or data can be deleted, you can also clean up the environment according to the following steps, redeploy, and restart. - Clean up the environment: + Step 4: Clean up the environment: - ​ Execute the following on all nodes: - - 1. Terminate all ConfigNode Node and DataNode processes. - ```Bash - # 1. Stop the ConfigNode and DataNode services - sbin/stop-standalone.sh - - # 2. Check for any remaining processes - jps - # Or - ps -ef|gerp iotdb - - # 3. If there are any remaining processes, manually kill the - kill -9 - # If you are sure there is only one iotdb on the machine, you can use the following command to clean up residual processes - ps -ef|grep iotdb|grep -v grep|tr -s ' ' ' ' |cut -d ' ' -f2|xargs kill -9 - ``` - 2. Delete the data and logs directories. + a. Terminate all ConfigNode Node and DataNode processes. + ```Bash + # 1. Stop the ConfigNode and DataNode services + sbin/stop-standalone.sh + + # 2. Check for any remaining processes + jps + # Or + ps -ef|gerp iotdb + + # 3. If there are any remaining processes, manually kill the + kill -9 + # If you are sure there is only one iotdb on the machine, you can use the following command to clean up residual processes + ps -ef|grep iotdb|grep -v grep|tr -s ' ' ' ' |cut -d ' ' -f2|xargs kill -9 + ``` + b. Delete the data and logs directories. - Explanation: Deleting the data directory is necessary, deleting the logs directory is for clean logs and is not mandatory. - ```Bash - cd /data/iotdb - rm -rf data logs - ``` \ No newline at end of file + Explanation: Deleting the data directory is necessary, deleting the logs directory is for clean logs and is not mandatory. + + ```Bash + cd /data/iotdb + rm -rf data logs + ``` \ No newline at end of file diff --git a/src/UserGuide/Master/Tree/Deployment-and-Maintenance/Stand-Alone-Deployment_apache.md b/src/UserGuide/Master/Tree/Deployment-and-Maintenance/Stand-Alone-Deployment_apache.md index 85bbfa059..d40c54c5b 100644 --- a/src/UserGuide/Master/Tree/Deployment-and-Maintenance/Stand-Alone-Deployment_apache.md +++ b/src/UserGuide/Master/Tree/Deployment-and-Maintenance/Stand-Alone-Deployment_apache.md @@ -151,29 +151,28 @@ When the status is all running, it indicates that the service has started succes Step 3: If it is the first deployment or data can be deleted, you can also clean up the environment according to the following steps, redeploy, and restart. - Clean up the environment: - - ​ Execute the following on all nodes: - - 1. Terminate all ConfigNode Node and DataNode processes. - ```Bash - # 1. Stop the ConfigNode and DataNode services - sbin/stop-standalone.sh - - # 2. Check for any remaining processes - jps - # Or - ps -ef|gerp iotdb - - # 3. If there are any remaining processes, manually kill the - kill -9 - # If you are sure there is only one iotdb on the machine, you can use the following command to clean up residual processes - ps -ef|grep iotdb|grep -v grep|tr -s ' ' ' ' |cut -d ' ' -f2|xargs kill -9 - ``` - 2. Delete the data and logs directories. + Step 4: Clean up the environment: + + a. Terminate all ConfigNode Node and DataNode processes. + ```Bash + # 1. Stop the ConfigNode and DataNode services + sbin/stop-standalone.sh + + # 2. Check for any remaining processes + jps + # Or + ps -ef|gerp iotdb + + # 3. If there are any remaining processes, manually kill the + kill -9 + # If you are sure there is only one iotdb on the machine, you can use the following command to clean up residual processes + ps -ef|grep iotdb|grep -v grep|tr -s ' ' ' ' |cut -d ' ' -f2|xargs kill -9 + ``` + b. Delete the data and logs directories. - Explanation: Deleting the data directory is necessary, deleting the logs directory is for clean logs and is not mandatory. - ```Bash - cd /data/iotdb - rm -rf data logs - ``` \ No newline at end of file + Explanation: Deleting the data directory is necessary, deleting the logs directory is for clean logs and is not mandatory. + + ```Bash + cd /data/iotdb + rm -rf data logs + ``` \ No newline at end of file diff --git a/src/UserGuide/Master/Tree/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md b/src/UserGuide/Master/Tree/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md index dc159b720..a4e3e3c59 100644 --- a/src/UserGuide/Master/Tree/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md +++ b/src/UserGuide/Master/Tree/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md @@ -193,29 +193,28 @@ When you see the display "Activated" on the far right, it indicates successful a Step 3: If it is the first deployment or data can be deleted, you can also clean up the environment according to the following steps, redeploy, and restart. - Clean up the environment: - - ​ Execute the following on all nodes: - - 1. Terminate all ConfigNode Node and DataNode processes. - ```Bash - # 1. Stop the ConfigNode and DataNode services - sbin/stop-standalone.sh - - # 2. Check for any remaining processes - jps - # Or - ps -ef|gerp iotdb - - # 3. If there are any remaining processes, manually kill the - kill -9 - # If you are sure there is only one iotdb on the machine, you can use the following command to clean up residual processes - ps -ef|grep iotdb|grep -v grep|tr -s ' ' ' ' |cut -d ' ' -f2|xargs kill -9 - ``` - 2. Delete the data and logs directories. + Step 4: Clean up the environment: + + a. Terminate all ConfigNode Node and DataNode processes. + ```Bash + # 1. Stop the ConfigNode and DataNode services + sbin/stop-standalone.sh + + # 2. Check for any remaining processes + jps + # Or + ps -ef|gerp iotdb + + # 3. If there are any remaining processes, manually kill the + kill -9 + # If you are sure there is only one iotdb on the machine, you can use the following command to clean up residual processes + ps -ef|grep iotdb|grep -v grep|tr -s ' ' ' ' |cut -d ' ' -f2|xargs kill -9 + ``` + b. Delete the data and logs directories. - Explanation: Deleting the data directory is necessary, deleting the logs directory is for clean logs and is not mandatory. - ```Bash - cd /data/iotdb - rm -rf data logs - ``` \ No newline at end of file + Explanation: Deleting the data directory is necessary, deleting the logs directory is for clean logs and is not mandatory. + + ```Bash + cd /data/iotdb + rm -rf data logs + ``` \ No newline at end of file diff --git a/src/UserGuide/V1.3.0-2/Deployment-and-Maintenance/Cluster-Deployment_apache.md b/src/UserGuide/V1.3.0-2/Deployment-and-Maintenance/Cluster-Deployment_apache.md index 0b8cd4788..185dae2c5 100644 --- a/src/UserGuide/V1.3.0-2/Deployment-and-Maintenance/Cluster-Deployment_apache.md +++ b/src/UserGuide/V1.3.0-2/Deployment-and-Maintenance/Cluster-Deployment_apache.md @@ -320,29 +320,28 @@ sbin/remove-datanode.bat [dn_rpc_address:dn_rpc_port] Step 3: If it is the first deployment or data can be deleted, you can also clean up the environment according to the following steps, redeploy, and restart. - Clean up the environment: - - ​ Execute the following on all nodes: - - 1. Terminate all ConfigNode Node and DataNode processes. - ```Bash - # 1. Stop the ConfigNode and DataNode services - sbin/stop-standalone.sh - - # 2. Check for any remaining processes - jps - # Or - ps -ef|gerp iotdb - - # 3. If there are any remaining processes, manually kill the - kill -9 - # If you are sure there is only one iotdb on the machine, you can use the following command to clean up residual processes - ps -ef|grep iotdb|grep -v grep|tr -s ' ' ' ' |cut -d ' ' -f2|xargs kill -9 - ``` - 2. Delete the data and logs directories. + Step 4: Clean up the environment: + + a. Terminate all ConfigNode Node and DataNode processes. + ```Bash + # 1. Stop the ConfigNode and DataNode services + sbin/stop-standalone.sh + + # 2. Check for any remaining processes + jps + # Or + ps -ef|gerp iotdb + + # 3. If there are any remaining processes, manually kill the + kill -9 + # If you are sure there is only one iotdb on the machine, you can use the following command to clean up residual processes + ps -ef|grep iotdb|grep -v grep|tr -s ' ' ' ' |cut -d ' ' -f2|xargs kill -9 + ``` + b. Delete the data and logs directories. - Explanation: Deleting the data directory is necessary, deleting the logs directory is for clean logs and is not mandatory. - ```Bash - cd /data/iotdb - rm -rf data logs - ``` + Explanation: Deleting the data directory is necessary, deleting the logs directory is for clean logs and is not mandatory. + + ```Bash + cd /data/iotdb + rm -rf data logs + ``` diff --git a/src/UserGuide/V1.3.0-2/Deployment-and-Maintenance/Cluster-Deployment_timecho.md b/src/UserGuide/V1.3.0-2/Deployment-and-Maintenance/Cluster-Deployment_timecho.md index 7a4f167e9..e6a324986 100644 --- a/src/UserGuide/V1.3.0-2/Deployment-and-Maintenance/Cluster-Deployment_timecho.md +++ b/src/UserGuide/V1.3.0-2/Deployment-and-Maintenance/Cluster-Deployment_timecho.md @@ -361,29 +361,28 @@ sbin/remove-datanode.bat [dn_rpc_address:dn_rpc_port] Step 3: If it is the first deployment or data can be deleted, you can also clean up the environment according to the following steps, redeploy, and restart. - Clean up the environment: + Step 4: Clean up the environment: - ​ Execute the following on all nodes: - - 1. Terminate all ConfigNode Node and DataNode processes. - ```Bash - # 1. Stop the ConfigNode and DataNode services - sbin/stop-standalone.sh - - # 2. Check for any remaining processes - jps - # Or - ps -ef|gerp iotdb - - # 3. If there are any remaining processes, manually kill the - kill -9 - # If you are sure there is only one iotdb on the machine, you can use the following command to clean up residual processes - ps -ef|grep iotdb|grep -v grep|tr -s ' ' ' ' |cut -d ' ' -f2|xargs kill -9 - ``` - 2. Delete the data and logs directories. + a. Terminate all ConfigNode Node and DataNode processes. + ```Bash + # 1. Stop the ConfigNode and DataNode services + sbin/stop-standalone.sh + + # 2. Check for any remaining processes + jps + # Or + ps -ef|gerp iotdb + + # 3. If there are any remaining processes, manually kill the + kill -9 + # If you are sure there is only one iotdb on the machine, you can use the following command to clean up residual processes + ps -ef|grep iotdb|grep -v grep|tr -s ' ' ' ' |cut -d ' ' -f2|xargs kill -9 + ``` + b. Delete the data and logs directories. - Explanation: Deleting the data directory is necessary, deleting the logs directory is for clean logs and is not mandatory. - ```Bash - cd /data/iotdb - rm -rf data logs - ``` \ No newline at end of file + Explanation: Deleting the data directory is necessary, deleting the logs directory is for clean logs and is not mandatory. + + ```Bash + cd /data/iotdb + rm -rf data logs + ``` \ No newline at end of file diff --git a/src/UserGuide/V1.3.0-2/Deployment-and-Maintenance/Stand-Alone-Deployment_apache.md b/src/UserGuide/V1.3.0-2/Deployment-and-Maintenance/Stand-Alone-Deployment_apache.md index ab038212c..ad026583c 100644 --- a/src/UserGuide/V1.3.0-2/Deployment-and-Maintenance/Stand-Alone-Deployment_apache.md +++ b/src/UserGuide/V1.3.0-2/Deployment-and-Maintenance/Stand-Alone-Deployment_apache.md @@ -151,29 +151,28 @@ When the status is all running, it indicates that the service has started succes Step 3: If it is the first deployment or data can be deleted, you can also clean up the environment according to the following steps, redeploy, and restart. - Clean up the environment: - - ​ Execute the following on all nodes: - - 1. Terminate all ConfigNode Node and DataNode processes. - ```Bash - # 1. Stop the ConfigNode and DataNode services - sbin/stop-standalone.sh - - # 2. Check for any remaining processes - jps - # Or - ps -ef|gerp iotdb - - # 3. If there are any remaining processes, manually kill the - kill -9 - # If you are sure there is only one iotdb on the machine, you can use the following command to clean up residual processes - ps -ef|grep iotdb|grep -v grep|tr -s ' ' ' ' |cut -d ' ' -f2|xargs kill -9 - ``` - 2. Delete the data and logs directories. + Step 4: Clean up the environment: + + a. Terminate all ConfigNode Node and DataNode processes. + ```Bash + # 1. Stop the ConfigNode and DataNode services + sbin/stop-standalone.sh + + # 2. Check for any remaining processes + jps + # Or + ps -ef|gerp iotdb + + # 3. If there are any remaining processes, manually kill the + kill -9 + # If you are sure there is only one iotdb on the machine, you can use the following command to clean up residual processes + ps -ef|grep iotdb|grep -v grep|tr -s ' ' ' ' |cut -d ' ' -f2|xargs kill -9 + ``` + b. Delete the data and logs directories. - Explanation: Deleting the data directory is necessary, deleting the logs directory is for clean logs and is not mandatory. - ```Bash - cd /data/iotdb - rm -rf data logs - ``` + Explanation: Deleting the data directory is necessary, deleting the logs directory is for clean logs and is not mandatory. + + ```Bash + cd /data/iotdb + rm -rf data logs + ``` \ No newline at end of file diff --git a/src/UserGuide/V1.3.0-2/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md b/src/UserGuide/V1.3.0-2/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md index 26850f2b5..412fe93a4 100644 --- a/src/UserGuide/V1.3.0-2/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md +++ b/src/UserGuide/V1.3.0-2/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md @@ -194,29 +194,28 @@ When you see the display "Activated" on the far right, it indicates successful a Step 3: If it is the first deployment or data can be deleted, you can also clean up the environment according to the following steps, redeploy, and restart. - Clean up the environment: - - ​ Execute the following on all nodes: - - 1. Terminate all ConfigNode Node and DataNode processes. - ```Bash - # 1. Stop the ConfigNode and DataNode services - sbin/stop-standalone.sh - - # 2. Check for any remaining processes - jps - # Or - ps -ef|gerp iotdb - - # 3. If there are any remaining processes, manually kill the - kill -9 - # If you are sure there is only one iotdb on the machine, you can use the following command to clean up residual processes - ps -ef|grep iotdb|grep -v grep|tr -s ' ' ' ' |cut -d ' ' -f2|xargs kill -9 - ``` - 2. Delete the data and logs directories. + Step 4: Clean up the environment: + + a. Terminate all ConfigNode Node and DataNode processes. + ```Bash + # 1. Stop the ConfigNode and DataNode services + sbin/stop-standalone.sh + + # 2. Check for any remaining processes + jps + # Or + ps -ef|gerp iotdb + + # 3. If there are any remaining processes, manually kill the + kill -9 + # If you are sure there is only one iotdb on the machine, you can use the following command to clean up residual processes + ps -ef|grep iotdb|grep -v grep|tr -s ' ' ' ' |cut -d ' ' -f2|xargs kill -9 + ``` + b. Delete the data and logs directories. - Explanation: Deleting the data directory is necessary, deleting the logs directory is for clean logs and is not mandatory. - ```Bash - cd /data/iotdb - rm -rf data logs - ``` \ No newline at end of file + Explanation: Deleting the data directory is necessary, deleting the logs directory is for clean logs and is not mandatory. + + ```Bash + cd /data/iotdb + rm -rf data logs + ``` \ No newline at end of file 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 8f205b21b..8ca7fd0a7 100644 --- a/src/UserGuide/latest/Deployment-and-Maintenance/Cluster-Deployment_apache.md +++ b/src/UserGuide/latest/Deployment-and-Maintenance/Cluster-Deployment_apache.md @@ -316,29 +316,28 @@ sbin/remove-datanode.bat [datanode_id] Step 3: If it is the first deployment or data can be deleted, you can also clean up the environment according to the following steps, redeploy, and restart. - Clean up the environment: - - ​ Execute the following on all nodes: - - 1. Terminate all ConfigNode Node and DataNode processes. - ```Bash - # 1. Stop the ConfigNode and DataNode services - sbin/stop-standalone.sh - - # 2. Check for any remaining processes - jps - # Or - ps -ef|gerp iotdb - - # 3. If there are any remaining processes, manually kill the - kill -9 - # If you are sure there is only one iotdb on the machine, you can use the following command to clean up residual processes - ps -ef|grep iotdb|grep -v grep|tr -s ' ' ' ' |cut -d ' ' -f2|xargs kill -9 - ``` - 2. Delete the data and logs directories. + Step 4: Clean up the environment: + + a. Terminate all ConfigNode Node and DataNode processes. + ```Bash + # 1. Stop the ConfigNode and DataNode services + sbin/stop-standalone.sh + + # 2. Check for any remaining processes + jps + # Or + ps -ef|gerp iotdb + + # 3. If there are any remaining processes, manually kill the + kill -9 + # If you are sure there is only one iotdb on the machine, you can use the following command to clean up residual processes + ps -ef|grep iotdb|grep -v grep|tr -s ' ' ' ' |cut -d ' ' -f2|xargs kill -9 + ``` + b. Delete the data and logs directories. - Explanation: Deleting the data directory is necessary, deleting the logs directory is for clean logs and is not mandatory. - ```Bash - cd /data/iotdb - rm -rf data logs - ``` \ No newline at end of file + Explanation: Deleting the data directory is necessary, deleting the logs directory is for clean logs and is not mandatory. + + ```Bash + cd /data/iotdb + rm -rf data logs + ``` \ No newline at end of file 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 0774155d5..08579e8a7 100644 --- a/src/UserGuide/latest/Deployment-and-Maintenance/Cluster-Deployment_timecho.md +++ b/src/UserGuide/latest/Deployment-and-Maintenance/Cluster-Deployment_timecho.md @@ -357,29 +357,28 @@ sbin/remove-datanode.bat [datanode_id] Step 3: If it is the first deployment or data can be deleted, you can also clean up the environment according to the following steps, redeploy, and restart. - Clean up the environment: + Step 4: Clean up the environment: - ​ Execute the following on all nodes: - - 1. Terminate all ConfigNode Node and DataNode processes. - ```Bash - # 1. Stop the ConfigNode and DataNode services - sbin/stop-standalone.sh - - # 2. Check for any remaining processes - jps - # Or - ps -ef|gerp iotdb - - # 3. If there are any remaining processes, manually kill the - kill -9 - # If you are sure there is only one iotdb on the machine, you can use the following command to clean up residual processes - ps -ef|grep iotdb|grep -v grep|tr -s ' ' ' ' |cut -d ' ' -f2|xargs kill -9 - ``` - 2. Delete the data and logs directories. + a. Terminate all ConfigNode Node and DataNode processes. + ```Bash + # 1. Stop the ConfigNode and DataNode services + sbin/stop-standalone.sh + + # 2. Check for any remaining processes + jps + # Or + ps -ef|gerp iotdb + + # 3. If there are any remaining processes, manually kill the + kill -9 + # If you are sure there is only one iotdb on the machine, you can use the following command to clean up residual processes + ps -ef|grep iotdb|grep -v grep|tr -s ' ' ' ' |cut -d ' ' -f2|xargs kill -9 + ``` + b. Delete the data and logs directories. - Explanation: Deleting the data directory is necessary, deleting the logs directory is for clean logs and is not mandatory. - ```Bash - cd /data/iotdb - rm -rf data logs - ``` \ No newline at end of file + Explanation: Deleting the data directory is necessary, deleting the logs directory is for clean logs and is not mandatory. + + ```Bash + cd /data/iotdb + rm -rf data logs + ``` \ No newline at end of file diff --git a/src/UserGuide/latest/Deployment-and-Maintenance/Stand-Alone-Deployment_apache.md b/src/UserGuide/latest/Deployment-and-Maintenance/Stand-Alone-Deployment_apache.md index 85bbfa059..d40c54c5b 100644 --- a/src/UserGuide/latest/Deployment-and-Maintenance/Stand-Alone-Deployment_apache.md +++ b/src/UserGuide/latest/Deployment-and-Maintenance/Stand-Alone-Deployment_apache.md @@ -151,29 +151,28 @@ When the status is all running, it indicates that the service has started succes Step 3: If it is the first deployment or data can be deleted, you can also clean up the environment according to the following steps, redeploy, and restart. - Clean up the environment: - - ​ Execute the following on all nodes: - - 1. Terminate all ConfigNode Node and DataNode processes. - ```Bash - # 1. Stop the ConfigNode and DataNode services - sbin/stop-standalone.sh - - # 2. Check for any remaining processes - jps - # Or - ps -ef|gerp iotdb - - # 3. If there are any remaining processes, manually kill the - kill -9 - # If you are sure there is only one iotdb on the machine, you can use the following command to clean up residual processes - ps -ef|grep iotdb|grep -v grep|tr -s ' ' ' ' |cut -d ' ' -f2|xargs kill -9 - ``` - 2. Delete the data and logs directories. + Step 4: Clean up the environment: + + a. Terminate all ConfigNode Node and DataNode processes. + ```Bash + # 1. Stop the ConfigNode and DataNode services + sbin/stop-standalone.sh + + # 2. Check for any remaining processes + jps + # Or + ps -ef|gerp iotdb + + # 3. If there are any remaining processes, manually kill the + kill -9 + # If you are sure there is only one iotdb on the machine, you can use the following command to clean up residual processes + ps -ef|grep iotdb|grep -v grep|tr -s ' ' ' ' |cut -d ' ' -f2|xargs kill -9 + ``` + b. Delete the data and logs directories. - Explanation: Deleting the data directory is necessary, deleting the logs directory is for clean logs and is not mandatory. - ```Bash - cd /data/iotdb - rm -rf data logs - ``` \ No newline at end of file + Explanation: Deleting the data directory is necessary, deleting the logs directory is for clean logs and is not mandatory. + + ```Bash + cd /data/iotdb + rm -rf data logs + ``` \ No newline at end of file diff --git a/src/UserGuide/latest/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md b/src/UserGuide/latest/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md index dc159b720..a4e3e3c59 100644 --- a/src/UserGuide/latest/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md +++ b/src/UserGuide/latest/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md @@ -193,29 +193,28 @@ When you see the display "Activated" on the far right, it indicates successful a Step 3: If it is the first deployment or data can be deleted, you can also clean up the environment according to the following steps, redeploy, and restart. - Clean up the environment: - - ​ Execute the following on all nodes: - - 1. Terminate all ConfigNode Node and DataNode processes. - ```Bash - # 1. Stop the ConfigNode and DataNode services - sbin/stop-standalone.sh - - # 2. Check for any remaining processes - jps - # Or - ps -ef|gerp iotdb - - # 3. If there are any remaining processes, manually kill the - kill -9 - # If you are sure there is only one iotdb on the machine, you can use the following command to clean up residual processes - ps -ef|grep iotdb|grep -v grep|tr -s ' ' ' ' |cut -d ' ' -f2|xargs kill -9 - ``` - 2. Delete the data and logs directories. + Step 4: Clean up the environment: + + a. Terminate all ConfigNode Node and DataNode processes. + ```Bash + # 1. Stop the ConfigNode and DataNode services + sbin/stop-standalone.sh + + # 2. Check for any remaining processes + jps + # Or + ps -ef|gerp iotdb + + # 3. If there are any remaining processes, manually kill the + kill -9 + # If you are sure there is only one iotdb on the machine, you can use the following command to clean up residual processes + ps -ef|grep iotdb|grep -v grep|tr -s ' ' ' ' |cut -d ' ' -f2|xargs kill -9 + ``` + b. Delete the data and logs directories. - Explanation: Deleting the data directory is necessary, deleting the logs directory is for clean logs and is not mandatory. - ```Bash - cd /data/iotdb - rm -rf data logs - ``` \ No newline at end of file + Explanation: Deleting the data directory is necessary, deleting the logs directory is for clean logs and is not mandatory. + + ```Bash + cd /data/iotdb + rm -rf data logs + ``` \ No newline at end of file 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 f58467b48..f762ba603 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 @@ -315,26 +315,28 @@ sbin/remove-datanode.bat [datanode_id] 步骤 3: 如果是首次部署或者数据可删除,也可按下述步骤清理环境,重新部署后,再次启动。 - 清理环境: - 1. 结束所有 ConfigNode 和 DataNode 进程。 - ```Bash - # 1. 停止 ConfigNode 和 DataNode 服务 - sbin/stop-standalone.sh - - # 2. 检查是否还有进程残留 - jps - # 或者 - ps -ef|gerp iotdb - - # 3. 如果有进程残留,则手动kill - kill -9 - # 如果确定机器上仅有1个iotdb,可以使用下面命令清理残留进程 - ps -ef|grep iotdb|grep -v grep|tr -s ' ' ' ' |cut -d ' ' -f2|xargs kill -9 - ``` - 2. 删除 data 和 logs 目录。 - - 说明:删除 data 目录是必要的,删除 logs 目录是为了纯净日志,非必需。 - ```Bash - cd /data/iotdb - rm -rf data logs - ``` \ No newline at end of file + 步骤 4: 清理环境: + + a. 结束所有 ConfigNode 和 DataNode 进程。 + + ```Bash + # 1. 停止 ConfigNode 和 DataNode 服务 + sbin/stop-standalone.sh + + # 2. 检查是否还有进程残留 + jps + # 或者 + ps -ef|gerp iotdb + + # 3. 如果有进程残留,则手动kill + kill -9 + # 如果确定机器上仅有1个iotdb,可以使用下面命令清理残留进程 + ps -ef|grep iotdb|grep -v grep|tr -s ' ' ' ' |cut -d ' ' -f2|xargs kill -9 + ``` + b. 删除 data 和 logs 目录。 + + 说明:删除 data 目录是必要的,删除 logs 目录是为了纯净日志,非必需。 + ```Bash + cd /data/iotdb + rm -rf data logs + ``` \ No newline at end of file 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 95338c6b9..0de5e289f 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 @@ -357,26 +357,28 @@ sbin/remove-datanode.bat [datanode_id] 步骤 3: 如果是首次部署或者数据可删除,也可按下述步骤清理环境,重新部署后,再次启动。 - 清理环境: - 1. 结束所有 ConfigNode 和 DataNode 进程。 - ```Bash - # 1. 停止 ConfigNode 和 DataNode 服务 - sbin/stop-standalone.sh - - # 2. 检查是否还有进程残留 - jps - # 或者 - ps -ef|gerp iotdb - - # 3. 如果有进程残留,则手动kill - kill -9 - # 如果确定机器上仅有1个iotdb,可以使用下面命令清理残留进程 - ps -ef|grep iotdb|grep -v grep|tr -s ' ' ' ' |cut -d ' ' -f2|xargs kill -9 - ``` - 2. 删除 data 和 logs 目录。 + 步骤 4: 清理环境: + + a. 结束所有 ConfigNode 和 DataNode 进程。 - 说明:删除 data 目录是必要的,删除 logs 目录是为了纯净日志,非必需。 - ```Bash - cd /data/iotdb - rm -rf data logs - ``` \ No newline at end of file + ```Bash + # 1. 停止 ConfigNode 和 DataNode 服务 + sbin/stop-standalone.sh + + # 2. 检查是否还有进程残留 + jps + # 或者 + ps -ef|gerp iotdb + + # 3. 如果有进程残留,则手动kill + kill -9 + # 如果确定机器上仅有1个iotdb,可以使用下面命令清理残留进程 + ps -ef|grep iotdb|grep -v grep|tr -s ' ' ' ' |cut -d ' ' -f2|xargs kill -9 + ``` + b. 删除 data 和 logs 目录。 + + 说明:删除 data 目录是必要的,删除 logs 目录是为了纯净日志,非必需。 + ```Bash + cd /data/iotdb + rm -rf data logs + ``` \ No newline at end of file diff --git a/src/zh/UserGuide/Master/Tree/Deployment-and-Maintenance/Stand-Alone-Deployment_apache.md b/src/zh/UserGuide/Master/Tree/Deployment-and-Maintenance/Stand-Alone-Deployment_apache.md index 668e727a2..b08992d10 100644 --- a/src/zh/UserGuide/Master/Tree/Deployment-and-Maintenance/Stand-Alone-Deployment_apache.md +++ b/src/zh/UserGuide/Master/Tree/Deployment-and-Maintenance/Stand-Alone-Deployment_apache.md @@ -151,26 +151,28 @@ cd sbin 步骤 3: 如果是首次部署或者数据可删除,也可按下述步骤清理环境,重新部署后,再次启动。 - 清理环境: - 1. 结束所有 ConfigNode 和 DataNode 进程。 - ```Bash - # 1. 停止 ConfigNode 和 DataNode 服务 - sbin/stop-standalone.sh - - # 2. 检查是否还有进程残留 - jps - # 或者 - ps -ef|gerp iotdb - - # 3. 如果有进程残留,则手动kill - kill -9 - # 如果确定机器上仅有1个iotdb,可以使用下面命令清理残留进程 - ps -ef|grep iotdb|grep -v grep|tr -s ' ' ' ' |cut -d ' ' -f2|xargs kill -9 - ``` - 2. 删除 data 和 logs 目录。 - - 说明:删除 data 目录是必要的,删除 logs 目录是为了纯净日志,非必需。 - ```Bash - cd /data/iotdb - rm -rf data logs - ``` \ No newline at end of file + 步骤 4: 清理环境: + + a. 结束所有 ConfigNode 和 DataNode 进程。 + + ```Bash + # 1. 停止 ConfigNode 和 DataNode 服务 + sbin/stop-standalone.sh + + # 2. 检查是否还有进程残留 + jps + # 或者 + ps -ef|gerp iotdb + + # 3. 如果有进程残留,则手动kill + kill -9 + # 如果确定机器上仅有1个iotdb,可以使用下面命令清理残留进程 + ps -ef|grep iotdb|grep -v grep|tr -s ' ' ' ' |cut -d ' ' -f2|xargs kill -9 + ``` + b. 删除 data 和 logs 目录。 + + 说明:删除 data 目录是必要的,删除 logs 目录是为了纯净日志,非必需。 + ```Bash + cd /data/iotdb + rm -rf data logs + ``` \ No newline at end of file diff --git a/src/zh/UserGuide/Master/Tree/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md b/src/zh/UserGuide/Master/Tree/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md index cc292b777..449d058b2 100644 --- a/src/zh/UserGuide/Master/Tree/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md +++ b/src/zh/UserGuide/Master/Tree/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md @@ -194,26 +194,28 @@ cd sbin 步骤 3: 如果是首次部署或者数据可删除,也可按下述步骤清理环境,重新部署后,再次启动。 - 清理环境: - 1. 结束所有 ConfigNode 和 DataNode 进程。 - ```Bash - # 1. 停止 ConfigNode 和 DataNode 服务 - sbin/stop-standalone.sh - - # 2. 检查是否还有进程残留 - jps - # 或者 - ps -ef|gerp iotdb - - # 3. 如果有进程残留,则手动kill - kill -9 - # 如果确定机器上仅有1个iotdb,可以使用下面命令清理残留进程 - ps -ef|grep iotdb|grep -v grep|tr -s ' ' ' ' |cut -d ' ' -f2|xargs kill -9 - ``` - 2. 删除 data 和 logs 目录。 + 步骤 4: 清理环境: + + a. 结束所有 ConfigNode 和 DataNode 进程。 - 说明:删除 data 目录是必要的,删除 logs 目录是为了纯净日志,非必需。 - ```Bash - cd /data/iotdb - rm -rf data logs - ``` \ No newline at end of file + ```Bash + # 1. 停止 ConfigNode 和 DataNode 服务 + sbin/stop-standalone.sh + + # 2. 检查是否还有进程残留 + jps + # 或者 + ps -ef|gerp iotdb + + # 3. 如果有进程残留,则手动kill + kill -9 + # 如果确定机器上仅有1个iotdb,可以使用下面命令清理残留进程 + ps -ef|grep iotdb|grep -v grep|tr -s ' ' ' ' |cut -d ' ' -f2|xargs kill -9 + ``` + b. 删除 data 和 logs 目录。 + + 说明:删除 data 目录是必要的,删除 logs 目录是为了纯净日志,非必需。 + ```Bash + cd /data/iotdb + rm -rf data logs + ``` \ No newline at end of file diff --git a/src/zh/UserGuide/V1.3.0-2/Deployment-and-Maintenance/Cluster-Deployment_apache.md b/src/zh/UserGuide/V1.3.0-2/Deployment-and-Maintenance/Cluster-Deployment_apache.md index 9479339df..941fb1721 100644 --- a/src/zh/UserGuide/V1.3.0-2/Deployment-and-Maintenance/Cluster-Deployment_apache.md +++ b/src/zh/UserGuide/V1.3.0-2/Deployment-and-Maintenance/Cluster-Deployment_apache.md @@ -318,26 +318,28 @@ sbin/remove-datanode.bat [dn_rpc_address:dn_rpc_port] 步骤 3: 如果是首次部署或者数据可删除,也可按下述步骤清理环境,重新部署后,再次启动。 - 清理环境: - 1. 结束所有 ConfigNode 和 DataNode 进程。 - ```Bash - # 1. 停止 ConfigNode 和 DataNode 服务 - sbin/stop-standalone.sh - - # 2. 检查是否还有进程残留 - jps - # 或者 - ps -ef|gerp iotdb - - # 3. 如果有进程残留,则手动kill - kill -9 - # 如果确定机器上仅有1个iotdb,可以使用下面命令清理残留进程 - ps -ef|grep iotdb|grep -v grep|tr -s ' ' ' ' |cut -d ' ' -f2|xargs kill -9 - ``` - 2. 删除 data 和 logs 目录。 - - 说明:删除 data 目录是必要的,删除 logs 目录是为了纯净日志,非必需。 - ```Bash - cd /data/iotdb - rm -rf data logs - ``` \ No newline at end of file + 步骤 4: 清理环境: + + a. 结束所有 ConfigNode 和 DataNode 进程。 + + ```Bash + # 1. 停止 ConfigNode 和 DataNode 服务 + sbin/stop-standalone.sh + + # 2. 检查是否还有进程残留 + jps + # 或者 + ps -ef|gerp iotdb + + # 3. 如果有进程残留,则手动kill + kill -9 + # 如果确定机器上仅有1个iotdb,可以使用下面命令清理残留进程 + ps -ef|grep iotdb|grep -v grep|tr -s ' ' ' ' |cut -d ' ' -f2|xargs kill -9 + ``` + b. 删除 data 和 logs 目录。 + + 说明:删除 data 目录是必要的,删除 logs 目录是为了纯净日志,非必需。 + ```Bash + cd /data/iotdb + rm -rf data logs + ``` \ No newline at end of file diff --git a/src/zh/UserGuide/V1.3.0-2/Deployment-and-Maintenance/Cluster-Deployment_timecho.md b/src/zh/UserGuide/V1.3.0-2/Deployment-and-Maintenance/Cluster-Deployment_timecho.md index b9cf78ff0..5f7f08d5c 100644 --- a/src/zh/UserGuide/V1.3.0-2/Deployment-and-Maintenance/Cluster-Deployment_timecho.md +++ b/src/zh/UserGuide/V1.3.0-2/Deployment-and-Maintenance/Cluster-Deployment_timecho.md @@ -360,27 +360,28 @@ sbin/remove-datanode.bat [dn_rpc_address:dn_rpc_port] 步骤 3: 如果是首次部署或者数据可删除,也可按下述步骤清理环境,重新部署后,再次启动。 - 清理环境: - 1. 结束所有 ConfigNode 和 DataNode 进程。 - ```Bash - # 1. 停止 ConfigNode 和 DataNode 服务 - sbin/stop-standalone.sh - - # 2. 检查是否还有进程残留 - jps - # 或者 - ps -ef|gerp iotdb - - # 3. 如果有进程残留,则手动kill - kill -9 - # 如果确定机器上仅有1个iotdb,可以使用下面命令清理残留进程 - ps -ef|grep iotdb|grep -v grep|tr -s ' ' ' ' |cut -d ' ' -f2|xargs kill -9 - ``` - 2. 删除 data 和 logs 目录。 + 步骤 4: 清理环境: + + a. 结束所有 ConfigNode 和 DataNode 进程。 - 说明:删除 data 目录是必要的,删除 logs 目录是为了纯净日志,非必需。 - ```Bash - cd /data/iotdb - rm -rf data logs - ``` + ```Bash + # 1. 停止 ConfigNode 和 DataNode 服务 + sbin/stop-standalone.sh + + # 2. 检查是否还有进程残留 + jps + # 或者 + ps -ef|gerp iotdb + + # 3. 如果有进程残留,则手动kill + kill -9 + # 如果确定机器上仅有1个iotdb,可以使用下面命令清理残留进程 + ps -ef|grep iotdb|grep -v grep|tr -s ' ' ' ' |cut -d ' ' -f2|xargs kill -9 + ``` + b. 删除 data 和 logs 目录。 + 说明:删除 data 目录是必要的,删除 logs 目录是为了纯净日志,非必需。 + ```Bash + cd /data/iotdb + rm -rf data logs + ``` \ No newline at end of file diff --git a/src/zh/UserGuide/V1.3.0-2/Deployment-and-Maintenance/Stand-Alone-Deployment_apache.md b/src/zh/UserGuide/V1.3.0-2/Deployment-and-Maintenance/Stand-Alone-Deployment_apache.md index d44c8f419..905fc40cc 100644 --- a/src/zh/UserGuide/V1.3.0-2/Deployment-and-Maintenance/Stand-Alone-Deployment_apache.md +++ b/src/zh/UserGuide/V1.3.0-2/Deployment-and-Maintenance/Stand-Alone-Deployment_apache.md @@ -152,26 +152,28 @@ cd sbin 步骤 3: 如果是首次部署或者数据可删除,也可按下述步骤清理环境,重新部署后,再次启动。 - 清理环境: - 1. 结束所有 ConfigNode 和 DataNode 进程。 - ```Bash - # 1. 停止 ConfigNode 和 DataNode 服务 - sbin/stop-standalone.sh - - # 2. 检查是否还有进程残留 - jps - # 或者 - ps -ef|gerp iotdb - - # 3. 如果有进程残留,则手动kill - kill -9 - # 如果确定机器上仅有1个iotdb,可以使用下面命令清理残留进程 - ps -ef|grep iotdb|grep -v grep|tr -s ' ' ' ' |cut -d ' ' -f2|xargs kill -9 - ``` - 2. 删除 data 和 logs 目录。 - - 说明:删除 data 目录是必要的,删除 logs 目录是为了纯净日志,非必需。 - ```Bash - cd /data/iotdb - rm -rf data logs - ``` \ No newline at end of file + 步骤 4: 清理环境: + + a. 结束所有 ConfigNode 和 DataNode 进程。 + + ```Bash + # 1. 停止 ConfigNode 和 DataNode 服务 + sbin/stop-standalone.sh + + # 2. 检查是否还有进程残留 + jps + # 或者 + ps -ef|gerp iotdb + + # 3. 如果有进程残留,则手动kill + kill -9 + # 如果确定机器上仅有1个iotdb,可以使用下面命令清理残留进程 + ps -ef|grep iotdb|grep -v grep|tr -s ' ' ' ' |cut -d ' ' -f2|xargs kill -9 + ``` + b. 删除 data 和 logs 目录。 + + 说明:删除 data 目录是必要的,删除 logs 目录是为了纯净日志,非必需。 + ```Bash + cd /data/iotdb + rm -rf data logs + ``` \ No newline at end of file diff --git a/src/zh/UserGuide/V1.3.0-2/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md b/src/zh/UserGuide/V1.3.0-2/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md index c5d449191..53b610c6e 100644 --- a/src/zh/UserGuide/V1.3.0-2/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md +++ b/src/zh/UserGuide/V1.3.0-2/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md @@ -193,27 +193,28 @@ cd sbin 步骤 3: 如果是首次部署或者数据可删除,也可按下述步骤清理环境,重新部署后,再次启动。 - 清理环境: - 1. 结束所有 ConfigNode 和 DataNode 进程。 - ```Bash - # 1. 停止 ConfigNode 和 DataNode 服务 - sbin/stop-standalone.sh - - # 2. 检查是否还有进程残留 - jps - # 或者 - ps -ef|gerp iotdb - - # 3. 如果有进程残留,则手动kill - kill -9 - # 如果确定机器上仅有1个iotdb,可以使用下面命令清理残留进程 - ps -ef|grep iotdb|grep -v grep|tr -s ' ' ' ' |cut -d ' ' -f2|xargs kill -9 - ``` - 2. 删除 data 和 logs 目录。 - - 说明:删除 data 目录是必要的,删除 logs 目录是为了纯净日志,非必需。 - ```Bash - cd /data/iotdb - rm -rf data logs - ``` + 步骤 4: 清理环境: + a. 结束所有 ConfigNode 和 DataNode 进程。 + + ```Bash + # 1. 停止 ConfigNode 和 DataNode 服务 + sbin/stop-standalone.sh + + # 2. 检查是否还有进程残留 + jps + # 或者 + ps -ef|gerp iotdb + + # 3. 如果有进程残留,则手动kill + kill -9 + # 如果确定机器上仅有1个iotdb,可以使用下面命令清理残留进程 + ps -ef|grep iotdb|grep -v grep|tr -s ' ' ' ' |cut -d ' ' -f2|xargs kill -9 + ``` + b. 删除 data 和 logs 目录。 + + 说明:删除 data 目录是必要的,删除 logs 目录是为了纯净日志,非必需。 + ```Bash + cd /data/iotdb + rm -rf data logs + ``` \ No newline at end of file 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 f58467b48..f762ba603 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 @@ -315,26 +315,28 @@ sbin/remove-datanode.bat [datanode_id] 步骤 3: 如果是首次部署或者数据可删除,也可按下述步骤清理环境,重新部署后,再次启动。 - 清理环境: - 1. 结束所有 ConfigNode 和 DataNode 进程。 - ```Bash - # 1. 停止 ConfigNode 和 DataNode 服务 - sbin/stop-standalone.sh - - # 2. 检查是否还有进程残留 - jps - # 或者 - ps -ef|gerp iotdb - - # 3. 如果有进程残留,则手动kill - kill -9 - # 如果确定机器上仅有1个iotdb,可以使用下面命令清理残留进程 - ps -ef|grep iotdb|grep -v grep|tr -s ' ' ' ' |cut -d ' ' -f2|xargs kill -9 - ``` - 2. 删除 data 和 logs 目录。 - - 说明:删除 data 目录是必要的,删除 logs 目录是为了纯净日志,非必需。 - ```Bash - cd /data/iotdb - rm -rf data logs - ``` \ No newline at end of file + 步骤 4: 清理环境: + + a. 结束所有 ConfigNode 和 DataNode 进程。 + + ```Bash + # 1. 停止 ConfigNode 和 DataNode 服务 + sbin/stop-standalone.sh + + # 2. 检查是否还有进程残留 + jps + # 或者 + ps -ef|gerp iotdb + + # 3. 如果有进程残留,则手动kill + kill -9 + # 如果确定机器上仅有1个iotdb,可以使用下面命令清理残留进程 + ps -ef|grep iotdb|grep -v grep|tr -s ' ' ' ' |cut -d ' ' -f2|xargs kill -9 + ``` + b. 删除 data 和 logs 目录。 + + 说明:删除 data 目录是必要的,删除 logs 目录是为了纯净日志,非必需。 + ```Bash + cd /data/iotdb + rm -rf data logs + ``` \ No newline at end of file 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 95338c6b9..0de5e289f 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 @@ -357,26 +357,28 @@ sbin/remove-datanode.bat [datanode_id] 步骤 3: 如果是首次部署或者数据可删除,也可按下述步骤清理环境,重新部署后,再次启动。 - 清理环境: - 1. 结束所有 ConfigNode 和 DataNode 进程。 - ```Bash - # 1. 停止 ConfigNode 和 DataNode 服务 - sbin/stop-standalone.sh - - # 2. 检查是否还有进程残留 - jps - # 或者 - ps -ef|gerp iotdb - - # 3. 如果有进程残留,则手动kill - kill -9 - # 如果确定机器上仅有1个iotdb,可以使用下面命令清理残留进程 - ps -ef|grep iotdb|grep -v grep|tr -s ' ' ' ' |cut -d ' ' -f2|xargs kill -9 - ``` - 2. 删除 data 和 logs 目录。 + 步骤 4: 清理环境: + + a. 结束所有 ConfigNode 和 DataNode 进程。 - 说明:删除 data 目录是必要的,删除 logs 目录是为了纯净日志,非必需。 - ```Bash - cd /data/iotdb - rm -rf data logs - ``` \ No newline at end of file + ```Bash + # 1. 停止 ConfigNode 和 DataNode 服务 + sbin/stop-standalone.sh + + # 2. 检查是否还有进程残留 + jps + # 或者 + ps -ef|gerp iotdb + + # 3. 如果有进程残留,则手动kill + kill -9 + # 如果确定机器上仅有1个iotdb,可以使用下面命令清理残留进程 + ps -ef|grep iotdb|grep -v grep|tr -s ' ' ' ' |cut -d ' ' -f2|xargs kill -9 + ``` + b. 删除 data 和 logs 目录。 + + 说明:删除 data 目录是必要的,删除 logs 目录是为了纯净日志,非必需。 + ```Bash + cd /data/iotdb + rm -rf data logs + ``` \ No newline at end of file diff --git a/src/zh/UserGuide/latest/Deployment-and-Maintenance/Stand-Alone-Deployment_apache.md b/src/zh/UserGuide/latest/Deployment-and-Maintenance/Stand-Alone-Deployment_apache.md index 668e727a2..b08992d10 100644 --- a/src/zh/UserGuide/latest/Deployment-and-Maintenance/Stand-Alone-Deployment_apache.md +++ b/src/zh/UserGuide/latest/Deployment-and-Maintenance/Stand-Alone-Deployment_apache.md @@ -151,26 +151,28 @@ cd sbin 步骤 3: 如果是首次部署或者数据可删除,也可按下述步骤清理环境,重新部署后,再次启动。 - 清理环境: - 1. 结束所有 ConfigNode 和 DataNode 进程。 - ```Bash - # 1. 停止 ConfigNode 和 DataNode 服务 - sbin/stop-standalone.sh - - # 2. 检查是否还有进程残留 - jps - # 或者 - ps -ef|gerp iotdb - - # 3. 如果有进程残留,则手动kill - kill -9 - # 如果确定机器上仅有1个iotdb,可以使用下面命令清理残留进程 - ps -ef|grep iotdb|grep -v grep|tr -s ' ' ' ' |cut -d ' ' -f2|xargs kill -9 - ``` - 2. 删除 data 和 logs 目录。 - - 说明:删除 data 目录是必要的,删除 logs 目录是为了纯净日志,非必需。 - ```Bash - cd /data/iotdb - rm -rf data logs - ``` \ No newline at end of file + 步骤 4: 清理环境: + + a. 结束所有 ConfigNode 和 DataNode 进程。 + + ```Bash + # 1. 停止 ConfigNode 和 DataNode 服务 + sbin/stop-standalone.sh + + # 2. 检查是否还有进程残留 + jps + # 或者 + ps -ef|gerp iotdb + + # 3. 如果有进程残留,则手动kill + kill -9 + # 如果确定机器上仅有1个iotdb,可以使用下面命令清理残留进程 + ps -ef|grep iotdb|grep -v grep|tr -s ' ' ' ' |cut -d ' ' -f2|xargs kill -9 + ``` + b. 删除 data 和 logs 目录。 + + 说明:删除 data 目录是必要的,删除 logs 目录是为了纯净日志,非必需。 + ```Bash + cd /data/iotdb + rm -rf data logs + ``` \ No newline at end of file diff --git a/src/zh/UserGuide/latest/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md b/src/zh/UserGuide/latest/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md index cc292b777..449d058b2 100644 --- a/src/zh/UserGuide/latest/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md +++ b/src/zh/UserGuide/latest/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md @@ -194,26 +194,28 @@ cd sbin 步骤 3: 如果是首次部署或者数据可删除,也可按下述步骤清理环境,重新部署后,再次启动。 - 清理环境: - 1. 结束所有 ConfigNode 和 DataNode 进程。 - ```Bash - # 1. 停止 ConfigNode 和 DataNode 服务 - sbin/stop-standalone.sh - - # 2. 检查是否还有进程残留 - jps - # 或者 - ps -ef|gerp iotdb - - # 3. 如果有进程残留,则手动kill - kill -9 - # 如果确定机器上仅有1个iotdb,可以使用下面命令清理残留进程 - ps -ef|grep iotdb|grep -v grep|tr -s ' ' ' ' |cut -d ' ' -f2|xargs kill -9 - ``` - 2. 删除 data 和 logs 目录。 + 步骤 4: 清理环境: + + a. 结束所有 ConfigNode 和 DataNode 进程。 - 说明:删除 data 目录是必要的,删除 logs 目录是为了纯净日志,非必需。 - ```Bash - cd /data/iotdb - rm -rf data logs - ``` \ No newline at end of file + ```Bash + # 1. 停止 ConfigNode 和 DataNode 服务 + sbin/stop-standalone.sh + + # 2. 检查是否还有进程残留 + jps + # 或者 + ps -ef|gerp iotdb + + # 3. 如果有进程残留,则手动kill + kill -9 + # 如果确定机器上仅有1个iotdb,可以使用下面命令清理残留进程 + ps -ef|grep iotdb|grep -v grep|tr -s ' ' ' ' |cut -d ' ' -f2|xargs kill -9 + ``` + b. 删除 data 和 logs 目录。 + + 说明:删除 data 目录是必要的,删除 logs 目录是为了纯净日志,非必需。 + ```Bash + cd /data/iotdb + rm -rf data logs + ``` \ No newline at end of file