-
Notifications
You must be signed in to change notification settings - Fork 3.4k
[chore](bash) optimize output information when doris_cloud startup #45883
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
Conversation
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
cloud/script/start.sh
Outdated
@@ -141,7 +141,7 @@ if [[ "${RUN_DAEMON}" -eq 1 ]]; then | ||
echo "${process} may not start successfully please check process log for more details" | ||
exit 1 | ||
fi | ||
echo "${process} start successfully" | ||
tail -n10 "${out_file}" | grep -E '(recycler|meta-service) started' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also grep version
ccbeb96
to
ada4313
Compare
run buildall |
PR approved by at least one committer and no changes requested. |
PR approved by anyone and no changes requested. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…45883) before: ``` bash bin/start.sh --daemon --meta-service LIBHDFS3_CONF= starts doris_cloud with args: --meta-service wait and check doris_cloud start successfully successfully started brpc listening on port=5000 time_elapsed_ms=11 doris_cloud start successfully ``` after: ``` bash bin/start.sh --daemon --meta-service 2024-12-26 15:31:53 start with args: --meta-service wait and check MetaService and Recycler start successfully process working directory: "/mnt/disk1/zhangminke/ms" pid=1666015 written to file=./bin/doris_cloud.pid version:{doris-0.0.0-release} code_version:{commit=fd44740fadabebfedb5da201d7ce427a5dd47c44 time=2025-01-16 18:53:00 +0800} build_info:{initiator=zhangminke@VM-10-6-centos build_at=2025-01-16 18:53:00 +0800 build_on=NAME="TencentOS Server" VERSION="3.1 (Final)" } use volatile mem kv, please make sure it is not a production environment MetaService has been started successfully successfully started service listening on port=23415 time_elapsed_ms=19 ```
…pache#45883) before: ``` bash bin/start.sh --daemon --meta-service LIBHDFS3_CONF= starts doris_cloud with args: --meta-service wait and check doris_cloud start successfully successfully started brpc listening on port=5000 time_elapsed_ms=11 doris_cloud start successfully ``` after: ``` bash bin/start.sh --daemon --meta-service 2024-12-26 15:31:53 start with args: --meta-service wait and check MetaService and Recycler start successfully process working directory: "/mnt/disk1/zhangminke/ms" pid=1666015 written to file=./bin/doris_cloud.pid version:{doris-0.0.0-release} code_version:{commit=fd44740fadabebfedb5da201d7ce427a5dd47c44 time=2025-01-16 18:53:00 +0800} build_info:{initiator=zhangminke@VM-10-6-centos build_at=2025-01-16 18:53:00 +0800 build_on=NAME="TencentOS Server" VERSION="3.1 (Final)" } use volatile mem kv, please make sure it is not a production environment MetaService has been started successfully successfully started service listening on port=23415 time_elapsed_ms=19 ```
What problem does this PR solve?
before:
after:
Issue Number: close #xxx
Related PR: #xxx
Problem Summary:
Release note
None
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)