dongjoon-hyun opened a new pull request #28625:
URL: https://github.com/apache/spark/pull/28625


   ### What changes were proposed in this pull request?
   
   This PR aims to upgrade `kubernetes-client` library to bring the JDK8 
related fixes. Please note that JDK11 works fine without any problem.
   - https://github.com/fabric8io/kubernetes-client/releases/tag/v4.9.2
     - JDK8 always uses http/1.1 protocol (Prevent OkHttp from wrongly enabling 
http/2)
   
   ### Why are the changes needed?
   
   OkHttp "wrongly" detects the Platform as Jdk9Platform on JDK 8u251.
   - https://github.com/fabric8io/kubernetes-client/issues/2212
   - 
https://stackoverflow.com/questions/61565751/why-am-i-not-able-to-run-sparkpi-example-on-a-kubernetes-k8s-cluster
   
   Although there is a workaround `export HTTP2_DISABLE=true` and `Downgrade 
JDK or K8s`, we had better avoid this problematic situation.
   
   ### Does this PR introduce _any_ user-facing change?
   
   No. This will recover the failures on JDK 8u252.
   
   ### How was this patch tested?
   
   - [ ] Pass the Jenkins UT
   - [ ] Pass the Jenkins K8S IT with the K8s 1.13
   - [ ] Manual testing with K8s 1.17.3.


----------------------------------------------------------------
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.

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