类 SparkApplicationConfig


  • public class SparkApplicationConfig
    extends ApplicationConfig
    Represent a SPARK applicaton.

    A SPARK application can be configured with property of version.

    • 构造器详细资料

      • SparkApplicationConfig

        public SparkApplicationConfig()
    • 方法详细资料

      • 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

        参数:
        version - The version of Spark.
        返回:
        SparkApplicationConfig