Skip to content

Commit

Permalink
[Doc] Rename BE Port (StarRocks#5259) (StarRocks#5260)
Browse files Browse the repository at this point in the history
Signed-off-by: EsoragotoSpirit <[email protected]>
(cherry picked from commit 8352a12)

Co-authored-by: 絵空事スピリット <[email protected]>
  • Loading branch information
mergify[bot] and EsoragotoSpirit authored May 8, 2023
1 parent 6357dc3 commit d9f5452
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions administration/Cluster_administration.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ sh bin/start_fe.sh --helper <Leader_FE_IP>:<edit_log_port> --daemon
|---|---|---|
|storage_root_path|BE 节点存储数据路径,您需要提前创建相应路径。建议您为每个磁盘创建一个路径。|${STARROCKS_HOME}/storage|
|be_port|BE 上 Thrift Server 的端口,用于接收来自 FE 的请求。|9060|
|webserver_port|BE 上的 HTTP Server 的端口。|8040|
|be_http_port|BE 上的 HTTP Server 的端口。|8040|
|heartbeat_service_port|BE 上 Thrift server 端口,用于接收来自 FE 的心跳。|9050|
|brpc_port|BE 节点间的通讯端口。|8060|

Expand All @@ -78,7 +78,7 @@ sh bin/start_be.sh --daemon
|配置项|描述|默认值|
|---|---|---|
|thrift_port|CN 上 Thrift Server 的端口,用于接收来自 FE 的请求。|9060|
|webserver_port|CN 上的 HTTP Server 的端口。|8040|
|be_http_port|CN 上的 HTTP Server 的端口。|8040|
|heartbeat_service_port|CN 上 Thrift server 端口,用于接收来自 FE 的心跳。|9050|
|brpc_port|CN 与 BE 节点间的通讯端口。|8060|

Expand Down
2 changes: 1 addition & 1 deletion administration/Configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ curl -XPOST http://be_host:http_port/api/update_config?configuration_item=value
|base_cumulative_delta_ratio|0.3|BaseCompaction 触发条件之一:Cumulative 文件大小达到 Base 文件的比例。|
|max_compaction_concurrency|-1|BaseCompaction + CumulativeCompaction 的最大并发, -1 代表没有限制。|
|compaction_trace_threshold|60|单次 Compaction 打印 trace 的时间阈值,如果单次 compaction 时间超过该阈值就打印 trace,单位为秒。|
|webserver_port|8040|HTTP Server 端口。|
|be_http_port|8040|HTTP Server 端口。|
|webserver_num_workers|48|HTTP Server 线程数。|
|load_data_reserve_hours|4|小批量导入生成的文件保留的时。|
|number_tablet_writer_threads|16|流式导入的线程数。|
Expand Down
6 changes: 3 additions & 3 deletions administration/Memory_management.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ curl -XGET -s http://be_ip:8040/metrics | grep "^starrocks_be_.*_mem_bytes\|^sta
> 说明:
>
> * 将以上 `be_ip` 改为 BE 节点实际的 IP 地址。
> * BE `webserver_port` 默认为 `8040`
> * BE `be_http_port` 默认为 `8040`
对应指标的含义参考 [内存分类](#内存分类)

Expand All @@ -30,7 +30,7 @@ http://be_ip:8040/mem_tracker
> 说明:
>
> * 将以上 `be_ip` 改为 BE 节点实际的 IP 地址。
> * BE `webserver_port` 默认为 `8040`
> * BE `be_http_port` 默认为 `8040`
![MemTracker](../assets/memory_management_1.png)

Expand All @@ -52,7 +52,7 @@ http://be_ip:8040/memz
> 说明:
>
> * 将以上 `be_ip` 改为 BE 节点实际的 IP 地址。
> * BE `webserver_port` 默认为 `8040`
> * BE `be_http_port` 默认为 `8040`
示例:

Expand Down
4 changes: 2 additions & 2 deletions administration/Monitor_and_Alert.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ scrape_configs:
labels:
group: fe # 这里配置了 fe 的 group,该 group 中包含了 3 个 Frontends

- targets: ['be_host1:webserver_port', 'be_host2:webserver_port', 'be_host3:webserver_port']
- targets: ['be_host1:be_http_port', 'be_host2:be_http_port', 'be_host3:be_http_port']
labels:
group: be # 这里配置了 be 的 group,该 group 中包含了 3 个 Backends
- job_name: 'StarRocks_Cluster02' # 可以在Prometheus中监控多个StarRocks集群
Expand All @@ -100,7 +100,7 @@ scrape_configs:
labels:
group: fe

- targets: ['be_host1:webserver_port', 'be_host2:webserver_port', 'be_host3:webserver_port']
- targets: ['be_host1:be_http_port', 'be_host2:be_http_port', 'be_host3:be_http_port']
labels:
group: be
```
Expand Down
2 changes: 1 addition & 1 deletion administration/deploy_with_manager.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ bin/install.sh -h \
|实例名称|端口名称|默认端口|通讯方向|说明|
|---|---|---|---|---|
|BE|be_port|9060|FE --> BE|BE 上 thrift server 的端口,<br/>用于接收来自 FE 的请求。|
|BE|webserver_port|8040|BE <--> BE|BE 上的 http server 的端口。|
|BE|be_http_port|8040|BE <--> BE|BE 上的 http server 的端口。|
|BE|heartbeat_service_port|9050|FE --> BE|BE 上心跳服务端口(thrift),<br/>用于接收来自 FE 的心跳。|
|BE|brpc_port|8060|BE <--> BE|BE 上的 brpc 端口,<br/>用于 BE 之间通讯。|
|FE|**http_port**|**8030**|FE <--> 用户|FE 上的 http server 端口。|
Expand Down
2 changes: 1 addition & 1 deletion faq/Deploy_faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

## 安装 BE 节点后启动失败,并返回错误 "StarRocks BE http service did not start correctly, exiting"。我该如何解决?

如果在安装 BE 后启动报错 `StarRocks Be http service did not start correctly,exiting`,该问题是 BE 节点 `webserver_port` 端口被占用导致。您需要修改 BE 配置文件 **be.conf** 中的 `webserver_port` 配置项并重启 BE 服务使配置生效。如果多次修改为未被占用的端口,系统仍然重复报错,您需要检查节点是否装有 Yarn 等程序,确认监听端口选择修改监听规则,或者 BE 的端口选取范围绕过。
如果在安装 BE 后启动报错 `StarRocks Be http service did not start correctly,exiting`,该问题是 BE 节点 `be_http_port` 端口被占用导致。您需要修改 BE 配置文件 **be.conf** 中的 `be_http_port` 配置项并重启 BE 服务使配置生效。如果多次修改为未被占用的端口,系统仍然重复报错,您需要检查节点是否装有 Yarn 等程序,确认监听端口选择修改监听规则,或者 BE 的端口选取范围绕过。

## 在部署企业版 StarRocks 的过程当中,配置节点时报错:“Failed to Distribute files to node”。我该如何解决?

Expand Down

0 comments on commit d9f5452

Please sign in to comment.