public class OozieAdaptor extends AbstractAdaptor
adaptorID, control, dest, type| Constructor and Description | 
|---|
| OozieAdaptor() | 
| Modifier and Type | Method and Description | 
|---|---|
| int | addChunkToReceiver(byte[] data) | 
| org.apache.hadoop.conf.Configuration | getChukwaConfiguration() | 
| String | getCurrentStatus()Return the adaptor's state Should not include class name or byte
 offset, which are written by caller. | 
| String | parseArgs(String s) | 
| void | setChukwaConfiguration(org.apache.hadoop.conf.Configuration chukwaConfiguration) | 
| long | shutdown(AdaptorShutdownPolicy shutdownPolicy)Signals this adaptor to come to an orderly stop. | 
| void | start(long offset) | 
deregisterAndStop, getType, hardStop, parseArgs, shutdown, startpublic String parseArgs(String s)
parseArgs in class AbstractAdaptorpublic void start(long offset)
           throws AdaptorException
start in class AbstractAdaptorAdaptorExceptionpublic String getCurrentStatus()
Adaptorpublic long shutdown(AdaptorShutdownPolicy shutdownPolicy) throws AdaptorException
AdaptorAdaptorExceptionpublic int addChunkToReceiver(byte[] data)
public org.apache.hadoop.conf.Configuration getChukwaConfiguration()
public void setChukwaConfiguration(org.apache.hadoop.conf.Configuration chukwaConfiguration)
Copyright © 2014 Apache Software Foundation. All Rights Reserved.