Yikun Jiang created SPARK-37687:
-----------------------------------

             Summary: Cleanup direct usage of OkHttpClient
                 Key: SPARK-37687
                 URL: https://issues.apache.org/jira/browse/SPARK-37687
             Project: Spark
          Issue Type: Bug
          Components: Kubernetes
    Affects Versions: 3.3.0
            Reporter: Yikun Jiang


- There are some problem (such as IPV6 based cluster support) on okhttpclient 
v3, but it's a little bit diffcult to upgrade to v4 [1]

- Kubernetes client are also consider to support other clients [2] rather than 
single okhttpclient.

- Kubernetes client add a abstract layer [3] to address supporting httpclient, 
okhttp client as one of supported http clients.

 

So, we better to consider to cleanup okhttpclient direct usage and use the 
httpclient which kubernetes client diret supported to reduce the potential risk 
in future upgrade.

 

See also:

[[1]https://github.com/fabric8io/kubernetes-client/issues/2632|https://github.com/fabric8io/kubernetes-client/issues/2632]

[2][https://github.com/fabric8io/kubernetes-client/issues/3663#issuecomment-997402993]

[3] [https://github.com/fabric8io/kubernetes-client/issues/3547]

 

 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to