final class HiveAction extends Action with HasPrepare with HasConfig with HasJobXml
Oozie Hive action definition
- Alphabetic
- By Inheritance
- HiveAction
- HasJobXml
- HasConfig
- HasPrepare
- Action
- OozieProperties
- PropertyFormatter
- Nameable
- XmlSerializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
HiveAction(name: String, scriptName: String, scriptLocation: String, parameters: Seq[String], jobXmlOption: Option[String], files: Seq[String], configuration: Configuration, yarnConfig: YarnConfig, prepareOption: Option[Prepare])
- name
the name of the action
- scriptName
the name of the hive script
- scriptLocation
the path to the hive script
- parameters
a collection of parameters to the hive script
- jobXmlOption
optional job.xml path
- files
additional files to pass to job
- configuration
additional config for this action
- yarnConfig
Yarn configuration for this action
- prepareOption
an optional prepare stage for the action
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
val
actionConfig: ActionProperties[Configuration]
- Attributes
- protected
- Definition Classes
- HasConfig
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
val
asIsConfig: Seq[Property]
- Attributes
- protected
- Definition Classes
- HasConfig
-
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
-
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
-
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
-
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
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
configXML: Elem
Render the XML for this config
Render the XML for this config
- Attributes
- protected
- Definition Classes
- HasConfig
-
val
configuration: Configuration
- Definition Classes
- HiveAction → HasConfig
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
formatProperty(property: String): String
format predicates to expected pattern
format predicates to expected pattern
- Attributes
- protected
- Definition Classes
- PropertyFormatter
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
jobXml: Elem
Render the XML for this element
Render the XML for this element
- Attributes
- protected
- Definition Classes
- HasJobXml
-
val
jobXmlOption: Option[String]
- Definition Classes
- HiveAction → HasJobXml
-
val
jobXmlProperty: Map[String, String]
- Attributes
- protected
- Definition Classes
- HasJobXml
-
val
mappedConfig: Configuration
- Attributes
- protected
- Definition Classes
- HasConfig
-
val
mappedProperties: Map[String, String]
- Attributes
- protected
- Definition Classes
- HasConfig
-
val
name: String
The name of the object
The name of the object
- Definition Classes
- HiveAction → Nameable
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
val
prepareOption: Option[Prepare]
- Definition Classes
- HiveAction → HasPrepare
-
val
prepareOptionAndProps: Option[ActionProperties[Prepare]]
- Attributes
- protected
- Definition Classes
- HasPrepare
-
val
prepareOptionMapped: Option[Prepare]
- Attributes
- protected
- Definition Classes
- HasPrepare
-
val
prepareProperties: Map[String, String]
- Attributes
- protected
- Definition Classes
- HasPrepare
-
def
prepareXML: Elem
Render the XML for this prepare step
Render the XML for this prepare step
- Attributes
- protected
- Definition Classes
- HasPrepare
-
def
properties: Map[String, String]
Get the Oozie properties for this object
Get the Oozie properties for this object
- Definition Classes
- HiveAction → OozieProperties
-
def
requiresCredentials: Boolean
Does this action require yarn credentials in Kerberos environments
Does this action require yarn credentials in Kerberos environments
- Definition Classes
- Action
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
toXML: Elem
The XML for this node
The XML for this node
- Definition Classes
- HiveAction → XmlSerializable
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
val
xmlns: Option[String]
The XML namespace for an action element
The XML namespace for an action element
- Definition Classes
- HiveAction → Action