Skip to content

Commit 28b1434

Browse files
author
Marcelo Vanzin
committed
Add a comment.
1 parent 304333a commit 28b1434

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

launcher/src/main/java/org/apache/spark/launcher/CommandBuilder.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,14 @@
2626
*/
2727
interface CommandBuilder {
2828

29+
/**
30+
* Builds the command like to execute.
31+
*
32+
* @param env A map containing environment variables for the child process. It may already contain
33+
* entries defined by the user (such as SPARK_HOME, or those defined by the
34+
* SparkLauncher constructor that takes an environment), and may be modified to
35+
* include other variables needed by the process to be executed.
36+
*/
2937
List<String> buildCommand(Map<String, String> env) throws IOException;
3038

3139
}

0 commit comments

Comments
 (0)