You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yikun Jiang (Jira)" <ji...@apache.org> on 2021/12/20 03:07:00 UTC

[jira] [Created] (SPARK-37687) Cleanup direct usage of OkHttpClient

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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org