This is an automated email from the ASF dual-hosted git repository. yiguolei pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push: new 8de8a9571a [docs] Fixed description about networks in Quick Start (#10639) 8de8a9571a is described below commit 8de8a9571ae2c2b4b9b070c3f849295ea237b438 Author: FreeOnePlus <54164178+freeonep...@users.noreply.github.com> AuthorDate: Wed Jul 6 22:49:43 2022 +0800 [docs] Fixed description about networks in Quick Start (#10639) --- docs/en/docs/get-starting/get-starting.md | 17 ++++++++++++----- docs/zh-CN/docs/get-starting/get-starting.md | 17 ++++++++++++----- 2 files changed, 24 insertions(+), 10 deletions(-) diff --git a/docs/en/docs/get-starting/get-starting.md b/docs/en/docs/get-starting/get-starting.md index 17ab9df4a6..1ee38f7541 100644 --- a/docs/en/docs/get-starting/get-starting.md +++ b/docs/en/docs/get-starting/get-starting.md @@ -40,6 +40,9 @@ under the License. **Before creating, please prepare the compiled FE/BE file, this tutorial will not repeat the compilation process.** + +**This tutorial is a mixed distribution tutorial of single node, 1FE and 1BE, only one node is needed, which is convenient for quickly experiencing Doris.** + 1. Set the maximum number of open file handles in the system ```shell @@ -82,7 +85,9 @@ under the License. # Configure FE-Config vi fe/conf/fe.conf # Uncomment priority_networks and modify parameters - priority_networks = 127.0.0.0/24 + # For example, if the IP address of the current node is 10.10.2.21, you need to change it to 10.10.2.0/24 and fill in + # What needs to be filled in here is the IP subnet address, not the IP address + priority_networks = 10.10.2.0/24 # save and exit ``` @@ -92,7 +97,9 @@ under the License. # Configure BE-Config vi be/conf/be.conf # Uncomment priority_networks and modify parameters - priority_networks = 127.0.0.0/24 + # For example, if the IP address of the current node is 10.10.2.21, you need to change it to 10.10.2.0/24 and fill in + # What needs to be filled in here is the IP subnet address, not the IP address + priority_networks = 10.10.2.0/24 # save and exit ``` @@ -137,10 +144,10 @@ under the License. Register BE to FE (using MySQL-Client, you need to install it yourself) ```shell - # login - mysql -h 127.0.0.1 -P 9030 -uroot + # login,Since it is a single node mixed distribution, FE_IP and BE_IP are the same IP address + mysql -h FE_IP -P 9030 -uroot # Register BE - ALTER SYSTEM ADD BACKEND "127.0.0.1:9050"; + ALTER SYSTEM ADD BACKEND "BE_IP:9050"; ``` ## Apache Doris is easy to use diff --git a/docs/zh-CN/docs/get-starting/get-starting.md b/docs/zh-CN/docs/get-starting/get-starting.md index e7ff203d6a..0f799b054e 100644 --- a/docs/zh-CN/docs/get-starting/get-starting.md +++ b/docs/zh-CN/docs/get-starting/get-starting.md @@ -40,6 +40,9 @@ under the License. **在创建之前,请准备好已完成编译的FE/BE文件,此教程不再赘述编译过程。** + +**该教程为单节点、1FE 和 1BE 的混布教程,只需要一个节点,便于快速体验 Doris。** + 1. 设置系统最大打开文件句柄数 ```shell @@ -82,7 +85,9 @@ under the License. # 配置FE-Config vi fe/conf/fe.conf # 取消priority_networks的注释,修改参数 - priority_networks = 127.0.0.0/24 + # 例如当前节点的 IP 地址为 10.10.2.21,则需要更改为 10.10.2.0/24 填入 + # 这里需要填入的是 IP 子网网段地址,并非 IP 地址 + priority_networks = 10.10.2.0/24 # 保存退出 ``` @@ -92,7 +97,9 @@ under the License. # 配置FE-Config vi be/conf/be.conf # 取消priority_networks的注释,修改参数 - priority_networks = 127.0.0.0/24 + # 例如当前节点的 IP 地址为 10.10.2.21,则需要更改为 10.10.2.0/24 填入 + # 这里需要填入的是 IP 子网网段地址,并非 IP 地址 + priority_networks = 10.10.2.0/24 # 保存退出 ``` @@ -137,10 +144,10 @@ under the License. 注册 BE 至 FE(使用MySQL-Client,需自行安装) ```shell - # 登录 - mysql -h 127.0.0.1 -P 9030 -uroot + # 登录,由于是单节点混布,所以 FE_IP 和 BE_IP 为同一个 IP 地址 + mysql -h FE_IP -P 9030 -uroot # 注册BE - ALTER SYSTEM ADD BACKEND "127.0.0.1:9050"; + ALTER SYSTEM ADD BACKEND "BE_IP:9050"; ``` ## Apache Doris简单使用 --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org