-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-32468][SS][TESTS] Fix timeout config issue in Kafka connector tests #29272
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
|
Test build #126722 has finished for PR 29272 at commit
|
|
According to KAFKA-10318, is this Kafka 2.5.0 only bug? |
|
No, just only the latest added. It effects all previous versions where these params exist. |
|
So my understanding is that |
|
@HeartSaVioR that's exactly the main message. This part must be enforced on Kafka side just like in case of |
HeartSaVioR
left a comment
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
|
Looks like there's no further input. I'll retrigger test and merge once it passes. |
|
retest this, please |
2 similar comments
|
retest this, please |
|
retest this, please |
|
Test build #126814 has finished for PR 29272 at commit
|
|
retest this, please |
|
Test build #126827 has finished for PR 29272 at commit
|
|
retest this, please |
|
retest this please |
|
@gaborgsomogyi can you sync with the master and rebase? then the GitHub Actions build should pass. Jenkins seems down for some reasons. |
|
Test build #126842 has finished for PR 29272 at commit
|
|
Test build #126840 has finished for PR 29272 at commit
|
|
lol, somehow it passes Jenkins build. Merging. |
|
Thanks, merged to master! |
|
Thanks everybody to help me! |
|
I have been getting reports for flaky tests based on this - I took a closer look on the explanation of Kafka configurations, and realized they're not interchangeable. My bad. This test (in Kafka) perfectly describes how these configurations work together (I'm wondering why When we request without timeout parameter, we're now using default value of So if the change is intended to make sure |
…s well when specifying "request.timeout.ms" on replacing "default.api.timeout.ms" ### What changes were proposed in this pull request? This patch is a follow-up to fill the gap in #29272 which missed to also provide `default.api.timeout.ms` as well. #29272 unintentionally changed the behavior on Kafka side timeout which is incompatible with the test timeout. (`default.api.timeout.ms` gets default value which is 60 seconds, longer than test timeout.) ### Why are the changes needed? We realized the PR for SPARK-32468 (#29272) doesn't work as we expect. See #29272 (comment) for more details. ### Does this PR introduce _any_ user-facing change? No, as it only touches the tests. ### How was this patch tested? Will trigger builds from Jenkins or Github Action multiple time and confirm. Closes #29343 from HeartSaVioR/SPARK-32468-FOLLOWUP. Authored-by: Jungtaek Lim (HeartSaVioR) <[email protected]> Signed-off-by: HyukjinKwon <[email protected]>
…tests ### What changes were proposed in this pull request? While I'm implementing SPARK-32032 I've found a bug in Kafka: https://issues.apache.org/jira/browse/KAFKA-10318. This will cause issues only later when it's fixed but it would be good to fix it now because SPARK-32032 would like to bring in `AdminClient` where the code blows up with the mentioned `ConfigException`. This would reduce the code changes in the mentioned jira. In this PR I've changed `default.api.timeout.ms` to `request.timeout.ms` which fulfils this condition. ### Why are the changes needed? Solve later problems and reduce SPARK-32032 PR size. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Existing unit tests. Closes apache#29272 from gaborgsomogyi/SPARK-32468. Authored-by: Gabor Somogyi <[email protected]> Signed-off-by: Jungtaek Lim (HeartSaVioR) <[email protected]>
…s well when specifying "request.timeout.ms" on replacing "default.api.timeout.ms" ### What changes were proposed in this pull request? This patch is a follow-up to fill the gap in apache#29272 which missed to also provide `default.api.timeout.ms` as well. apache#29272 unintentionally changed the behavior on Kafka side timeout which is incompatible with the test timeout. (`default.api.timeout.ms` gets default value which is 60 seconds, longer than test timeout.) ### Why are the changes needed? We realized the PR for SPARK-32468 (apache#29272) doesn't work as we expect. See apache#29272 (comment) for more details. ### Does this PR introduce _any_ user-facing change? No, as it only touches the tests. ### How was this patch tested? Will trigger builds from Jenkins or Github Action multiple time and confirm. Closes apache#29343 from HeartSaVioR/SPARK-32468-FOLLOWUP. Authored-by: Jungtaek Lim (HeartSaVioR) <[email protected]> Signed-off-by: HyukjinKwon <[email protected]>
What changes were proposed in this pull request?
While I'm implementing SPARK-32032 I've found a bug in Kafka: https://issues.apache.org/jira/browse/KAFKA-10318. This will cause issues only later when it's fixed but it would be good to fix it now because SPARK-32032 would like to bring in
AdminClientwhere the code blows up with the mentionedConfigException. This would reduce the code changes in the mentioned jira. In this PR I've changeddefault.api.timeout.mstorequest.timeout.mswhich fulfils this condition.Why are the changes needed?
Solve later problems and reduce SPARK-32032 PR size.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Existing unit tests.