com.baidubce.services.bmr.model
Class SparkApplicationConfig

java.lang.Object
  extended by com.baidubce.services.bmr.model.ApplicationConfig
      extended by com.baidubce.services.bmr.model.SparkApplicationConfig

public class SparkApplicationConfig
extends ApplicationConfig

Represent a SPARK applicaton.

A SPARK application can be configured with property of version.


Constructor Summary
SparkApplicationConfig()
           
 
Method Summary
 SparkApplicationConfig withVersion(String version)
          Configure the version of spark.
 
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

SparkApplicationConfig

public SparkApplicationConfig()
Method Detail

withVersion

public SparkApplicationConfig withVersion(String version)
Configure the version of spark. The reference version is as follows:

image type | image version | spark version supported hadoop | 1.0.0 | 1.6.0 hadoop | 1.1.0 | 2.1.0 hadoop | 1.2.0 | 2.1.0 hadoop | 2.0.0 | 2.3.2

Parameters:
version - The version of Spark.
Returns:
SparkApplicationConfig


Copyright © 2020. All rights reserved.