Uh oh!
There was an error while loading. Please reload this page.
[SPARK-32468][SS][TESTS] Fix timeout config issue in Kafka connector tests - #29272
[SPARK-32468][SS][TESTS] Fix timeout config issue in Kafka connector tests#29272gaborgsomogyi wants to merge 1 commit into
Conversation
gaborgsomogyi
commented
Jul 28, 2020
SparkQA
commented
Jul 28, 2020
Test build #126722 has finished for PR 29272 at commit
|
dongjoon-hyun
commented
Jul 28, 2020
According to KAFKA-10318, is this Kafka 2.5.0 only bug? |
gaborgsomogyi
commented
Jul 28, 2020
No, just only the latest added. It effects all previous versions where these params exist. |
HeartSaVioR
commented
Jul 28, 2020
So my understanding is that |
gaborgsomogyi
commented
Jul 29, 2020
@HeartSaVioR that's exactly the main message. This part must be enforced on Kafka side just like in case of |
HeartSaVioR
commented
Jul 30, 2020
Looks like there's no further input. I'll retrigger test and merge once it passes. |
HeartSaVioR
commented
Jul 30, 2020
retest this, please |
2 similar comments
HeartSaVioR
commented
Jul 30, 2020
retest this, please |
HeartSaVioR
commented
Jul 30, 2020
retest this, please |
SparkQA
commented
Jul 30, 2020
Test build #126814 has finished for PR 29272 at commit
|
HeartSaVioR
commented
Jul 30, 2020
retest this, please |
SparkQA
commented
Jul 31, 2020
Test build #126827 has finished for PR 29272 at commit
|
HeartSaVioR
commented
Jul 31, 2020
retest this, please |
HyukjinKwon
commented
Jul 31, 2020
retest this please |
HyukjinKwon
commented
Jul 31, 2020
@gaborgsomogyi can you sync with the master and rebase? then the GitHub Actions build should pass. Jenkins seems down for some reasons. |
SparkQA
commented
Jul 31, 2020
Test build #126842 has finished for PR 29272 at commit
|
SparkQA
commented
Jul 31, 2020
Test build #126840 has finished for PR 29272 at commit
|
HeartSaVioR
commented
Jul 31, 2020
lol, somehow it passes Jenkins build. Merging. |
HeartSaVioR
commented
Jul 31, 2020
Thanks, merged to master! |
gaborgsomogyi
commented
Jul 31, 2020
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) <kabhwan.opensource@gmail.com> Signed-off-by: HyukjinKwon <gurwls223@apache.org>
…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. Closesapache#29272 from gaborgsomogyi/SPARK-32468. Authored-by: Gabor Somogyi <gabor.g.somogyi@gmail.com> Signed-off-by: Jungtaek Lim (HeartSaVioR) <kabhwan.opensource@gmail.com>
…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. Closesapache#29343 from HeartSaVioR/SPARK-32468-FOLLOWUP. Authored-by: Jungtaek Lim (HeartSaVioR) <kabhwan.opensource@gmail.com> Signed-off-by: HyukjinKwon <gurwls223@apache.org>
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.