public class SparkApplicationConfig extends ApplicationConfig
A SPARK application can be configured with property of version.
| Constructor and Description |
|---|
SparkApplicationConfig() |
| Modifier and Type | Method and Description |
|---|---|
SparkApplicationConfig |
withVersion(String version)
Configure the version of spark.
|
addProperty, getName, getProperties, getVersion, setName, setProperties, setVersionpublic SparkApplicationConfig withVersion(String version)
image type | image version | spark version supported hadoop | 1.0.0 | 1.6.0 hadoop | 1.1.0 | 2.1.0 hadoop | 1.2.0 | 2.1.0 hadoop | 2.0.0 | 2.3.2
version - The version of Spark.Copyright © 2020. All rights reserved.