This repository was archived by the owner on Jan 9, 2020. It is now read-only.

Description
Background:
spark.jars has synonyms --jars in spark-submit.sh and addJar() on SparkLauncher
- same setup for files with:
spark.files and --files and addFile()
Current behavior in YARN:
Current behavior in Kubernetes:
Desired changes in Kubernetes behavior:
- merge these two configs (
spark.files and spark.kubernetes.driver.uploads.jars) into one for parallelism with YARN
- change the behavior of
spark.jars so that it treats file:// as submitter-local and local:// as container-local
- remove
--upload-jars and spark.kubernetes.driver.uploads.jars entirely and offer spark.jars=file:// as the replacement
Revealed when migrating an internal application to support both YARN and K8s and realized addFile() and addJar() don't work the same way between YARN and K8s.