I saw that we can use spark-submit --files
to add files to the job. It's not a problem if I specify the absolute path like spark-submit --files /etc/somescript.sh
.
But what directory it will search for if I just put spark-submit --files somescript.sh
? Is it the current workplace folder or all the classpath?