Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ sbin/start-confignode.bat

#### 4.1.2 Removing a ConfigNode

1. Connect to the cluster using the CLI and confirm the internal address and port of the ConfigNode to be removed:
First connect to the cluster through the CLI and confirm the NodeID of the ConfigNode you want to remove by using `show confignodes`:

```Plain
show confignodes;
Expand All @@ -265,22 +265,10 @@ Total line number = 3
It costs 0.030s
```

2. Remove the ConfigNode using the script:

**Linux / MacOS:**

```Bash
sbin/remove-confignode.sh [confignode_id]
# Or:
sbin/remove-confignode.sh [cn_internal_address:cn_internal_port]
```

**Windows:**
Then use the SQL to remove the ConfigNode. SQL command:

```Bash
sbin/remove-confignode.bat [confignode_id]
# Or:
sbin/remove-confignode.bat [cn_internal_address:cn_internal_port]
remove confignode [confignode_id]
```

### 4.2 DataNode Maintenance
Expand Down Expand Up @@ -310,7 +298,7 @@ sbin/start-datanode.bat

#### 4.2.2 Removing a DataNode

1. Connect to the cluster using the CLI and confirm the RPC address and port of the DataNode to be removed:
First connect to the cluster through the CLI and confirm the NodeID of the DataNode you want to remove with `show datanodes`:

```Plain
show datanodes;
Expand All @@ -331,18 +319,10 @@ Total line number = 3
It costs 0.110s
```

2. Remove the DataNode using the script:

**Linux / MacOS:**

```Bash
sbin/remove-datanode.sh [dn_rpc_address:dn_rpc_port]
```

**Windows:**
Then use the SQL to remove the DataNode. SQL command:

```Bash
sbin/remove-datanode.bat [dn_rpc_address:dn_rpc_port]
remove datanode [datanode_id]
```

## 5 Common Issues
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ Parameter introduction:

#### Removing ConfigNode Nodes

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`:
First connect to the cluster through the CLI and confirm the NodeID of the ConfigNode you want to remove by using `show confignodes`:

```Bash
IoTDB> show confignodes
Expand All @@ -228,15 +228,10 @@ Total line number = 3
It costs 0.030s
```

Then use the script to remove the DataNode. Script command:
Then use the SQL to remove the ConfigNode. SQL command:

```Bash
# Linux / MacOS
sbin/remove-confignode.sh [confignode_id]

#Windows
sbin/remove-confignode.bat [confignode_id]

remove confignode [confignode_id]
```

### DataNode Node Maintenance
Expand Down Expand Up @@ -282,7 +277,7 @@ Note: After adding a DataNode, as new writes arrive (and old data expires, if TT

#### Removing DataNode Nodes

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`:
First connect to the cluster through the CLI and confirm the NodeID of the DataNode you want to remove with `show datanodes`:

```Bash
IoTDB> show datanodes
Expand All @@ -297,14 +292,10 @@ Total line number = 3
It costs 0.110s
```

Then use the script to remove the DataNode. Script command:
Then use the SQL to remove the DataNode. SQL command:

```Bash
# Linux / MacOS
sbin/remove-datanode.sh [datanode_id]

#Windows
sbin/remove-datanode.bat [datanode_id]
remove datanode [datanode_id]
```
## Common Questions

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ sbin/start-confignode.bat

#### Removing a ConfigNode

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

```Plain
show confignodes;
Expand All @@ -271,22 +271,10 @@ Total line number = 3
It costs 0.030s
```

2. Remove the ConfigNode using the script:

**Linux /** **MacOS**:

```Bash
sbin/remove-confignode.sh [confignode_id]
# Or:
sbin/remove-confignode.sh [cn_internal_address:cn_internal_port]
```

**Windows:**
2. Remove the ConfigNode using the SQL:

```Bash
sbin/remove-confignode.bat [confignode_id]
# Or:
sbin/remove-confignode.bat [cn_internal_address:cn_internal_port]
remove confignode [confignode_id]
```

### DataNode Maintenance
Expand Down Expand Up @@ -316,7 +304,7 @@ sbin/start-datanode.bat

#### Removing a DataNode

1. Connect to the cluster using the CLI and confirm the RPC address and port of the DataNode to be removed:
1. Connect to the cluster using the CLI and confirm the NodeID of the DataNode to be removed:

```Plain
show datanodes;
Expand All @@ -337,18 +325,10 @@ Total line number = 3
It costs 0.110s
```

2. Remove the DataNode using the script:

**Linux / MacOS:**

```Bash
sbin/remove-datanode.sh [dn_rpc_address:dn_rpc_port]
```

**Windows:**
2. Remove the DataNode using the SQL:

```Bash
sbin/remove-datanode.bat [dn_rpc_address:dn_rpc_port]
remove datanode [datanode_id]
```

## Common Questions
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ Parameter introduction:

#### Removing ConfigNode Nodes

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`:
First connect to the cluster through the CLI and confirm the NodeID of the ConfigNode you want to remove by using `show confignodes`:

```Bash
IoTDB> show confignodes
Expand All @@ -228,15 +228,10 @@ Total line number = 3
It costs 0.030s
```

Then use the script to remove the DataNode. Script command:
Then use the SQL to remove the ConfigNode. SQL command:

```Bash
# Linux / MacOS
sbin/remove-confignode.sh [confignode_id]

#Windows
sbin/remove-confignode.bat [confignode_id]

remove confignode [confignode_id]
```

### DataNode Node Maintenance
Expand Down Expand Up @@ -282,7 +277,7 @@ Note: After adding a DataNode, as new writes arrive (and old data expires, if TT

#### Removing DataNode Nodes

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`:
First connect to the cluster through the CLI and confirm the NodeID of the DataNode you want to remove with `show datanodes`:

```Bash
IoTDB> show datanodes
Expand All @@ -297,14 +292,10 @@ Total line number = 3
It costs 0.110s
```

Then use the script to remove the DataNode. Script command:
Then use the SQL to remove the DataNode. SQL command:

```Bash
# Linux / MacOS
sbin/remove-datanode.sh [datanode_id]

#Windows
sbin/remove-datanode.bat [datanode_id]
remove datanode [datanode_id]
```
## Common Questions

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ Parameter introduction:

#### Removing ConfigNode Nodes

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`:
First connect to the cluster through the CLI and confirm the NodeID of the ConfigNode you want to remove by using `show confignodes`:

```Bash
IoTDB> show confignodes
Expand All @@ -265,15 +265,10 @@ Total line number = 3
It costs 0.030s
```

Then use the script to remove the DataNode. Script command:
Then use the SQL to remove the ConfigNode. SQL command:

```Bash
# Linux / MacOS
sbin/remove-confignode.sh [confignode_id]

#Windows
sbin/remove-confignode.bat [confignode_id]

remove confignode [confignode_id]
```

### DataNode Node Maintenance
Expand Down Expand Up @@ -319,7 +314,7 @@ Note: After adding a DataNode, as new writes arrive (and old data expires, if TT

#### Removing DataNode Nodes

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`:
First connect to the cluster through the CLI and confirm the NodeID of the DataNode you want to remove with `show datanodes`:

```Bash
IoTDB> show datanodes
Expand All @@ -334,14 +329,10 @@ Total line number = 3
It costs 0.110s
```

Then use the script to remove the DataNode. Script command:
Then use the SQL to remove the DataNode. SQL command:

```Bash
# Linux / MacOS
sbin/remove-datanode.sh [datanode_id]

#Windows
sbin/remove-datanode.bat [datanode_id]
remove datanode [datanode_id]
```

## Common Questions
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ sbin/start-confignode.bat

#### 4.1.2 Removing a ConfigNode

1. Connect to the cluster using the CLI and confirm the internal address and port of the ConfigNode to be removed:
First connect to the cluster through the CLI and confirm the NodeID of the ConfigNode you want to remove by using `show confignodes`:

```Plain
show confignodes;
Expand All @@ -265,22 +265,10 @@ Total line number = 3
It costs 0.030s
```

2. Remove the ConfigNode using the script:

**Linux / MacOS:**

```Bash
sbin/remove-confignode.sh [confignode_id]
# Or:
sbin/remove-confignode.sh [cn_internal_address:cn_internal_port]
```

**Windows:**
Then use the SQL to remove the ConfigNode. SQL command:

```Bash
sbin/remove-confignode.bat [confignode_id]
# Or:
sbin/remove-confignode.bat [cn_internal_address:cn_internal_port]
remove confignode [confignode_id]
```

### 4.2 DataNode Maintenance
Expand Down Expand Up @@ -310,7 +298,7 @@ sbin/start-datanode.bat

#### 4.2.2 Removing a DataNode

1. Connect to the cluster using the CLI and confirm the RPC address and port of the DataNode to be removed:
First connect to the cluster through the CLI and confirm the NodeID of the DataNode you want to remove with `show datanodes`:

```Plain
show datanodes;
Expand All @@ -331,18 +319,10 @@ Total line number = 3
It costs 0.110s
```

2. Remove the DataNode using the script:

**Linux / MacOS:**

```Bash
sbin/remove-datanode.sh [dn_rpc_address:dn_rpc_port]
```

**Windows:**
Then use the SQL to remove the DataNode. SQL command:

```Bash
sbin/remove-datanode.bat [dn_rpc_address:dn_rpc_port]
remove datanode [datanode_id]
```

## 5 Common Issues
Expand Down
Loading