com.baidubce.services.bmr.model
Class YarnApplicationConfig

java.lang.Object
  extended by com.baidubce.services.bmr.model.ApplicationConfig
      extended by 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.


Constructor Summary
YarnApplicationConfig()
           
 
Method Summary
 YarnApplicationConfig withVersion(String version)
          Configure the version of Yarn.
 
Methods inherited from class com.baidubce.services.bmr.model.ApplicationConfig
addProperty, getName, getProperties, getVersion, setName, setProperties, setVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

YarnApplicationConfig

public YarnApplicationConfig()
Method Detail

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.