org.apache.falcon.service
Class SharedLibraryHostingService

java.lang.Object
  extended by org.apache.falcon.service.SharedLibraryHostingService
All Implemented Interfaces:
ConfigurationChangeListener

public class SharedLibraryHostingService
extends Object
implements ConfigurationChangeListener

Host shared libraries in oozie shared lib dir upon creation or modification of cluster.


Constructor Summary
SharedLibraryHostingService()
           
 
Method Summary
 void onAdd(Entity entity, boolean ignoreFailure)
           
 void onChange(Entity oldEntity, Entity newEntity)
           
 void onRemove(Entity entity)
           
static void pushLibsToHDFS(String src, Path target, org.apache.falcon.entity.v0.cluster.Cluster cluster, FalconPathFilter pathFilter)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SharedLibraryHostingService

public SharedLibraryHostingService()
Method Detail

pushLibsToHDFS

public static void pushLibsToHDFS(String src,
                                  Path target,
                                  org.apache.falcon.entity.v0.cluster.Cluster cluster,
                                  FalconPathFilter pathFilter)
                           throws IOException,
                                  FalconException
Throws:
IOException
FalconException

onAdd

public void onAdd(Entity entity,
                  boolean ignoreFailure)
           throws FalconException
Specified by:
onAdd in interface ConfigurationChangeListener
Throws:
FalconException

onRemove

public void onRemove(Entity entity)
              throws FalconException
Specified by:
onRemove in interface ConfigurationChangeListener
Throws:
FalconException

onChange

public void onChange(Entity oldEntity,
                     Entity newEntity)
              throws FalconException
Specified by:
onChange in interface ConfigurationChangeListener
Throws:
FalconException


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