I\'m trying to get the path to spark.worker.dir for the current sparkcontext.
spark.worker.dir
sparkcontext
If I explicitly set it as a config param, I can read
config param
Just for the records the analogous java version:
Tuple2 sc[] = sparkConf.getAll(); for (int i = 0; i < sc.length; i++) { System.out.println(sc[i]); }