Commit Graph

18 Commits

Author SHA1 Message Date
e8be023b35 [typo](docker) Adjust the indentation format of the init_be and entry_point scripts, as well as the duration of loop execution(Merge-2.1). (#45860)
### What problem does this PR solve?

Issue Number: close #xxx

Related PR: #xxx

Master PR: #45308 

Problem Summary:

Adjust the indentation format of the `init_be` and `entry_point`
scripts, as well as the duration of loop execution.
Adjust the smallest unit of all indentations to a single tab character,
and modify the loop duration when checking the BE startup status,
changing both from 300 seconds to 30 seconds to speed up the overall
Docker startup time.
2024-12-25 12:16:42 +08:00
980f28f9e2 [feat](docker)Modify the init_be and start_be scripts to meet the requirements for rapid Docker startup(Merge 2.1). (#45858)
### What problem does this PR solve?

Issue Number: close #xxx

Related PR: #45267

Master PR: #45269

Problem Summary:

To meet the needs of rapid Docker startup, I have made adjustments to
two related scripts in the Docker startup process. First, I added a env
`SKIP_CHECK_ULIMIT` to the `start_be.sh` script, which will skip the
size checks for `swap`, `ulimit`, and `max_map_count`. At the same time,
I used `--console` to start the process and print logs. The reason why I
did not use the `--daemon` daemon command to execute is that starting
with a foreground log printing method in a Docker container is the
correct and reliable approach.

At the same time, I added a check logic for a `be.conf` configuration
item in the `init_be.sh` script: if it is the first time starting,
append the export `SKIP_CHECK_ULIMIT=true` to skip the `ulimit` value
check in the BE process. In summary, these adjustments can meet the
basic requirements for rapid Docker startup usage.
2024-12-25 12:11:14 +08:00
87e6c94851 [docker](script)add --grace to be_prestop.sh (#33599) 2024-04-17 23:42:12 +08:00
cc103920d1 [k8s](improve)add docker resource script for k8s (#33329) 2024-04-17 23:42:00 +08:00
a937c54b2b [fix](docker)Fix the registration logic of Doris On Docker (#32026)
* Refactor upgrade documentation

* fix docker be entry point shell

---------

Co-authored-by: Yijia Su <suyijia@selectdb.com>
2024-03-12 14:20:18 +08:00
2ee12b8678 [improvement](docker)Optimize Dockerfile content for FE and BE (#32027)
* Refactor upgrade documentation

* Optimize Dockerfile content for FE and BE.

* Optimize Dockerfile content for FE and BE.

---------

Co-authored-by: Yijia Su <suyijia@selectdb.com>
2024-03-12 14:20:18 +08:00
27a3884060 [refactor](docker)Dockerfile shell refactor (#27569) 2023-12-16 23:45:06 +08:00
0282baaf56 [typo](docker) add logs console (#27570)
doris 2.0.2+ need use start_xx.sh --console
2023-12-06 20:50:09 +08:00
f1fd486f84 [fix](docker)Fix docker be init script restart failed bug (#20505)
fix docker be restart failed bug
2023-06-13 19:05:31 +08:00
24f9610cbb [fix](docker)Add container graceful exit logic (#20474)
Add FE container and BE container to execute the logic of the Stop script when executing the exit command to ensure that the metadata is written successfully and minimize the restart exception caused by BEBJE.
2023-06-06 15:25:21 +08:00
f1db1f3663 [fix](docker)Fix BE init script Bug (#20470)
change /bin/env bash -> /bin/bash
2023-06-06 15:23:35 +08:00
c323bc44ff [feature](docker)add be init script option (#16909) 2023-04-18 20:03:18 +08:00
ce7791c362 [fix](docker)Fix Dockerfile logic (#16791)
Error log logic fix.
Remove Chinese annotations.
2023-02-16 16:14:43 +08:00
4a6fd7cc30 [feature](docker) Add Docker BE computer node Interface (#16630) 2023-02-14 15:44:26 +08:00
274016f50e [fix](docker)Fix Docker init_be script (#16629)
docker_process_sql function have error output.
2023-02-11 16:15:48 +08:00
1cc735f20b [feature](docker)Refactor Image build script (#16528)
Co-authored-by: Yijia Su <suyijia@selectdb.com>
2023-02-10 18:30:54 +08:00
03aa5572da [feature](docker)Add Broker Docker image related files (#14621)
Add Broker Docker image related files
2022-11-29 18:34:10 +08:00
724e57bb87 [feature](docker)Add runtime docker image related files (#14436) 2022-11-23 23:58:44 +08:00