|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.oozie.service.XLogCopyService
public class XLogCopyService
The XLogCopyService copies oozie.log contents onto HDFS. By default, it runs every 5 minutes.
| Field Summary | |
|---|---|
static String |
CONF_HDFS_LOG_DIR
HDFS directory where oozie log will be forward to. |
static String |
CONF_LOG_PURGE
|
static String |
CONF_PREFIX
|
static String |
CONF_SERVICE_INTERVAL
Time interval, in minutes, at which the service will be scheduled to run. |
static int |
CURRENT_LINE_NUMBER
|
static String |
HDFS_LOG_DIR
|
static Boolean |
IS_LOG_PURGING_ENABLED
|
static HashMap<String,String> |
jdbcConf
|
static String |
LAST_COMPLETE_LOG_FILE_NAME
|
static String |
LOGPROGRESS_GET_QUERY
|
static String |
LOGPROGRESS_INSERT_QUERY
|
static String |
LOGPROGRESS_UPDATE_QUERY
|
static String |
LOGPROGRESS_UPDATE_QUERY_WHERE_CLAUSE
|
static String |
OOZIE_INSTANCE_ID
|
| Fields inherited from interface org.apache.oozie.service.Service |
|---|
DEFAULT_LOCK_TIMEOUT, lockTimeout, USE_XCOMMAND |
| Constructor Summary | |
|---|---|
XLogCopyService()
|
|
| Method Summary | |
|---|---|
void |
destroy()
Destroy the service. |
String |
getConfHdfsLogDir()
|
Class<? extends Service> |
getInterface()
Return the public interface of the service. |
void |
init(Services services)
Initialize the service. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String CONF_PREFIX
public static final String CONF_SERVICE_INTERVAL
public static final String CONF_HDFS_LOG_DIR
public static final String CONF_LOG_PURGE
public static String HDFS_LOG_DIR
public static int CURRENT_LINE_NUMBER
public static String LAST_COMPLETE_LOG_FILE_NAME
public static String OOZIE_INSTANCE_ID
public static HashMap<String,String> jdbcConf
public static String LOGPROGRESS_GET_QUERY
public static String LOGPROGRESS_UPDATE_QUERY
public static String LOGPROGRESS_UPDATE_QUERY_WHERE_CLAUSE
public static String LOGPROGRESS_INSERT_QUERY
public static Boolean IS_LOG_PURGING_ENABLED
| Constructor Detail |
|---|
public XLogCopyService()
| Method Detail |
|---|
public void init(Services services)
throws ServiceException
ServiceService singleton at start up time.
init in interface Serviceservices - services singleton initializing the service.
ServiceException - thrown if the service could not initialize.public Class<? extends Service> getInterface()
Service
getInterface in interface Servicepublic void destroy()
ServiceService singleton at shutdown time.
destroy in interface Servicepublic String getConfHdfsLogDir()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||