Skip to content

Commit d8fc29c

Browse files
committed
finish english
1 parent a2c7185 commit d8fc29c

File tree

5 files changed

+30
-93
lines changed

5 files changed

+30
-93
lines changed

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

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ sbin/start-confignode.bat
251251

252252
#### Removing ConfigNode Nodes
253253

254-
First connect to the cluster through the CLI and confirm the internal address and port number of the ConfigNode you want to remove by using `show confignodes`:
254+
First connect to the cluster through the CLI and confirm the NodeID of the ConfigNode you want to remove by using `show confignodes`:
255255

256256
```Bash
257257
IoTDB> show confignodes
@@ -266,15 +266,10 @@ Total line number = 3
266266
It costs 0.030s
267267
```
268268

269-
Then use the script to remove the DataNode. Script command:
269+
Then use the SQL to remove the ConfigNode. SQL command:
270270

271271
```Bash
272-
# Linux / MacOS
273-
sbin/remove-confignode.sh [confignode_id]
274-
275-
#Windows
276-
sbin/remove-confignode.bat [confignode_id]
277-
272+
remove confignode [confignode_id]
278273
```
279274

280275
### DataNode Node Maintenance
@@ -305,7 +300,7 @@ Note: After adding a DataNode, as new writes arrive (and old data expires, if TT
305300

306301
#### Removing DataNode Nodes
307302

308-
First connect to the cluster through the CLI and confirm the RPC address and port number of the DataNode you want to remove with `show datanodes`:
303+
First connect to the cluster through the CLI and confirm the NodeID of the DataNode you want to remove with `show datanodes`:
309304

310305
```Bash
311306
IoTDB> show datanodes
@@ -320,14 +315,10 @@ Total line number = 3
320315
It costs 0.110s
321316
```
322317

323-
Then use the script to remove the DataNode. Script command:
318+
Then use the SQL to remove the DataNode. SQL command:
324319

325320
```Bash
326-
# Linux / MacOS
327-
sbin/remove-datanode.sh [datanode_id]
328-
329-
#Windows
330-
sbin/remove-datanode.bat [datanode_id]
321+
remove datanode [datanode_id]
331322
```
332323

333324
## Common Questions

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

Lines changed: 6 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ sbin/start-confignode.bat
249249

250250
#### Removing a ConfigNode
251251

252-
1. Connect to the cluster using the CLI and confirm the internal address and port of the ConfigNode to be removed:
252+
1. Connect to the cluster using the CLI and confirm the NodeID of the ConfigNode to be removed:
253253

254254
```Plain
255255
show confignodes;
@@ -270,22 +270,10 @@ Total line number = 3
270270
It costs 0.030s
271271
```
272272

273-
2. Remove the ConfigNode using the script:
274-
275-
**Linux /** **MacOS**:
276-
277-
```Bash
278-
sbin/remove-confignode.sh [confignode_id]
279-
# Or:
280-
sbin/remove-confignode.sh [cn_internal_address:cn_internal_port]
281-
```
282-
283-
**Windows:**
273+
2. Remove the ConfigNode using the SQL:
284274

285275
```Bash
286-
sbin/remove-confignode.bat [confignode_id]
287-
# Or:
288-
sbin/remove-confignode.bat [cn_internal_address:cn_internal_port]
276+
remove confignode [confignode_id]
289277
```
290278

291279
### DataNode Maintenance
@@ -315,7 +303,7 @@ sbin/start-datanode.bat
315303
316304
#### Removing a DataNode
317305
318-
1. Connect to the cluster using the CLI and confirm the RPC address and port of the DataNode to be removed:
306+
1. Connect to the cluster using the CLI and confirm the NodeID of the DataNode to be removed:
319307
320308
```Plain
321309
show datanodes;
@@ -336,18 +324,10 @@ Total line number = 3
336324
It costs 0.110s
337325
```
338326
339-
2. Remove the DataNode using the script:
340-
341-
**Linux / MacOS:**
342-
343-
```Bash
344-
sbin/remove-datanode.sh [dn_rpc_address:dn_rpc_port]
345-
```
346-
347-
**Windows:**
327+
2. Remove the DataNode using the SQL:
348328
349329
```Bash
350-
sbin/remove-datanode.bat [dn_rpc_address:dn_rpc_port]
330+
remove datanode [datanode_id]
351331
```
352332
353333
## Common Questions

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

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ Parameter introduction:
250250
251251
#### Removing ConfigNode Nodes
252252
253-
First connect to the cluster through the CLI and confirm the internal address and port number of the ConfigNode you want to remove by using `show confignodes`:
253+
First connect to the cluster through the CLI and confirm the NodeID of the ConfigNode you want to remove by using `show confignodes`:
254254
255255
```Bash
256256
IoTDB> show confignodes
@@ -265,15 +265,10 @@ Total line number = 3
265265
It costs 0.030s
266266
```
267267
268-
Then use the script to remove the DataNode. Script command:
268+
Then use the SQL to remove the ConfigNode. SQL command:
269269
270270
```Bash
271-
# Linux / MacOS
272-
sbin/remove-confignode.sh [confignode_id]
273-
274-
#Windows
275-
sbin/remove-confignode.bat [confignode_id]
276-
271+
remove confignode [confignode_id]
277272
```
278273
279274
### DataNode Node Maintenance
@@ -319,7 +314,7 @@ Note: After adding a DataNode, as new writes arrive (and old data expires, if TT
319314
320315
#### Removing DataNode Nodes
321316
322-
First connect to the cluster through the CLI and confirm the RPC address and port number of the DataNode you want to remove with `show datanodes`:
317+
First connect to the cluster through the CLI and confirm the NodeID of the DataNode you want to remove with `show datanodes`:
323318
324319
```Bash
325320
IoTDB> show datanodes
@@ -334,14 +329,10 @@ Total line number = 3
334329
It costs 0.110s
335330
```
336331
337-
Then use the script to remove the DataNode. Script command:
332+
Then use the SQL to remove the DataNode. SQL command:
338333
339334
```Bash
340-
# Linux / MacOS
341-
sbin/remove-datanode.sh [datanode_id]
342-
343-
#Windows
344-
sbin/remove-datanode.bat [datanode_id]
335+
remove datanode [datanode_id]
345336
```
346337
347338
## Common Questions

src/UserGuide/latest-Table/Deployment-and-Maintenance/Cluster-Deployment_timecho.md

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ sbin/start-confignode.bat
252252

253253
#### Removing ConfigNode Nodes
254254

255-
First connect to the cluster through the CLI and confirm the internal address and port number of the ConfigNode you want to remove by using `show confignodes`:
255+
First connect to the cluster through the CLI and confirm the NodeID of the ConfigNode you want to remove by using `show confignodes`:
256256

257257
```Bash
258258
IoTDB> show confignodes
@@ -267,15 +267,10 @@ Total line number = 3
267267
It costs 0.030s
268268
```
269269

270-
Then use the script to remove the DataNode. Script command:
270+
Then use the SQL to remove the ConfigNode. SQL command:
271271

272272
```Bash
273-
# Linux / MacOS
274-
sbin/remove-confignode.sh [confignode_id]
275-
276-
#Windows
277-
sbin/remove-confignode.bat [confignode_id]
278-
273+
remove confignode [confignode_id]
279274
```
280275

281276
### DataNode Node Maintenance
@@ -306,7 +301,7 @@ Note: After adding a DataNode, as new writes arrive (and old data expires, if TT
306301

307302
#### Removing DataNode Nodes
308303

309-
First connect to the cluster through the CLI and confirm the RPC address and port number of the DataNode you want to remove with `show datanodes`:
304+
First connect to the cluster through the CLI and confirm the NodeID of the DataNode you want to remove with `show datanodes`:
310305

311306
```Bash
312307
IoTDB> show datanodes
@@ -321,14 +316,10 @@ Total line number = 3
321316
It costs 0.110s
322317
```
323318

324-
Then use the script to remove the DataNode. Script command:
319+
Then use the SQL to remove the DataNode. SQL command:
325320

326321
```Bash
327-
# Linux / MacOS
328-
sbin/remove-datanode.sh [datanode_id]
329-
330-
#Windows
331-
sbin/remove-datanode.bat [datanode_id]
322+
remove datanode [datanode_id]
332323
```
333324

334325
## Common Questions

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

Lines changed: 6 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ sbin/start-confignode.bat
249249

250250
#### Removing a ConfigNode
251251

252-
1. Connect to the cluster using the CLI and confirm the internal address and port of the ConfigNode to be removed:
252+
1. Connect to the cluster using the CLI and confirm the NodeID of the ConfigNode to be removed:
253253

254254
```Plain
255255
show confignodes;
@@ -270,22 +270,12 @@ Total line number = 3
270270
It costs 0.030s
271271
```
272272

273-
2. Remove the ConfigNode using the script:
273+
2. Remove the ConfigNode using the SQL:
274274

275275
**Linux /** **MacOS**:
276276

277277
```Bash
278-
sbin/remove-confignode.sh [confignode_id]
279-
# Or:
280-
sbin/remove-confignode.sh [cn_internal_address:cn_internal_port]
281-
```
282-
283-
**Windows:**
284-
285-
```Bash
286-
sbin/remove-confignode.bat [confignode_id]
287-
# Or:
288-
sbin/remove-confignode.bat [cn_internal_address:cn_internal_port]
278+
remove confignode [confignode_id]
289279
```
290280

291281
### DataNode Maintenance
@@ -315,7 +305,7 @@ sbin/start-datanode.bat
315305
316306
#### Removing a DataNode
317307
318-
1. Connect to the cluster using the CLI and confirm the RPC address and port of the DataNode to be removed:
308+
1. Connect to the cluster using the CLI and confirm the NodeID of the DataNode to be removed:
319309
320310
```Plain
321311
show datanodes;
@@ -336,18 +326,12 @@ Total line number = 3
336326
It costs 0.110s
337327
```
338328
339-
2. Remove the DataNode using the script:
329+
2. Remove the DataNode using the SQL:
340330
341331
**Linux / MacOS:**
342332
343333
```Bash
344-
sbin/remove-datanode.sh [dn_rpc_address:dn_rpc_port]
345-
```
346-
347-
**Windows:**
348-
349-
```Bash
350-
sbin/remove-datanode.bat [dn_rpc_address:dn_rpc_port]
334+
remove datanode [datanode_id]
351335
```
352336
353337
## Common Questions

0 commit comments

Comments
 (0)