org.apache.falcon.service
Class SharedLibraryHostingService
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SharedLibraryHostingService
public SharedLibraryHostingService()
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.