HeartSaVioR opened a new pull request, #37377:
URL: https://github.com/apache/spark/pull/37377

   ### What changes were proposed in this pull request?
   
   This PR proposes to use canonical host name for principals in KafkaTestUtils.
   
   This is effectively reverting a part of SPARK-39530, as we used the 
canonical host name before SPARK-39530. (We used IP as "127.0.0.1" (loopback) 
and the host part of principal as the canonical host name of "127.0.0.1") 
Picking up the actual IP to use IPv6 if appropriate remains unchanged from 
SPARK-39530.
   
   ### Why are the changes needed?
   
   KafkaDelegationTokenSuite fails on AWS EC2.
   
   ### Does this PR introduce _any_ user-facing change?
   
   No.
   
   ### How was this patch tested?
   
   Ran KafkaDelegationTokenSuite in AWS EC2 via following command:
   
   ```
   build/sbt "sql-kafka-0-10/testOnly *KafkaDelegationTokenSuite"
   ```
   
   This suite failed on current master branch and succeeds with this PR.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to