Apache Spark enhanced with native Kubernetes scheduler back-end: NOTE this repository is being ARCHIVED as all new development for the kubernetes scheduler back-end is now on https://github.com/apache/spark/
I noticed that a secret named with suffix -submitted-files gets created even when no local file dependency is used. Below is part of the spark-submit command I used. Both the jar files specified through --jars and the main application jar are remote dependencies. My understanding is such a secret should only be created when no RSS gets specified and there's local files to ship to the driver/executors.
Below is the result of running kubectl get secrets.
ynli-macbookpro:~ ynli$ kubectl get secrets
NAME TYPE DATA AGE
default-token-9ddgs kubernetes.io/service-account-token 3 5d
spark-09e8db9d3478410ab023d7907ea5ef6f-submitted-files Opaque 0 12m
I noticed that a secret named with suffix
-submitted-files
gets created even when no local file dependency is used. Below is part of the spark-submit command I used. Both the jar files specified through--jars
and the main application jar are remote dependencies. My understanding is such a secret should only be created when no RSS gets specified and there's local files to ship to the driver/executors.Below is the result of running
kubectl get secrets
.@foxish @mccheah