org.apache.falcon.workflow.engine
Class OozieHouseKeepingService

java.lang.Object
  extended by org.apache.falcon.workflow.engine.OozieHouseKeepingService
All Implemented Interfaces:
WorkflowEngineActionListener

public class OozieHouseKeepingService
extends Object
implements WorkflowEngineActionListener

Service that cleans up artifacts that falcon dropped on hdfs for oozie's use.


Constructor Summary
OozieHouseKeepingService()
           
 
Method Summary
 void afterDelete(Entity entity, String clusterName)
           
 void afterResume(Entity entity, String cluster)
           
 void afterSchedule(Entity entity, String cluster)
           
 void afterSuspend(Entity entity, String cluster)
           
 void beforeDelete(Entity entity, String cluster)
           
 void beforeResume(Entity entity, String cluster)
           
 void beforeSchedule(Entity entity, String cluster)
           
 void beforeSuspend(Entity entity, String cluster)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OozieHouseKeepingService

public OozieHouseKeepingService()
Method Detail

beforeSchedule

public void beforeSchedule(Entity entity,
                           String cluster)
                    throws FalconException
Specified by:
beforeSchedule in interface WorkflowEngineActionListener
Throws:
FalconException

afterSchedule

public void afterSchedule(Entity entity,
                          String cluster)
                   throws FalconException
Specified by:
afterSchedule in interface WorkflowEngineActionListener
Throws:
FalconException

beforeDelete

public void beforeDelete(Entity entity,
                         String cluster)
                  throws FalconException
Specified by:
beforeDelete in interface WorkflowEngineActionListener
Throws:
FalconException

afterDelete

public void afterDelete(Entity entity,
                        String clusterName)
                 throws FalconException
Specified by:
afterDelete in interface WorkflowEngineActionListener
Throws:
FalconException

beforeSuspend

public void beforeSuspend(Entity entity,
                          String cluster)
                   throws FalconException
Specified by:
beforeSuspend in interface WorkflowEngineActionListener
Throws:
FalconException

afterSuspend

public void afterSuspend(Entity entity,
                         String cluster)
                  throws FalconException
Specified by:
afterSuspend in interface WorkflowEngineActionListener
Throws:
FalconException

beforeResume

public void beforeResume(Entity entity,
                         String cluster)
                  throws FalconException
Specified by:
beforeResume in interface WorkflowEngineActionListener
Throws:
FalconException

afterResume

public void afterResume(Entity entity,
                        String cluster)
                 throws FalconException
Specified by:
afterResume in interface WorkflowEngineActionListener
Throws:
FalconException


Copyright © 2013-2014 Apache Software Foundation. All Rights Reserved.