Class/Object

org.antipathy.scoozie.action

SparkAction

Related Docs: object SparkAction | package action

Permalink

final class SparkAction extends Action with HasPrepare with HasConfig with HasJobXml

Oozie Spark action definition

Linear Supertypes
HasJobXml, HasConfig, HasPrepare, Action, OozieProperties, PropertyFormatter, Nameable, XmlSerializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SparkAction
  2. HasJobXml
  3. HasConfig
  4. HasPrepare
  5. Action
  6. OozieProperties
  7. PropertyFormatter
  8. Nameable
  9. XmlSerializable
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SparkAction(name: String, sparkMasterURL: String, sparkMode: String, sparkJobName: String, mainClass: String, sparkJar: String, sparkOptions: String, commandLineArgs: Seq[String], jobXmlOption: Option[String], prepareOption: Option[Prepare], configuration: Configuration, yarnConfig: YarnConfig)

    Permalink

    name

    the name of the action

    sparkMasterURL

    the url of the spark master

    sparkMode

    the mode the spark job should run in

    sparkJobName

    the name of the spark job

    mainClass

    the main class of the spark job

    sparkJar

    the location of the spark jar

    sparkOptions

    options for the spark job

    commandLineArgs

    command line arguments for the spark job

    jobXmlOption

    optional job.xml path

    prepareOption

    an optional prepare phase for the action

    configuration

    additional config for this action

    yarnConfig

    Yarn configuration for this action

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. val actionConfig: ActionProperties[Configuration]

    Permalink
    Attributes
    protected
    Definition Classes
    HasConfig
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. val asIsConfig: Seq[Property]

    Permalink
    Attributes
    protected
    Definition Classes
    HasConfig
  7. def buildSequenceProperties(actionName: String, propName: String, valueSequence: Seq[String]): Map[String, String]

    Permalink

    Convert a sequence of property values to a map of KV pairs

    Convert a sequence of property values to a map of KV pairs

    actionName

    The name of the action to insert into the property name

    valueSequence

    The property values

    Attributes
    protected
    Definition Classes
    OozieProperties
  8. def buildSequenceToSingleValueProperty(actionName: String, propName: String, valueSequence: Seq[String]): Map[String, String]

    Permalink

    Convert a sequence of properties to a single (comma separated) value and map to a KV pair

    Convert a sequence of properties to a single (comma separated) value and map to a KV pair

    actionName

    The name of the action to insert into the property name

    propName

    The name of the property

    valueSequence

    The property values

    Attributes
    protected
    Definition Classes
    OozieProperties
  9. def buildStringOptionProperty(actionName: String, propName: String, option: Option[String]): Map[String, String]

    Permalink

    Convert an optional property to a map of KV pairs

    Convert an optional property to a map of KV pairs

    actionName

    The name of the action to insert into the property name

    propName

    The name of the property

    option

    the optional value to convert

    Attributes
    protected
    Definition Classes
    OozieProperties
  10. def buildStringProperty(propertyName: String, propertyValue: String): Map[String, String]

    Permalink

    Construct a map of property values to their substituted names

    Construct a map of property values to their substituted names

    propertyName

    the name of the substituted property

    propertyValue

    the value of the property

    returns

    A map of the value to the new name

    Definition Classes
    OozieProperties
  11. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def configXML: Elem

    Permalink

    Render the XML for this config

    Render the XML for this config

    Attributes
    protected
    Definition Classes
    HasConfig
  13. val configuration: Configuration

    Permalink

    additional config for this action

    additional config for this action

    Definition Classes
    SparkActionHasConfig
  14. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def formatProperty(property: String): String

    Permalink

    format predicates to expected pattern

    format predicates to expected pattern

    Attributes
    protected
    Definition Classes
    PropertyFormatter
  18. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  19. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. def jobXml: Elem

    Permalink

    Render the XML for this element

    Render the XML for this element

    Attributes
    protected
    Definition Classes
    HasJobXml
  22. val jobXmlOption: Option[String]

    Permalink

    optional job.xml path

    optional job.xml path

    Definition Classes
    SparkActionHasJobXml
  23. val jobXmlProperty: Map[String, String]

    Permalink
    Attributes
    protected
    Definition Classes
    HasJobXml
  24. val mappedConfig: Configuration

    Permalink
    Attributes
    protected
    Definition Classes
    HasConfig
  25. val mappedProperties: Map[String, String]

    Permalink
    Attributes
    protected
    Definition Classes
    HasConfig
  26. val name: String

    Permalink

    the name of the action

    the name of the action

    Definition Classes
    SparkAction → Nameable
  27. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  30. val prepareOption: Option[Prepare]

    Permalink

    an optional prepare phase for the action

    an optional prepare phase for the action

    Definition Classes
    SparkAction → HasPrepare
  31. val prepareOptionAndProps: Option[ActionProperties[Prepare]]

    Permalink
    Attributes
    protected
    Definition Classes
    HasPrepare
  32. val prepareOptionMapped: Option[Prepare]

    Permalink
    Attributes
    protected
    Definition Classes
    HasPrepare
  33. val prepareProperties: Map[String, String]

    Permalink
    Attributes
    protected
    Definition Classes
    HasPrepare
  34. def prepareXML: Elem

    Permalink

    Render the XML for this prepare step

    Render the XML for this prepare step

    Attributes
    protected
    Definition Classes
    HasPrepare
  35. def properties: Map[String, String]

    Permalink

    Get the Oozie properties for this object

    Get the Oozie properties for this object

    Definition Classes
    SparkAction → OozieProperties
  36. def requiresCredentials: Boolean

    Permalink

    Does this action require yarn credentials in Kerberos environments

    Does this action require yarn credentials in Kerberos environments

    Definition Classes
    Action
  37. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  39. def toXML: Elem

    Permalink

    The XML for this node

    The XML for this node

    Definition Classes
    SparkAction → XmlSerializable
  40. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. val xmlns: Option[String]

    Permalink

    The XML namespace for an action element

    The XML namespace for an action element

    Definition Classes
    SparkAction → Action

Inherited from HasJobXml

Inherited from HasConfig

Inherited from HasPrepare

Inherited from Action

Inherited from OozieProperties

Inherited from PropertyFormatter

Inherited from Nameable

Inherited from XmlSerializable

Inherited from AnyRef

Inherited from Any

Ungrouped