Skip to content

Commit 226f9d7

Browse files
authored
Fix tree deployment FAQ code block formatting (#1178)
1 parent f6309a7 commit 226f9d7

8 files changed

Lines changed: 40 additions & 8 deletions

File tree

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -508,8 +508,16 @@ For more details on cluster maintenance, please refer to: [Cluster Maintenance](
508508
a. Terminate all ConfigNode Node and DataNode processes.
509509
```Bash
510510
# 1. Stop the ConfigNode and DataNode services
511+
# Unix/OS X
511512
sbin/stop-standalone.sh
512513
514+
# Windows
515+
# Before V2.0.4.x
516+
sbin\stop-standalone.bat
517+
518+
# V2.0.4.x and later
519+
sbin\windows\stop-standalone.bat
520+
513521
# 2. Check for any remaining processes
514522
jps
515523
# Or

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,8 +213,16 @@ When the status is all running, it indicates that the service has started succes
213213
a. Terminate all ConfigNode Node and DataNode processes.
214214
```Bash
215215
# 1. Stop the ConfigNode and DataNode services
216+
# Unix/OS X
216217
sbin/stop-standalone.sh
217218
219+
# Windows
220+
# Before V2.0.4.x
221+
sbin\stop-standalone.bat
222+
223+
# V2.0.4.x and later
224+
sbin\windows\stop-standalone.bat
225+
218226
# 2. Check for any remaining processes
219227
jps
220228
# Or

src/UserGuide/latest/Deployment-and-Maintenance/Cluster-Deployment_apache.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -508,8 +508,16 @@ For more details on cluster maintenance, please refer to: [Cluster Maintenance](
508508
a. Terminate all ConfigNode Node and DataNode processes.
509509
```Bash
510510
# 1. Stop the ConfigNode and DataNode services
511+
# Unix/OS X
511512
sbin/stop-standalone.sh
512513
514+
# Windows
515+
# Before V2.0.4.x
516+
sbin\stop-standalone.bat
517+
518+
# V2.0.4.x and later
519+
sbin\windows\stop-standalone.bat
520+
513521
# 2. Check for any remaining processes
514522
jps
515523
# Or

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,8 +213,16 @@ When the status is all running, it indicates that the service has started succes
213213
a. Terminate all ConfigNode Node and DataNode processes.
214214
```Bash
215215
# 1. Stop the ConfigNode and DataNode services
216+
# Unix/OS X
216217
sbin/stop-standalone.sh
217218
219+
# Windows
220+
# Before V2.0.4.x
221+
sbin\stop-standalone.bat
222+
223+
# V2.0.4.x and later
224+
sbin\windows\stop-standalone.bat
225+
218226
# 2. Check for any remaining processes
219227
jps
220228
# Or

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ remove datanode [datanode_id]
484484

485485
a. 结束所有 ConfigNode 和 DataNode 进程。
486486

487-
```Bash
487+
```Bash
488488
# 1. 停止 ConfigNode 和 DataNode 服务
489489
# Unix/OS X
490490
sbin/stop-standalone.sh
@@ -506,7 +506,7 @@ remove datanode [datanode_id]
506506
# 如果确定机器上仅有1个iotdb,可以使用下面命令清理残留进程
507507
ps -ef|grep iotdb|grep -v grep|tr -s ' ' ' ' |cut -d ' ' -f2|xargs kill -9
508508
```
509-
b. 删除 data 和 logs 目录。
509+
b. 删除 data 和 logs 目录。
510510

511511
说明:删除 data 目录是必要的,删除 logs 目录是为了纯净日志,非必需。
512512
```Bash

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ cd sbin
208208

209209
a. 结束所有 ConfigNode 和 DataNode 进程。
210210

211-
```Bash
211+
```Bash
212212
# 1. 停止 ConfigNode 和 DataNode 服务
213213
# Unix/OS X
214214
sbin/stop-standalone.sh
@@ -230,7 +230,7 @@ cd sbin
230230
# 如果确定机器上仅有1个iotdb,可以使用下面命令清理残留进程
231231
ps -ef|grep iotdb|grep -v grep|tr -s ' ' ' ' |cut -d ' ' -f2|xargs kill -9
232232
```
233-
b. 删除 data 和 logs 目录。
233+
b. 删除 data 和 logs 目录。
234234

235235
说明:删除 data 目录是必要的,删除 logs 目录是为了纯净日志,非必需。
236236
```Bash

src/zh/UserGuide/latest/Deployment-and-Maintenance/Cluster-Deployment_apache.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ remove datanode [datanode_id]
484484

485485
a. 结束所有 ConfigNode 和 DataNode 进程。
486486

487-
```Bash
487+
```Bash
488488
# 1. 停止 ConfigNode 和 DataNode 服务
489489
# Unix/OS X
490490
sbin/stop-standalone.sh
@@ -506,7 +506,7 @@ remove datanode [datanode_id]
506506
# 如果确定机器上仅有1个iotdb,可以使用下面命令清理残留进程
507507
ps -ef|grep iotdb|grep -v grep|tr -s ' ' ' ' |cut -d ' ' -f2|xargs kill -9
508508
```
509-
b. 删除 data 和 logs 目录。
509+
b. 删除 data 和 logs 目录。
510510

511511
说明:删除 data 目录是必要的,删除 logs 目录是为了纯净日志,非必需。
512512
```Bash

src/zh/UserGuide/latest/Deployment-and-Maintenance/Stand-Alone-Deployment_apache.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ cd sbin
208208

209209
a. 结束所有 ConfigNode 和 DataNode 进程。
210210

211-
```Bash
211+
```Bash
212212
# 1. 停止 ConfigNode 和 DataNode 服务
213213
# Unix/OS X
214214
sbin/stop-standalone.sh
@@ -230,7 +230,7 @@ cd sbin
230230
# 如果确定机器上仅有1个iotdb,可以使用下面命令清理残留进程
231231
ps -ef|grep iotdb|grep -v grep|tr -s ' ' ' ' |cut -d ' ' -f2|xargs kill -9
232232
```
233-
b. 删除 data 和 logs 目录。
233+
b. 删除 data 和 logs 目录。
234234

235235
说明:删除 data 目录是必要的,删除 logs 目录是为了纯净日志,非必需。
236236
```Bash

0 commit comments

Comments
 (0)