-
Notifications
You must be signed in to change notification settings - Fork 241
[wip](E2E)Update Doris E2E Test Container to Use Latest Version #575
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
base: master
Are you sure you want to change the base?
Conversation
809b36c
to
e028aff
Compare
tEnv.getConfig() | ||
.getConfiguration() | ||
.setString("table.local-time-zone", ZoneId.systemDefault().getId()); |
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.
Don't we need to add other reads itcase?
"sh", | ||
"-c", | ||
"chmod -R 644 /root/be/conf/be.conf /root/fe/conf/fe.conf && chmod -R 755 /root/be/conf /root/fe/conf && chown -R root:root /root/be/conf /root/fe/conf") |
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.
What does this action mainly do?
@@ -19,13 +19,13 @@ CUR_DATE=`date +%Y%m%d-%H%M%S` | |||
|
|||
PPROF_TMPDIR="$DORIS_HOME/log/" | |||
|
|||
JAVA_OPTS="-Xmx1024m -DlogPath=$DORIS_HOME/log/jni.log -Xloggc:$DORIS_HOME/log/be.gc.log.$CUR_DATE -Djavax.security.auth.useSubjectCredsOnly=false -Dsun.security.krb5.debug=true -Dsun.java.command=DorisBE -XX:-CriticalJNINatives" | |||
JAVA_OPTS="-Xmx2048m -DlogPath=$DORIS_HOME/log/jni.log -Xloggc:$DORIS_HOME/log/be.gc.log.$CUR_DATE -Djavax.security.auth.useSubjectCredsOnly=false -Dsun.security.krb5.debug=true -Dsun.java.command=DorisBE -XX:-CriticalJNINatives" |
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.
Does this container need more memory?
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.
2048m is default configuration for Apache Doris 2.1.x
private void waitForContainerRunning() { | ||
LOG.info("Waiting for Doris services to be accessible..."); | ||
|
||
try { | ||
Awaitility.await("FE HTTP Service") | ||
.atMost(5, TimeUnit.MINUTES) | ||
.pollInterval(1, TimeUnit.SECONDS) | ||
.until( | ||
() -> { | ||
try { | ||
ExecResult result = | ||
dorisContainer.execInContainer( | ||
"curl", | ||
"-s", | ||
"-o", | ||
"/dev/null", | ||
"-w", | ||
"%{http_code}", | ||
"-m", | ||
"2", | ||
"http://localhost:" + FE.HTTP_PORT); | ||
boolean ready = result.getStdout().equals("200"); |
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.
You can directly use the verification method in DorisContaier.startContainer
fix timezone format code modify workflow images modify fe.conf to avoid oom modify flight port modify workflow modify workflow modify workflow modify workflow modify workflow modify workflow update workflow
e028aff
to
fc3b4e1
Compare
37a3514
to
0337399
Compare
Proposed changes
This PR includes several enhancements:
Docker Image Update
yagagaga/doris-standalone:2.1.7
. The Docker imageyagagagaga/doris-standalone:2.1.7
is maintained by @yagagagaga, who is an active contributor to the Apache Doris community.Workflow Optimizations
github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository
Problem Summary:
Describe the overview of changes.
Checklist(Required)
Further comments
If this is a relatively large or complex change, kick off the discussion at [email protected] by explaining why you chose the solution you did and what alternatives you considered, etc...