-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[Enhancement] refactor allin1 image #28240
Conversation
15fbead
to
93c3d7c
Compare
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.
Wonderful job, how much additional volume are added to the image size after this change?
about 450MB fs_broker size, I guess around 100-200MB additional storage after compress. |
b91332c
to
5605444
Compare
loginfo "check if need to add BE into FE service ..." | ||
while true | ||
do | ||
result=`exec_sql_with_retry "SHOW BACKENDS;"` |
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.
result
can be possibly mixtured with error messages, need fix it here.
bbdec9c
to
1502fa1
Compare
* add supervisor and nginx into allin1 * add broker into allin1 * robust register BE BROKER into FE Signed-off-by: Kevin Xiaohua Cai <caixiaohua@starrocks.com>
* support aarch platform as well Signed-off-by: Kevin Xiaohua Cai <caixiaohua@starrocks.com>
Signed-off-by: Kevin Xiaohua Cai <caixiaohua@starrocks.com>
Signed-off-by: Kevin Xiaohua Cai <caixiaohua@starrocks.com>
Signed-off-by: Kevin Xiaohua Cai <caixiaohua@starrocks.com>
RUN yum install -y java-1.8.0-openjdk-devel tzdata openssl curl vim ca-certificates fontconfig gzip tar less hostname procps-ng lsof && \ | ||
rpm -ivh https://repo.mysql.com/mysql57-community-release-el7.rpm && \ | ||
RUN yum install -y java-1.8.0-openjdk-devel tzdata openssl curl vim ca-certificates fontconfig gzip tar less hostname procps-ng lsof python3-pip nginx nc && \ | ||
rpm -ivh https://repo.mysql.com//mysql80-community-release-el8-7.noarch.rpm && \ |
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.
two slash
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.
done
@@ -28,9 +28,9 @@ FROM registry.access.redhat.com/ubi8/ubi:8.7 | |||
ARG STARROCKS_ROOT=/opt/starrocks | |||
|
|||
RUN yum install -y java-1.8.0-openjdk-devel tzdata openssl curl vim ca-certificates fontconfig gzip tar less hostname procps-ng lsof && \ | |||
rpm -ivh https://repo.mysql.com/mysql57-community-release-el7.rpm && \ | |||
rpm -ivh https://repo.mysql.com//mysql80-community-release-el8-7.noarch.rpm && \ |
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.
double slash
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.
done
@@ -28,9 +28,9 @@ FROM registry.access.redhat.com/ubi8/ubi:8.7 | |||
ARG STARROCKS_ROOT=/opt/starrocks | |||
|
|||
RUN yum install -y java-1.8.0-openjdk-devel tzdata openssl curl vim ca-certificates fontconfig gzip tar less hostname procps-ng lsof && \ | |||
rpm -ivh https://repo.mysql.com/mysql57-community-release-el7.rpm && \ | |||
rpm -ivh https://repo.mysql.com//mysql80-community-release-el8-7.noarch.rpm && \ |
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.
double slash
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.
done
loginfo | ||
loginfo "Enjoy the journal to StarRocks blazing-fast lake-house engine!" | ||
|
||
while true |
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.
this while loop
is used to make run.sh run as a service, to avoid to exit?
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.
yes
Signed-off-by: Kevin Xiaohua Cai <caixiaohua@starrocks.com>
1502fa1
to
1eb0f84
Compare
[FE PR Coverage Check]😍 pass : 0 / 0 (0%) |
@Mergifyio backport branch-3.1 |
@Mergifyio backport branch-3.0 |
@Mergifyio backport branch-2.5 |
✅ Backports have been created
|
✅ Backports have been created
|
✅ Backports have been created
|
* add supervisor and nginx into allin1 * add broker into allin1 * robust register BE BROKER into FE * be able to use stream load directly talking to nginx http port Fixes #13319 Signed-off-by: Kevin Xiaohua Cai <caixiaohua@starrocks.com> (cherry picked from commit 011bf17) # Conflicts: # .dockerignore
Fixes #13319
What type of PR is this:
Checklist:
Bugfix cherry-pick branch check: