public class SimpleHistoryLoggingService extends HistoryLoggingService
| Modifier and Type | Field and Description |
|---|---|
static String |
LOG_FILE_NAME_PREFIX |
static String |
RECORD_SEPARATOR |
appContext| Constructor and Description |
|---|
SimpleHistoryLoggingService() |
| Modifier and Type | Method and Description |
|---|---|
void |
handle(DAGHistoryEvent event)
Handle logging of history event
|
protected void |
serviceInit(org.apache.hadoop.conf.Configuration conf) |
protected void |
serviceStart() |
protected void |
serviceStop() |
setAppContextclose, getBlockers, getConfig, getFailureCause, getFailureState, getLifecycleHistory, getName, getServiceState, getStartTime, init, isInState, noteFailure, putBlocker, registerGlobalListener, registerServiceListener, removeBlocker, setConfig, start, stop, toString, unregisterGlobalListener, unregisterServiceListener, waitForServiceToStoppublic static final String RECORD_SEPARATOR
public static final String LOG_FILE_NAME_PREFIX
protected void serviceInit(org.apache.hadoop.conf.Configuration conf)
throws Exception
serviceInit in class org.apache.hadoop.service.AbstractServiceExceptionprotected void serviceStart()
throws Exception
serviceStart in class org.apache.hadoop.service.AbstractServiceExceptionprotected void serviceStop()
throws Exception
serviceStop in class org.apache.hadoop.service.AbstractServiceExceptionpublic void handle(DAGHistoryEvent event)
HistoryLoggingServicehandle in class HistoryLoggingServiceevent - History event to be loggedCopyright © 2020 Apache Software Foundation. All rights reserved.