com.baidubce.services.bmr.model
Class MapReduce2ApplicationConfig
java.lang.Object
com.baidubce.services.bmr.model.ApplicationConfig
com.baidubce.services.bmr.model.MapReduce2ApplicationConfig
public class MapReduce2ApplicationConfig
- extends ApplicationConfig
Represent a MapReduce2 application.
A MapReduce2 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 |
MapReduce2ApplicationConfig
public MapReduce2ApplicationConfig()
withVersion
public MapReduce2ApplicationConfig withVersion(String version)
- Configure the version of MapReduce2.
The reference version is as follows:
image type | image version | mapreduce2 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 MapReduce2.
- Returns:
- MapReduce2ApplicationConfig
Copyright © 2020. All rights reserved.