Skip to content

Commit 3f33e07

Browse files
authored
Common issues with modifying deployment documents: indentation (#456)
1 parent 1a9ccef commit 3f33e07

24 files changed

Lines changed: 578 additions & 568 deletions

src/UserGuide/Master/Tree/Deployment-and-Maintenance/Cluster-Deployment_apache.md

Lines changed: 24 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -316,29 +316,28 @@ sbin/remove-datanode.bat [datanode_id]
316316

317317
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.
318318

319-
Clean up the environment:
320-
321-
​ Execute the following on all nodes:
322-
323-
1. Terminate all ConfigNode Node and DataNode processes.
324-
```Bash
325-
# 1. Stop the ConfigNode and DataNode services
326-
sbin/stop-standalone.sh
327-
328-
# 2. Check for any remaining processes
329-
jps
330-
# Or
331-
ps -ef|gerp iotdb
332-
333-
# 3. If there are any remaining processes, manually kill the
334-
kill -9 <pid>
335-
# If you are sure there is only one iotdb on the machine, you can use the following command to clean up residual processes
336-
ps -ef|grep iotdb|grep -v grep|tr -s ' ' ' ' |cut -d ' ' -f2|xargs kill -9
337-
```
338-
2. Delete the data and logs directories.
319+
Step 4: Clean up the environment:
320+
321+
a. Terminate all ConfigNode Node and DataNode processes.
322+
```Bash
323+
# 1. Stop the ConfigNode and DataNode services
324+
sbin/stop-standalone.sh
325+
326+
# 2. Check for any remaining processes
327+
jps
328+
# Or
329+
ps -ef|gerp iotdb
330+
331+
# 3. If there are any remaining processes, manually kill the
332+
kill -9 <pid>
333+
# If you are sure there is only one iotdb on the machine, you can use the following command to clean up residual processes
334+
ps -ef|grep iotdb|grep -v grep|tr -s ' ' ' ' |cut -d ' ' -f2|xargs kill -9
335+
```
336+
b. Delete the data and logs directories.
339337

340-
Explanation: Deleting the data directory is necessary, deleting the logs directory is for clean logs and is not mandatory.
341-
```Bash
342-
cd /data/iotdb
343-
rm -rf data logs
344-
```
338+
Explanation: Deleting the data directory is necessary, deleting the logs directory is for clean logs and is not mandatory.
339+
340+
```Bash
341+
cd /data/iotdb
342+
rm -rf data logs
343+
```

src/UserGuide/Master/Tree/Deployment-and-Maintenance/Cluster-Deployment_timecho.md

Lines changed: 23 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -357,29 +357,28 @@ sbin/remove-datanode.bat [datanode_id]
357357
358358
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.
359359
360-
Clean up the environment:
360+
Step 4: Clean up the environment:
361361
362-
​ Execute the following on all nodes:
363-
364-
1. Terminate all ConfigNode Node and DataNode processes.
365-
```Bash
366-
# 1. Stop the ConfigNode and DataNode services
367-
sbin/stop-standalone.sh
368-
369-
# 2. Check for any remaining processes
370-
jps
371-
# Or
372-
ps -ef|gerp iotdb
373-
374-
# 3. If there are any remaining processes, manually kill the
375-
kill -9 <pid>
376-
# If you are sure there is only one iotdb on the machine, you can use the following command to clean up residual processes
377-
ps -ef|grep iotdb|grep -v grep|tr -s ' ' ' ' |cut -d ' ' -f2|xargs kill -9
378-
```
379-
2. Delete the data and logs directories.
362+
a. Terminate all ConfigNode Node and DataNode processes.
363+
```Bash
364+
# 1. Stop the ConfigNode and DataNode services
365+
sbin/stop-standalone.sh
366+
367+
# 2. Check for any remaining processes
368+
jps
369+
# Or
370+
ps -ef|gerp iotdb
371+
372+
# 3. If there are any remaining processes, manually kill the
373+
kill -9 <pid>
374+
# If you are sure there is only one iotdb on the machine, you can use the following command to clean up residual processes
375+
ps -ef|grep iotdb|grep -v grep|tr -s ' ' ' ' |cut -d ' ' -f2|xargs kill -9
376+
```
377+
b. Delete the data and logs directories.
380378
381-
Explanation: Deleting the data directory is necessary, deleting the logs directory is for clean logs and is not mandatory.
382-
```Bash
383-
cd /data/iotdb
384-
rm -rf data logs
385-
```
379+
Explanation: Deleting the data directory is necessary, deleting the logs directory is for clean logs and is not mandatory.
380+
381+
```Bash
382+
cd /data/iotdb
383+
rm -rf data logs
384+
```

src/UserGuide/Master/Tree/Deployment-and-Maintenance/Stand-Alone-Deployment_apache.md

Lines changed: 24 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -151,29 +151,28 @@ When the status is all running, it indicates that the service has started succes
151151

152152
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.
153153

154-
Clean up the environment:
155-
156-
​ Execute the following on all nodes:
157-
158-
1. Terminate all ConfigNode Node and DataNode processes.
159-
```Bash
160-
# 1. Stop the ConfigNode and DataNode services
161-
sbin/stop-standalone.sh
162-
163-
# 2. Check for any remaining processes
164-
jps
165-
# Or
166-
ps -ef|gerp iotdb
167-
168-
# 3. If there are any remaining processes, manually kill the
169-
kill -9 <pid>
170-
# If you are sure there is only one iotdb on the machine, you can use the following command to clean up residual processes
171-
ps -ef|grep iotdb|grep -v grep|tr -s ' ' ' ' |cut -d ' ' -f2|xargs kill -9
172-
```
173-
2. Delete the data and logs directories.
154+
Step 4: Clean up the environment:
155+
156+
a. Terminate all ConfigNode Node and DataNode processes.
157+
```Bash
158+
# 1. Stop the ConfigNode and DataNode services
159+
sbin/stop-standalone.sh
160+
161+
# 2. Check for any remaining processes
162+
jps
163+
# Or
164+
ps -ef|gerp iotdb
165+
166+
# 3. If there are any remaining processes, manually kill the
167+
kill -9 <pid>
168+
# If you are sure there is only one iotdb on the machine, you can use the following command to clean up residual processes
169+
ps -ef|grep iotdb|grep -v grep|tr -s ' ' ' ' |cut -d ' ' -f2|xargs kill -9
170+
```
171+
b. Delete the data and logs directories.
174172

175-
Explanation: Deleting the data directory is necessary, deleting the logs directory is for clean logs and is not mandatory.
176-
```Bash
177-
cd /data/iotdb
178-
rm -rf data logs
179-
```
173+
Explanation: Deleting the data directory is necessary, deleting the logs directory is for clean logs and is not mandatory.
174+
175+
```Bash
176+
cd /data/iotdb
177+
rm -rf data logs
178+
```

src/UserGuide/Master/Tree/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md

Lines changed: 24 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -193,29 +193,28 @@ When you see the display "Activated" on the far right, it indicates successful a
193193
194194
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.
195195
196-
Clean up the environment:
197-
198-
​ Execute the following on all nodes:
199-
200-
1. Terminate all ConfigNode Node and DataNode processes.
201-
```Bash
202-
# 1. Stop the ConfigNode and DataNode services
203-
sbin/stop-standalone.sh
204-
205-
# 2. Check for any remaining processes
206-
jps
207-
# Or
208-
ps -ef|gerp iotdb
209-
210-
# 3. If there are any remaining processes, manually kill the
211-
kill -9 <pid>
212-
# If you are sure there is only one iotdb on the machine, you can use the following command to clean up residual processes
213-
ps -ef|grep iotdb|grep -v grep|tr -s ' ' ' ' |cut -d ' ' -f2|xargs kill -9
214-
```
215-
2. Delete the data and logs directories.
196+
Step 4: Clean up the environment:
197+
198+
a. Terminate all ConfigNode Node and DataNode processes.
199+
```Bash
200+
# 1. Stop the ConfigNode and DataNode services
201+
sbin/stop-standalone.sh
202+
203+
# 2. Check for any remaining processes
204+
jps
205+
# Or
206+
ps -ef|gerp iotdb
207+
208+
# 3. If there are any remaining processes, manually kill the
209+
kill -9 <pid>
210+
# If you are sure there is only one iotdb on the machine, you can use the following command to clean up residual processes
211+
ps -ef|grep iotdb|grep -v grep|tr -s ' ' ' ' |cut -d ' ' -f2|xargs kill -9
212+
```
213+
b. Delete the data and logs directories.
216214
217-
Explanation: Deleting the data directory is necessary, deleting the logs directory is for clean logs and is not mandatory.
218-
```Bash
219-
cd /data/iotdb
220-
rm -rf data logs
221-
```
215+
Explanation: Deleting the data directory is necessary, deleting the logs directory is for clean logs and is not mandatory.
216+
217+
```Bash
218+
cd /data/iotdb
219+
rm -rf data logs
220+
```

src/UserGuide/V1.3.0-2/Deployment-and-Maintenance/Cluster-Deployment_apache.md

Lines changed: 24 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -320,29 +320,28 @@ sbin/remove-datanode.bat [dn_rpc_address:dn_rpc_port]
320320

321321
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.
322322

323-
Clean up the environment:
324-
325-
​ Execute the following on all nodes:
326-
327-
1. Terminate all ConfigNode Node and DataNode processes.
328-
```Bash
329-
# 1. Stop the ConfigNode and DataNode services
330-
sbin/stop-standalone.sh
331-
332-
# 2. Check for any remaining processes
333-
jps
334-
# Or
335-
ps -ef|gerp iotdb
336-
337-
# 3. If there are any remaining processes, manually kill the
338-
kill -9 <pid>
339-
# If you are sure there is only one iotdb on the machine, you can use the following command to clean up residual processes
340-
ps -ef|grep iotdb|grep -v grep|tr -s ' ' ' ' |cut -d ' ' -f2|xargs kill -9
341-
```
342-
2. Delete the data and logs directories.
323+
Step 4: Clean up the environment:
324+
325+
a. Terminate all ConfigNode Node and DataNode processes.
326+
```Bash
327+
# 1. Stop the ConfigNode and DataNode services
328+
sbin/stop-standalone.sh
329+
330+
# 2. Check for any remaining processes
331+
jps
332+
# Or
333+
ps -ef|gerp iotdb
334+
335+
# 3. If there are any remaining processes, manually kill the
336+
kill -9 <pid>
337+
# If you are sure there is only one iotdb on the machine, you can use the following command to clean up residual processes
338+
ps -ef|grep iotdb|grep -v grep|tr -s ' ' ' ' |cut -d ' ' -f2|xargs kill -9
339+
```
340+
b. Delete the data and logs directories.
343341

344-
Explanation: Deleting the data directory is necessary, deleting the logs directory is for clean logs and is not mandatory.
345-
```Bash
346-
cd /data/iotdb
347-
rm -rf data logs
348-
```
342+
Explanation: Deleting the data directory is necessary, deleting the logs directory is for clean logs and is not mandatory.
343+
344+
```Bash
345+
cd /data/iotdb
346+
rm -rf data logs
347+
```

src/UserGuide/V1.3.0-2/Deployment-and-Maintenance/Cluster-Deployment_timecho.md

Lines changed: 23 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -361,29 +361,28 @@ sbin/remove-datanode.bat [dn_rpc_address:dn_rpc_port]
361361
362362
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.
363363
364-
Clean up the environment:
364+
Step 4: Clean up the environment:
365365
366-
​ Execute the following on all nodes:
367-
368-
1. Terminate all ConfigNode Node and DataNode processes.
369-
```Bash
370-
# 1. Stop the ConfigNode and DataNode services
371-
sbin/stop-standalone.sh
372-
373-
# 2. Check for any remaining processes
374-
jps
375-
# Or
376-
ps -ef|gerp iotdb
377-
378-
# 3. If there are any remaining processes, manually kill the
379-
kill -9 <pid>
380-
# If you are sure there is only one iotdb on the machine, you can use the following command to clean up residual processes
381-
ps -ef|grep iotdb|grep -v grep|tr -s ' ' ' ' |cut -d ' ' -f2|xargs kill -9
382-
```
383-
2. Delete the data and logs directories.
366+
a. Terminate all ConfigNode Node and DataNode processes.
367+
```Bash
368+
# 1. Stop the ConfigNode and DataNode services
369+
sbin/stop-standalone.sh
370+
371+
# 2. Check for any remaining processes
372+
jps
373+
# Or
374+
ps -ef|gerp iotdb
375+
376+
# 3. If there are any remaining processes, manually kill the
377+
kill -9 <pid>
378+
# If you are sure there is only one iotdb on the machine, you can use the following command to clean up residual processes
379+
ps -ef|grep iotdb|grep -v grep|tr -s ' ' ' ' |cut -d ' ' -f2|xargs kill -9
380+
```
381+
b. Delete the data and logs directories.
384382
385-
Explanation: Deleting the data directory is necessary, deleting the logs directory is for clean logs and is not mandatory.
386-
```Bash
387-
cd /data/iotdb
388-
rm -rf data logs
389-
```
383+
Explanation: Deleting the data directory is necessary, deleting the logs directory is for clean logs and is not mandatory.
384+
385+
```Bash
386+
cd /data/iotdb
387+
rm -rf data logs
388+
```

src/UserGuide/V1.3.0-2/Deployment-and-Maintenance/Stand-Alone-Deployment_apache.md

Lines changed: 24 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -151,29 +151,28 @@ When the status is all running, it indicates that the service has started succes
151151

152152
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.
153153

154-
Clean up the environment:
155-
156-
​ Execute the following on all nodes:
157-
158-
1. Terminate all ConfigNode Node and DataNode processes.
159-
```Bash
160-
# 1. Stop the ConfigNode and DataNode services
161-
sbin/stop-standalone.sh
162-
163-
# 2. Check for any remaining processes
164-
jps
165-
# Or
166-
ps -ef|gerp iotdb
167-
168-
# 3. If there are any remaining processes, manually kill the
169-
kill -9 <pid>
170-
# If you are sure there is only one iotdb on the machine, you can use the following command to clean up residual processes
171-
ps -ef|grep iotdb|grep -v grep|tr -s ' ' ' ' |cut -d ' ' -f2|xargs kill -9
172-
```
173-
2. Delete the data and logs directories.
154+
Step 4: Clean up the environment:
155+
156+
a. Terminate all ConfigNode Node and DataNode processes.
157+
```Bash
158+
# 1. Stop the ConfigNode and DataNode services
159+
sbin/stop-standalone.sh
160+
161+
# 2. Check for any remaining processes
162+
jps
163+
# Or
164+
ps -ef|gerp iotdb
165+
166+
# 3. If there are any remaining processes, manually kill the
167+
kill -9 <pid>
168+
# If you are sure there is only one iotdb on the machine, you can use the following command to clean up residual processes
169+
ps -ef|grep iotdb|grep -v grep|tr -s ' ' ' ' |cut -d ' ' -f2|xargs kill -9
170+
```
171+
b. Delete the data and logs directories.
174172

175-
Explanation: Deleting the data directory is necessary, deleting the logs directory is for clean logs and is not mandatory.
176-
```Bash
177-
cd /data/iotdb
178-
rm -rf data logs
179-
```
173+
Explanation: Deleting the data directory is necessary, deleting the logs directory is for clean logs and is not mandatory.
174+
175+
```Bash
176+
cd /data/iotdb
177+
rm -rf data logs
178+
```

0 commit comments

Comments
 (0)