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
8 changes: 4 additions & 4 deletions docs/en/installing/install-deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ BROKER does not currently have, nor does it need, priority\ networks. Broker's s

* Start FE

`sh bin/start_fe.sh --daemon`
`bash bin/start_fe.sh --daemon`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see that start_fe.sh has '#!/usr/bin/env bash'. So system will use bash call this shell.
So I think following will be better.

Suggested change
`bash bin/start_fe.sh --daemon`
`./bin/start_fe.sh --daemon`


The FE process starts and enters the background execution. Logs are stored in the fe/log/directory by default. If startup fails, you can view error messages by looking at fe/log/fe.log or fe/log/fe.out.

Expand Down Expand Up @@ -181,7 +181,7 @@ BROKER does not currently have, nor does it need, priority\ networks. Broker's s

* Start BE

`sh bin/start_be.sh --daemon`
`bash bin/start_be.sh --daemon`

The BE process will start and go into the background for execution. Logs are stored in be/log/directory by default. If startup fails, you can view error messages by looking at be/log/be.log or be/log/be.out.

Expand All @@ -201,7 +201,7 @@ Broker is deployed as a plug-in, independent of Doris. If you need to import dat

* Start Broker

`sh bin /start'u broker.sh --daemon ` start Broker
`bash bin /start'u broker.sh --daemon ` start Broker

* Add Broker

Expand All @@ -217,7 +217,7 @@ Broker is deployed as a plug-in, independent of Doris. If you need to import dat

Connect any booted FE using mysql-client and execute the following command to view Broker status: `SHOW PROC '/brokers';`

**Note: In production environments, daemons should be used to start all instances to ensure that processes are automatically pulled up after they exit, such as [Supervisor] (http://supervisord.org/). For daemon startup, in 0.9.0 and previous versions, you need to modify the start_xx.sh scripts to remove the last & symbol**. Starting with version 0.10.0, call `sh start_xx.sh` directly to start. Also refer to [here] (https://www.cnblogs.com/lenmom/p/9973401.html)
**Note: In production environments, daemons should be used to start all instances to ensure that processes are automatically pulled up after they exit, such as [Supervisor] (http://supervisord.org/). For daemon startup, in 0.9.0 and previous versions, you need to modify the start_xx.sh scripts to remove the last & symbol**. Starting with version 0.10.0, call `bash start_xx.sh` directly to start. Also refer to [here] (https://www.cnblogs.com/lenmom/p/9973401.html)

## Expansion and contraction

Expand Down
8 changes: 4 additions & 4 deletions docs/zh-CN/installing/install-deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ BROKER 当前没有,也不需要 priority\_networks 这个选项。Broker 的

* 启动FE

`sh bin/start_fe.sh --daemon`
`bash bin/start_fe.sh --daemon`

FE进程启动进入后台执行。日志默认存放在 fe/log/ 目录下。如启动失败,可以通过查看 fe/log/fe.log 或者 fe/log/fe.out 查看错误信息。

Expand Down Expand Up @@ -177,7 +177,7 @@ BROKER 当前没有,也不需要 priority\_networks 这个选项。Broker 的

* 启动 BE

`sh bin/start_be.sh --daemon`
`bash bin/start_be.sh --daemon`

BE 进程将启动并进入后台执行。日志默认存放在 be/log/ 目录下。如启动失败,可以通过查看 be/log/be.log 或者 be/log/be.out 查看错误信息。

Expand All @@ -197,7 +197,7 @@ Broker 以插件的形式,独立于 Doris 部署。如果需要从第三方存

* 启动 Broker

`sh bin/start_broker.sh --daemon` 启动 Broker。
`bash bin/start_broker.sh --daemon` 启动 Broker。

* 添加 Broker

Expand All @@ -213,7 +213,7 @@ Broker 以插件的形式,独立于 Doris 部署。如果需要从第三方存

使用 mysql-client 连接任一已启动的 FE,执行以下命令查看 Broker 状态:`SHOW PROC "/brokers";`

**注:在生产环境中,所有实例都应使用守护进程启动,以保证进程退出后,会被自动拉起,如 [Supervisor](http://supervisord.org/)。如需使用守护进程启动,在 0.9.0 及之前版本中,需要修改各个 start_xx.sh 脚本,去掉最后的 & 符号**。从 0.10.0 版本开始,直接调用 `sh start_xx.sh` 启动即可。也可参考 [这里](https://www.cnblogs.com/lenmom/p/9973401.html)
**注:在生产环境中,所有实例都应使用守护进程启动,以保证进程退出后,会被自动拉起,如 [Supervisor](http://supervisord.org/)。如需使用守护进程启动,在 0.9.0 及之前版本中,需要修改各个 start_xx.sh 脚本,去掉最后的 & 符号**。从 0.10.0 版本开始,直接调用 `bash start_xx.sh` 启动即可。也可参考 [这里](https://www.cnblogs.com/lenmom/p/9973401.html)

## 扩容缩容

Expand Down