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. val actionConfig: ActionProperties[Configuration]
    Attributes
    protected
    Definition Classes
    HasConfig
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. val asIsConfig: Seq[Property]
    Attributes
    protected
    Definition Classes
    HasConfig
  7. 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
  8. 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
  9. 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
  10. def buildStringProperty(propertyName: String, propertyValue: String): Map[String, String]

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

    Render the XML for this config

    Render the XML for this config

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

    format predicates to expected pattern

    format predicates to expected pattern

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

    Render the XML for this element

    Render the XML for this element

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

    The name of the object

    The name of the object

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

    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]

    Get the Oozie properties for this object

    Get the Oozie properties for this object

    Definition Classes
    ShellAction → OozieProperties
  36. def requiresCredentials: Boolean

    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
    Definition Classes
    AnyRef
  38. def toString(): String
    Definition Classes
    AnyRef → Any
  39. def toXML: Elem

    The XML for this node

    The XML for this node

    Definition Classes
    ShellAction → XmlSerializable
  40. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  43. 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