StarRocks / starrocks

The world's fastest open query engine for sub-second analytics both on and off the data lakehouse. With the flexibility to support nearly any scenario, StarRocks provides best-in-class performance for multi-dimensional analytics, real-time analytics, and ad-hoc queries. A Linux Foundation project.
https://starrocks.io
Apache License 2.0
9.01k stars 1.81k forks source link

docker run starRocks,FE service query port is NOT alive yet #50443

Closed LinMingQiang closed 2 months ago

LinMingQiang commented 2 months ago

relation to : https://github.com/StarRocks/starrocks/issues/29990

With the same step to run container.

  1. docker pull starrocks/allin1-ubuntu:latest

  2. docker run -p 9030:9030 -p 8030:8030 -p 8040:8040 --security-opt seccomp=unconfined -itd --name quickstart starrocks/allin1-ubuntu

  3. docker exec -it quickstart mysql -P 9030 -h 127.0.0.1 -u root --prompt="StarRocks > " -> ERROR 2003 (HY000): Can't connect to MySQL server on '127.0.0.1:9030' (111)

Expected behavior (Required)

Real behavior (Required)

StarRocks version (Required)

kevincai commented 2 months ago

please attach logs under /opt/data/starrocks/fe/log/, specifically the fe.out and the fe.log

LinMingQiang commented 2 months ago
image
LinMingQiang commented 2 months ago
image
LinMingQiang commented 2 months ago

It can be started normally, It is caused by insufficient memory of the container, cannot start with 1g of memory. So the document should mark the memory requirements