Class

ksb.csle.component.runner

SimpleSparkRunner

Related Doc: package runner

Permalink

class SimpleSparkRunner[P] extends BaseRunner[SparkSession, P, Any]

:: ApplicationDeveloperApi ::

Runner that gets session which derived from Spark context created by YARN.

Linear Supertypes
BaseRunner[SparkSession, P, Any], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SimpleSparkRunner
  2. BaseRunner
  3. BaseDoer
  4. Logging
  5. Serializable
  6. Serializable
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SimpleSparkRunner(o: P)

    Permalink

    o

    Object that contains message ksb.csle.common.proto.RunnerProto.SparkRunnerInfo SparkRunnerInfo containing attributes are as follows:

    • sparkArgs: Spark argument message to be passed to spark (optional) Spark arguement message contains belowed parameters.
    • inJson: method parameter passing to spark (deprecated) As of KSB v0.8.1, this paramter does not need to set any more.

    SparkRunnerInfo

    message SparkRunnerInfo {
      optional SparkArgs sparkArgs = 1;
      optional bool inJson = 2 [default = false];
    }

    SparkArgsInfo

    message SparkArgs {
      optional string appName = 1;
      optional string master =  2 [default = "local[*]"];
      optional string deployMode = 3;
      optional string mainClass = 4;
      optional string conf = 5;
      optional string executorCores = 7;
      optional string memory = 8;
      optional string driverMemory = 9;
      optional string executerMemory = 10;
      optional string numExecutors = 11;
      optional string totalCores = 12;
      optional string extraArgs = 13;
      repeated string confOptions = 14;
      optional string jars = 15;
      optional string pyFiles = 16;
      optional string mainJar = 17;
      optional string sparkVersion = 18 [default = "2.1.1"];
    }

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  10. def getSession: SparkSession

    Permalink

    Definition Classes
    SimpleSparkRunner → BaseRunner
  11. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  12. def init(a: Any): Unit

    Permalink
    Definition Classes
    SimpleSparkRunner → BaseRunner
  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  15. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. val p: SparkRunnerInfo

    Permalink
    Attributes
    protected
  19. def run(params: Any): Unit

    Permalink
    Definition Classes
    SimpleSparkRunner → BaseRunner
  20. val spark: SparkSession

    Permalink
    Attributes
    protected
  21. def stop: Unit

    Permalink
    Definition Classes
    SimpleSparkRunner → BaseRunner
  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  23. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  24. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from BaseRunner[SparkSession, P, Any]

Inherited from BaseDoer

Inherited from Logging

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped