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
[FLINK-15214] Introduce multiple submission e2e test #10666
Conversation
Thanks a lot for your contribution to the Apache Flink project. I'm the @flinkbot. I help the community Automated ChecksLast check on commit cc596f9 (Mon Dec 23 11:33:36 UTC 2019) Warnings:
Mention the bot in a comment to re-run the automated checks. Review Progress
Please see the Pull Request Review Guide for a full explanation of the review process. The Bot is tracking the review progress through labels. Labels are applied according to the order of the review items. For consensus, approval by a Flink committer of PMC member is required Bot commandsThe @flinkbot bot supports the following commands:
|
CI report:
Bot commandsThe @flinkbot bot supports the following commands:
|
flink-end-to-end-tests/test-scripts/test_mesos_multi_submission.sh
Outdated
Show resolved
Hide resolved
flink-end-to-end-tests/test-scripts/test_mesos_multi_submission.sh
Outdated
Show resolved
Hide resolved
flink-end-to-end-tests/test-scripts/test_mesos_multi_submission.sh
Outdated
Show resolved
Hide resolved
Thanks for the review @GJL . All the comments addressed. |
Travis gives green light to relevant test. https://travis-ci.org/KarmaGYZ/flink/builds/633110748 |
@flinkbot run travis |
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. I only had some minor comments.
flink-end-to-end-tests/test-scripts/test_mesos_multiple_submissions.sh
Outdated
Show resolved
Hide resolved
flink-end-to-end-tests/test-scripts/docker-mesos-cluster/docker-compose.yml
Outdated
Show resolved
Hide resolved
@@ -51,6 +51,7 @@ run_test "Run kubernetes test" "$END_TO_END_DIR/test-scripts/test_kubernetes_emb | |||
run_test "Run kubernetes session test" "$END_TO_END_DIR/test-scripts/test_kubernetes_session.sh" | |||
if [[ "${HADOOP_INTEGRATION}" = "with-hadoop" ]]; then | |||
run_test "Run Mesos WordCount test" "$END_TO_END_DIR/test-scripts/test_mesos_wordcount.sh" |
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.
After adding the new multiple submissions test, do we still need the word count test?
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.
I think we still need a "openbox" test case for deploying Flink on Mesos cluster. Anyway, it should be discussed in another ticket. WDYT?
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.
Can you define what you mean by "openbox"?
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.
I think each test case better not have multiple purposes so that we could find out the root cause quickly. I treat the WordCount case like a test for basic process of running Flink job on Mesos, including starting appmaster, running a simple job and verifying the correctness of result. I prefer to keep it in release 1.10, but I'm ok to remove it when the time overhead of E2E tests become severe.
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.
I agree that a separate test makes it easier to locate the root cause. However, due to being expensive, E2E tests should not be used for exhaustively testing all cases. Currently, running all E2E tests take more than 24 CPU hours on Travis. e2e - container - hadoop 2.8
takes ~43 minutes on Travis, which is not great but acceptable. Imo, if we decide to add more Mesos tests, we should start to consolidate soon.
cc: @tillrohrmann
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.
I agree with your conclusion that ideally we try to separate test cases but in this case it might acceptable to consolidate them in order to save build time.
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.
Fine. So, in which release version we need to remove the WordCount case? 1.10 or 1.11? I prefer to remove it in next release version, when two other Mesos test cases add. I don't have a strong opinion though.
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.
I am ok to consolidate them with the next test that we add.
…ence_in_logs function
PR updated. Travis link https://travis-ci.org/KarmaGYZ/flink/builds/633584594 |
Merging. |
What is the purpose of the change
Introduce multiple submission e2e test for Flink's Mesos integration.
Brief change log
Verifying this change
./run-single-test.sh test-scripts/test_mesos_multi_submission.sh
Does this pull request potentially affect one of the following parts:
@Public(Evolving)
: noDocumentation