forked from apache/doris
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[improvement](doc) add missing documents (apache#14460)
- Loading branch information
1 parent
ab83465
commit 6eeebd4
Showing
19 changed files
with
733 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
--- | ||
{ | ||
"title": "Config Dir", | ||
"language": "en" | ||
} | ||
--- | ||
|
||
<!-- | ||
Licensed to the Apache Software Foundation (ASF) under one | ||
or more contributor license agreements. See the NOTICE file | ||
distributed with this work for additional information | ||
regarding copyright ownership. The ASF licenses this file | ||
to you under the Apache License, Version 2.0 (the | ||
"License"); you may not use this file except in compliance | ||
with the License. You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, | ||
software distributed under the License is distributed on an | ||
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
KIND, either express or implied. See the License for the | ||
specific language governing permissions and limitations | ||
under the License. | ||
--> | ||
|
||
# Config Dir | ||
|
||
The configuration file directory for FE and BE is `conf/`. In addition to storing the default fe.conf, be.conf and other files, this directory is also used for the common configuration file storage directory. | ||
|
||
Users can store some configuration files in it, and the system will automatically read them. | ||
|
||
<version since="1.2.0"> | ||
|
||
## hdfs-site.xml and hive-site.xml | ||
|
||
In some functions of Doris, you need to access data on HDFS, or access Hive metastore. | ||
|
||
We can manually fill in various HDFS/Hive parameters in the corresponding statement of the function. | ||
|
||
But these parameters are very many, if all are filled in manually, it is very troublesome. | ||
|
||
Therefore, users can place the HDFS or Hive configuration file hdfs-site.xml/hive-site.xml directly in the `conf/` directory. Doris will automatically read these configuration files. | ||
|
||
The configuration that the user fills in the command will overwrite the configuration items in the configuration file. | ||
|
||
In this way, users only need to fill in a small amount of configuration to complete the access to HDFS/Hive. | ||
|
||
</version> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
62 changes: 62 additions & 0 deletions
62
...sql-reference/Database-Administration-Statements/ADMIN-CANCEL-REBALANCE-DISK.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
--- | ||
{ | ||
"title": "ADMIN-CANCEL-REBALANCE-DISK", | ||
"language": "en" | ||
} | ||
--- | ||
|
||
<!-- | ||
Licensed to the Apache Software Foundation (ASF) under one | ||
or more contributor license agreements. See the NOTICE file | ||
distributed with this work for additional information | ||
regarding copyright ownership. The ASF licenses this file | ||
to you under the Apache License, Version 2.0 (the | ||
"License"); you may not use this file except in compliance | ||
with the License. You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, | ||
software distributed under the License is distributed on an | ||
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
KIND, either express or implied. See the License for the | ||
specific language governing permissions and limitations | ||
under the License. | ||
--> | ||
|
||
## ADMIN-CANCEL-REBALANCE-DISK | ||
|
||
<version since="1.2.0"> | ||
|
||
### Name | ||
|
||
ADMIN CANCEL REBALANCE DISK | ||
|
||
### Description | ||
|
||
This statement is used to cancel rebalancing disks of specified backends with high priority | ||
|
||
Grammar: | ||
|
||
ADMIN CANCEL REBALANCE DISK [ON ("BackendHost1:BackendHeartBeatPort1", "BackendHost2:BackendHeartBeatPort2", ...)]; | ||
|
||
Explain: | ||
|
||
1. This statement only indicates that the system no longer rebalance disks of specified backends with high priority. The system will still rebalance disks by default scheduling. | ||
|
||
### Example | ||
|
||
1. Cancel High Priority Disk Rebalance of all of backends of the cluster | ||
|
||
ADMIN CANCEL REBALANCE DISK; | ||
|
||
2. Cancel High Priority Disk Rebalance of specified backends | ||
|
||
ADMIN CANCEL REBALANCE DISK ON ("192.168.1.1:1234", "192.168.1.2:1234"); | ||
|
||
### Keywords | ||
|
||
ADMIN,CANCEL,REBALANCE DISK | ||
|
||
### Best Practice | ||
|
||
</version> | ||
|
Oops, something went wrong.