| 限定符和类型 | 字段和说明 |
|---|---|
protected String[] |
args
original commandline args
|
protected SparkCommandArgs |
commandArgs
args parsed from
args |
protected List<Path> |
files
files to be placed in the working directory of each spark executor
|
protected List<Path> |
jars
jars to include on the spark driver and executor classpaths
|
protected Map<String,String> |
sparkConf
spark configuration properties
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
appendAppJar(List<String> commands)
append appJar to StringBuilder
|
protected void |
appendFiles(List<String> commands,
List<Path> paths)
append files option to StringBuilder
|
protected void |
appendJars(List<String> commands,
List<Path> paths)
append jars option to StringBuilder
|
protected void |
appendOption(List<String> commands,
String option,
String value)
append option to StringBuilder
|
protected void |
appendPaths(List<String> commands,
String option,
List<Path> paths)
append comma-split paths option to StringBuilder
|
protected void |
appendSparkConf(List<String> commands,
Map<String,String> sparkConf)
append spark configurations to StringBuilder
|
List<String> |
buildCommands() |
protected List<String> |
buildFinal()
build final spark-submit commands
|
static void |
main(String[] args) |
protected String[] args
protected SparkCommandArgs commandArgs
argspublic static void main(String[] args) throws IOException
IOExceptionpublic List<String> buildCommands() throws IOException
buildCommands 在接口中 StarterIOExceptionprotected void appendOption(List<String> commands, String option, String value)
protected void appendJars(List<String> commands, List<Path> paths)
protected void appendFiles(List<String> commands, List<Path> paths)
protected void appendPaths(List<String> commands, String option, List<Path> paths)
protected void appendSparkConf(List<String> commands, Map<String,String> sparkConf)
Copyright © 2025 The Apache Software Foundation. All rights reserved.