-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mac m2电脑上下载的doris二进制包解压缩后启动start_fe.sh报如下错 #47479
Comments
按照be.log里的把start_be.sh里的vm_max_count的检查注释后be启动一段时间后就自动关闭了,日志如下 2025-01-31 10:18:26 2025-01-31T02:18:26+00:00 [Warn] [Entrypoint]: FE_SERVERS fe1:127.0.0.1:9010
2025-01-31 10:18:26 2025-01-31T02:18:26+00:00 [Warn] [Entrypoint]: BE_ADDR 127.0.0.1:9050
2025-01-31 10:18:26 2025-01-31T02:18:26+00:00 [Note] [Entrypoint]: MASTER_FE_IP 127.0.0.1
2025-01-31 10:18:26 2025-01-31T02:18:26+00:00 [Note] [Entrypoint]: CURRENT_BE_IP 127.0.0.1
2025-01-31 10:18:26 2025-01-31T02:18:26+00:00 [Note] [Entrypoint]: CURRENT_BE_PORT 9050
2025-01-31 10:18:26 2025-01-31T02:18:26+00:00 [Note] [Entrypoint]: PRIORITY_NETWORKS 127.0.0.0/24
2025-01-31 10:18:26 2025-01-31T02:18:26+00:00 [Note] [Entrypoint]: MASTER FE is not started. retry.
2025-01-31 10:18:48 2025-01-31T02:18:48+00:00 [Note] [Entrypoint]: MASTER FE is not started. retry.
2025-01-31 10:19:09 2025-01-31T02:19:09+00:00 [Note] [Entrypoint]: MASTER FE is not started. retry.
2025-01-31 10:19:23 fe_dec72c5d_8daf_480f_b031_5a61ea7feaea 127.0.0.1 9010 8030 9030 9020 -1 FOLLOWER true 466307823 true true 11 2025-01-31 02:19:03 2025-01-31 02:19:15 true doris-2.1.7-rc03-443e87e203 Yes
2025-01-31 10:19:23 2025-01-31T02:19:23+00:00 [Note] [Entrypoint]: MASTER FE is started!
2025-01-31 10:19:23 2025-01-31T02:19:23+00:00 [Note] [Entrypoint]: add priority_networks 127.0.0.0/24 to /opt/apache-doris/be/conf/be.conf
2025-01-31 10:19:23 2025-01-31T02:19:23+00:00 [Note] [Entrypoint]: this node role is mix
2025-01-31 10:19:23 2025-01-31T02:19:23+00:00 [Note] [Entrypoint]: ============= init args ================
2025-01-31 10:19:23 2025-01-31T02:19:23+00:00 [Note] [Entrypoint]: MASTER_FE_IP 127.0.0.1
2025-01-31 10:19:23 2025-01-31T02:19:23+00:00 [Note] [Entrypoint]: CURRENT_BE_IP 127.0.0.1
2025-01-31 10:19:23 2025-01-31T02:19:23+00:00 [Note] [Entrypoint]: BE is not register. retry.
2025-01-31 10:19:23 2025-01-31T02:19:23+00:00 [Note] [Entrypoint]: CURRENT_BE_PORT 9050
2025-01-31 10:19:23 2025-01-31T02:19:23+00:00 [Note] [Entrypoint]: RUN_TYPE ELECTION
2025-01-31 10:19:23 2025-01-31T02:19:23+00:00 [Note] [Entrypoint]: Executing SQL: alter system add backend '127.0.0.1:9050';
2025-01-31 10:19:23 2025-01-31T02:19:23+00:00 [Note] [Entrypoint]: BE successfully registered to FE!
2025-01-31 10:19:23 10004 127.0.0.1 9050 -1 -1 -1 -1 NULL NULL false false 00.000 0.000 1.000 B 0.000 0.00 % 0.00 % 0.000 {"location" : "default"} {"lastSuccessReportTabletsTime":"N/A","lastStreamLoadTime":-1,"isQueryDisabled":false,"isLoadDisabled":false} 0
2025-01-31 10:19:23 2025-01-31T02:19:23+00:00 [Note] [Entrypoint]: Verify that BE is registered to FE successfully
2025-01-31 10:19:23 2025-01-31T02:19:23+00:00 [Note] [Entrypoint]: Ready to start BE!
2025-01-31 10:19:24 10004 127.0.0.1 9050 -1 -1 -1 -1 NULL NULL false false 00.000 0.000 1.000 B 0.000 0.00 % 0.00 % 0.000 {"location" : "default"} {"lastSuccessReportTabletsTime":"N/A","lastStreamLoadTime":-1,"isQueryDisabled":false,"isLoadDisabled":false} 0
2025-01-31 10:19:24 2025-01-31T02:19:24+00:00 [Note] [Entrypoint]: EntryPoint Check - Verify that BE is registered to FE successfully
其中start_be.sh的修改如下
if [[ "$(uname -s)" != 'Darwin' ]]; then
# MAX_MAP_COUNT="$(cat /proc/sys/vm/max_map_count)"
# if [[ "${MAX_MAP_COUNT}" -lt 2000000 ]]; then
# echo "Please set vm.max_map_count to be 2000000 under root using 'sysctl -w vm.max_map_count=2000000'."
# exit 1
# fi
# if [[ "$(swapon -s | wc -l)" -gt 1 ]]; then
# echo "Please disable swap memory before installation."
# exit 1
# fi
fi
docker-compose里的配置如下
```yaml
be:
image: apache/doris:doris-be-2.1.7
hostname: be
environment:
- FE_ID=1
- FE_SERVERS=fe1:127.0.0.1:9010
- BE_ADDR=127.0.0.1:9050
mem_limit: 4g
memswap_limit: 4g
ulimits:
memlock:
soft: -1
hard: -1
nofile:
soft: 65536
hard: 65536 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Discussed in #47478
Originally posted by f1024557668 January 28, 2025
StdoutLogger 2025-01-28 16:47:33,3N using java version 17
StdoutLogger 2025-01-28 16:47:33,3N -Dfile.encoding=UTF-8 -Djavax.security.auth.useSubjectCredsOnly=false -XX:+UseG1GC -Xmx8192m -Xms8192m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/Users/tony/work/apache-doris-2.1.8-bin-arm64/fe/log/ -Xlog:gc*:/Users/tony/work/apache-doris-2.1.8-bin-arm64/fe/log/fe.gc.log.20250128-164733:time
StdoutLogger 2025-01-28 16:47:33,3N start time: 2025年 1月28日 星期二 16时47分33秒 CST
Failed to parse command line. exit now
然后手动把start_fe.sh里的-i imagepath删掉了,仍然报这个错。
我的环境是m2芯片和jdk17 zulu。
The text was updated successfully, but these errors were encountered: