hawarden_
hawarden_

Reputation: 2170

Spark: which directory spark-submit will take to find --files?

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?

Upvotes: 1

Views: 932

Answers (1)

Related Questions