How to read files uploaded by spark-submit on Kubernetes
--files
files should be accessed using SparkFiles.get utility:
get(filename: String): String
Get the absolute path of a file added through
SparkContext.addFile()
.
--files
files should be accessed using SparkFiles.get utility:
get(filename: String): String
Get the absolute path of a file added through
SparkContext.addFile()
.