Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Duplicate
-
2.3.3, 2.4.3
-
None
-
None
Description
Hello,
If you use Spark with Kubernetes 1.13 or 1.14 you will see this error:
{"time": "2019-08-28T09:56:11.866Z", "lvl":"INFO", "logger": "org.apache.spark.internal.Logging", "thread":"kubernetes-executor-snapshots-subscribers-0","msg":"Going to request 1 executors from Kubernetes."} {"time": "2019-08-28T09:56:12.028Z", "lvl":"WARN", "logger": "io.fabric8.kubernetes.client.dsl.internal.WatchConnectionManager$2", "thread":"OkHttp https://kubernetes.default.svc/...","msg":"Exec Failure: HTTP 403, Status: 403 - "} java.net.ProtocolException: Expected HTTP 101 response but was '403 Forbidden'
Apparently the bug is fixed here: https://github.com/fabric8io/kubernetes-client/pull/1669
We have currently compiled Spark source code with Kubernetes-client 4.4.2 and it's working great on our cluster. We are using Kubernetes 1.13.10.
Could it be possible to update that dependency version?
Thanks!
Attachments
Issue Links
- duplicates
-
SPARK-28921 Spark jobs failing on latest versions of Kubernetes (1.15.3, 1.14.6, 1,13.10, 1.12.10, 1.11.10)
- Resolved