Skip to content

EMR Add Oozie Step

Nate Weisz edited this page Oct 6, 2015 · 3 revisions

Adds an Oozie step to an EMR cluster.

Delegate Class

org.finra.dm.service.activiti.task.AddEmrOozieStep

Input Parameters

Name Required Accepted Values Default Value Case Sensitive Description
namespace Y N The name of a valid namespace known by the system.
emrClusterDefinitionName Y N The name of EMR definition. Available definitions are defined EMR Cluster Defintion.
emrClusterName Y N The name of EMR cluster.
stepName Y The name of Step.
workflowXmlLocation Y The location of Oozie workflow XML.
ooziePropertiesFileLocation Y The location of Oozie properties file.
continueOnError N true, false false N Action on step failure, "true": continue, "false": cancel.

Output Parameters

Name Description
{taskId}_emrStepId The step ID.

Sample Usage in Activiti XML

<serviceTask id="addOozieStepServiceTask" name="Add Oozie Step" activiti:class="org.finra.dm.service.activiti.task.AddEmrOozieStep">
   <extensionElements>
      <activiti:field name="namespace" stringValue="testNamespace"/>
      <activiti:field name="emrClusterDefinitionName" expression="${emrClusterDefinitionName}"/>
      <activiti:field name="emrClusterName" expression="${clusterName}"/>
      <activiti:field name="stepName" expression="${stepName}"/>
      <activiti:field name="workflowXmlLocation" expression="${workflowXmlLocation}"/>
      <activiti:field name="ooziePropertiesFileLocation" expression="${ooziePropertiesFileLocation}"/>
      <activiti:field name="continueOnError" expression="${continueOnError}"/>
   </extensionElements>
</serviceTask>
Clone this wiki locally