public class YarnApplicationConfig extends ApplicationConfig
A Yarn application can be configured with property of version.
| Constructor and Description |
|---|
YarnApplicationConfig() |
| Modifier and Type | Method and Description |
|---|---|
YarnApplicationConfig |
withVersion(String version)
Configure the version of Yarn.
|
addProperty, getName, getProperties, getVersion, setName, setProperties, setVersionpublic YarnApplicationConfig withVersion(String version)
image type | image version | yarn version supported hadoop | 1.0.0/1.1.0/1.2.0 | 2.7.1 hadoop | 2.0.0 | 3.1.1
version - The version of YARN.Copyright © 2022. All rights reserved.