com.baidubce.services.bmr.model
Class YarnApplicationConfig
java.lang.Object
com.baidubce.services.bmr.model.ApplicationConfig
com.baidubce.services.bmr.model.YarnApplicationConfig
public class YarnApplicationConfig
- extends ApplicationConfig
Represent a Yarn application.
A Yarn application can be configured with property of version.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
YarnApplicationConfig
public YarnApplicationConfig()
withVersion
public YarnApplicationConfig withVersion(String version)
- Configure the version of Yarn.
The reference version is as follows:
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
- Parameters:
version - The version of YARN.
- Returns:
- YARNApplicationConfig
Copyright © 2020. All rights reserved.