Every executor creates a directory with your submitted files and you can access every file's absolute path them with the following:
val fullFilePath = SparkFiles.get(fileName) On Jan 19, 2017 19:35, jeff saremi <jeffsar...@hotmail.com> wrote: I'd like to know how -- From within Java/spark -- I can access the dependent files which i deploy using "--files" option on the command line?