Packages

final class ShellAction extends Action with HasPrepare with HasConfig with HasJobXml

Oozie Hive action definition

Linear Supertypes
HasJobXml, HasConfig, HasPrepare, Action, OozieProperties, PropertyFormatter, Nameable, XmlSerializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ShellAction
  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 ShellAction(name: String, scriptName: String, scriptLocation: String, commandLineArgs: Seq[String], envVars: Seq[String], files: Seq[String], captureOutput: Boolean, jobXmlOption: Option[String], configuration: Configuration, yarnConfig: YarnConfig, prepareOption: Option[Prepare])

    name

    the name of the action

    scriptName

    the name of the script

    scriptLocation

    the path to the script

    commandLineArgs

    command line arguments for script

    envVars

    environment variables for the script

    files

    files to include with the script

    captureOutput

    capture output from this action

    jobXmlOption

    optional job.xml path

    configuration

    additional config for this action

    yarnConfig

    Yarn configuration for this action

    prepareOption

    an optional prepare stage for the action

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def buildSequenceProperties(actionName: String, propName: String, valueSequence: Seq[String]): Map[String, String]

    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
  6. def buildSequenceToSingleValueProperty(actionName: String, propName: String, valueSequence: Seq[String]): Map[String, String]

    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
  7. def buildStringOptionProperty(actionName: String, propName: String, option: Option[String]): Map[String, String]

    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
  8. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  9. def configXML: Elem

    Render the XML for this config

    Render the XML for this config

    Attributes
    protected
    Definition Classes
    HasConfig
  10. val configuration: Configuration
    Definition Classes
    ShellActionHasConfig
  11. val configurationProperties: ActionProperties[Configuration]
    Attributes
    protected
    Definition Classes
    HasConfig
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def formatProperty(property: String): String

    format predicates to expected pattern

    format predicates to expected pattern

    Attributes
    protected
    Definition Classes
    PropertyFormatter
  16. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. def jobXml: Elem

    Render the XML for this element

    Render the XML for this element

    Attributes
    protected
    Definition Classes
    HasJobXml
  20. val jobXmlOption: Option[String]
    Definition Classes
    ShellActionHasJobXml
  21. val jobXmlProperty: Map[String, String]
    Attributes
    protected
    Definition Classes
    HasJobXml
  22. val mappedConfig: Configuration
    Attributes
    protected
    Definition Classes
    HasConfig
  23. val mappedProperties: Map[String, String]
    Attributes
    protected
    Definition Classes
    HasConfig
  24. val name: String

    The name of the object

    The name of the object

    Definition Classes
    ShellAction → Nameable
  25. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  28. val prepareOption: Option[Prepare]
    Definition Classes
    ShellAction → HasPrepare
  29. val prepareOptionAndProps: Option[ActionProperties[Prepare]]
    Attributes
    protected
    Definition Classes
    HasPrepare
  30. val prepareOptionMapped: Option[Prepare]
    Attributes
    protected
    Definition Classes
    HasPrepare
  31. val prepareProperties: Map[String, String]
    Attributes
    protected
    Definition Classes
    HasPrepare
  32. def prepareXML: Elem

    Render the XML for this prepare step

    Render the XML for this prepare step

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

    Get the Oozie properties for this object

    Get the Oozie properties for this object

    Definition Classes
    ShellAction → OozieProperties
  34. def requiresCredentials: Boolean

    Does this action require yarn credentials in Kerberos environments

    Does this action require yarn credentials in Kerberos environments

    Definition Classes
    Action
  35. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  36. def toString(): String
    Definition Classes
    AnyRef → Any
  37. def toXML: Elem

    The XML for this node

    The XML for this node

    Definition Classes
    ShellAction → XmlSerializable
  38. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  41. val xmlns: Option[String]

    The XML namespace for an action element

    The XML namespace for an action element

    Definition Classes
    ShellAction → 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