org.apache.falcon.converter
Class OozieProcessMapper
java.lang.Object
org.apache.falcon.converter.AbstractOozieEntityMapper<org.apache.falcon.entity.v0.process.Process>
org.apache.falcon.converter.OozieProcessMapper
public class OozieProcessMapper
- extends AbstractOozieEntityMapper<org.apache.falcon.entity.v0.process.Process>
This class maps the Falcon entities into Oozie artifacts.
Methods inherited from class org.apache.falcon.converter.AbstractOozieEntityMapper |
addLibExtensionsToWorkflow, createCoordDefaultConfiguration, createCoordProperty, createHiveConf, getCoordConfig, getCoordinatorTemplate, getCoordPath, getEntity, getStoragePath, getWorkflowTemplate, map, marshal, marshal, marshal, marshal |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OozieProcessMapper
public OozieProcessMapper(org.apache.falcon.entity.v0.process.Process entity)
getCoordinators
protected List<COORDINATORAPP> getCoordinators(org.apache.falcon.entity.v0.cluster.Cluster cluster,
Path bundlePath)
throws FalconException
- Specified by:
getCoordinators
in class AbstractOozieEntityMapper<org.apache.falcon.entity.v0.process.Process>
- Throws:
FalconException
createDefaultCoordinator
public COORDINATORAPP createDefaultCoordinator(org.apache.falcon.entity.v0.cluster.Cluster cluster,
Path bundlePath)
throws FalconException
- Creates default oozie coordinator.
- Parameters:
cluster
- - Cluster for which the coordiantor app need to be createdbundlePath
- - bundle path
- Returns:
- COORDINATORAPP
- Throws:
FalconException
- on Error
getEntityProperties
protected Map<String,String> getEntityProperties()
- Specified by:
getEntityProperties
in class AbstractOozieEntityMapper<org.apache.falcon.entity.v0.process.Process>
createWorkflow
protected void createWorkflow(org.apache.falcon.entity.v0.cluster.Cluster cluster,
org.apache.falcon.entity.v0.process.Process process,
org.apache.falcon.entity.v0.process.Workflow processWorkflow,
String wfName,
Path wfPath)
throws FalconException
- Throws:
FalconException
unMarshalHiveAction
protected JAXBElement<ACTION> unMarshalHiveAction(ACTION wfAction)
marshalHiveAction
protected void marshalHiveAction(ACTION wfAction,
JAXBElement<ACTION> actionjaxbElement)
Copyright © 2013-2014 Apache Software Foundation. All Rights Reserved.