[SPARK-29027][TESTS] KafkaDelegationTokenSuite fix when loopback canonical host name differs from localhost#25803
[SPARK-29027][TESTS] KafkaDelegationTokenSuite fix when loopback canonical host name differs from localhost#25803gaborgsomogyi wants to merge 1 commit into
Conversation
…nical host name differs from localhost
|
@koertkuipers may I ask to test this PR on your environment? |
|
The code change looks good. Would like to see the result of CI build to ensure the change doesn't break existing ones. (CI build seems to be down right now.) |
|
Yeah, my intention is to test 3 ways (apart from my local clusters):
|
|
ok i will test |
|
Test build #110631 has finished for PR 25803 at commit
|
|
Kafka flakyness: |
|
retest this please |
|
Test build #110664 has finished for PR 25803 at commit
|
|
Same failure: it might be related to the change. Once the build fails for same reason it seems to be high likely due to the change. |
|
retest this, please |
|
Test build #110668 has finished for PR 25803 at commit
|
|
this fixed works for my environment. thanks! |
|
Glad to hear! If we run some more CI builds and verify they work without high flakiness, it should be good. |
|
retest this, please |
|
Test build #110677 has finished for PR 25803 at commit
|
|
retest this, please |
|
Test build #110707 has finished for PR 25803 at commit
|
|
Just to be on the safe side testing with maven as well |
|
retest this please |
|
Test build #110754 has finished for PR 25803 at commit
|
|
So all the tests pass what I wanted. Thanks @koertkuipers and @HeartSaVioR |
|
Merging to master. |
What changes were proposed in this pull request?
KafkaDelegationTokenSuitefails on different platforms with the following problem:The problem reproducible if the
localhostandlocalhost.localdomainorder exhanged:The main problem is that
ZkClientconnects to the canonical loopback address (which is not necessarilylocalhost).Why are the changes needed?
KafkaDelegationTokenSuitefailed in some environments.Does this PR introduce any user-facing change?
No.
How was this patch tested?
Existing unit tests on different platforms.