-
- Downloads
[SPARK-14702] Make environment of SparkLauncher launched process more configurable
## What changes were proposed in this pull request? Adds a few public methods to `SparkLauncher` to allow configuring some extra features of the `ProcessBuilder`, including the working directory, output and error stream redirection. ## How was this patch tested? Unit testing + simple Spark driver programs Author: Andrew Duffy <root@aduffy.org> Closes #14201 from andreweduffy/feature/launcher.
Showing
- core/src/test/java/org/apache/spark/launcher/SparkLauncherSuite.java 63 additions, 4 deletions...st/java/org/apache/spark/launcher/SparkLauncherSuite.java
- launcher/src/main/java/org/apache/spark/launcher/ChildProcAppHandle.java 1 addition, 4 deletions...in/java/org/apache/spark/launcher/ChildProcAppHandle.java
- launcher/src/main/java/org/apache/spark/launcher/SparkLauncher.java 144 additions, 23 deletions...rc/main/java/org/apache/spark/launcher/SparkLauncher.java
Please register or sign in to comment