I need to put a properties file that my spark application uses in spark driver classpath.
As per the documentation, it looks like --driver-class-path should do this but it didn't work for me. I tried following. (lets say /home/myuser/ is the location of my property file)
- --driver-class-path /home/myuser/
- --driver-class-path /home/myuser/*
- --driver-class-path /home/myuser/,/home/myuser/*
- --driver-class-path /home/myuser/application.properties>
None of them worked.
I tried the same with --conf "spark.driver.extraClassPath=...." as well with no luck.
Any help is highly appreciated.