类 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.
-
-
构造器概要
构造器 构造器 说明 YarnApplicationConfig()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 YarnApplicationConfigwithVersion(String version)Configure the version of Yarn.-
从类继承的方法 com.baidubce.services.bmr.model.ApplicationConfig
addProperty, getName, getProperties, getVersion, setName, setProperties, setVersion
-
-
-
-
方法详细资料
-
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
- 参数:
version- The version of YARN.- 返回:
- YARNApplicationConfig
-
-