Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
0.9.0
-
None
-
None
Description
I'd like to be able to do from my scala code:
System.setProperty("SPARK_YARN_APP_JAR", SparkContext.jarOfClass(this.getClass).head)
System.setProperty("SPARK_JAR", SparkContext.jarOfClass(SparkContext.getClass).head)
And do nothing on OS level.
Attachments
Issue Links
- is related to
-
SPARK-1179 Allow SPARK_YARN_APP_JAR to be set in system properties
- Resolved
- links to