java.io.Closeable, java.lang.AutoCloseable, org.apache.hadoop.service.Service, NodeLocalVolumeMonitorpublic class NodeLocalVolumeMonitorImpl extends org.apache.hadoop.service.AbstractService implements NodeLocalVolumeMonitor
| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
jobIdStrPrefix |
|
static java.lang.String |
MAPR_LOCALOUTPUT_DIR_DEFAULT |
|
static java.lang.String |
MAPR_LOCALOUTPUT_DIR_PARAM |
|
static java.lang.String |
MAPR_LOCALSPILL_DIR_DEFAULT |
|
static java.lang.String |
MAPR_LOCALSPILL_DIR_PARAM |
|
static java.lang.String |
MAPR_MAPRED_LOCAL_VOLUME_PATH |
|
static java.lang.String |
MAPR_NM_LOCAL_VOLUME_PATH |
|
static java.lang.String |
MAPR_UNCOMPRESSED_SUFFIX |
| Constructor | Description |
|---|---|
NodeLocalVolumeMonitorImpl(Context context) |
Initialize the node local volume monitor.
|
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
serviceInit(org.apache.hadoop.conf.Configuration conf) |
Initialize the service with the proper parameters.
|
protected void |
serviceStart() |
Start the thread that does the node local volume monitoring.
|
protected void |
serviceStop() |
Stop the thread that does the node local volume monitoring.
|
close, getBlockers, getConfig, getFailureCause, getFailureState, getLifecycleHistory, getName, getServiceState, getStartTime, init, isInState, noteFailure, putBlocker, registerGlobalListener, registerServiceListener, removeBlocker, setConfig, start, stop, toString, unregisterGlobalListener, unregisterServiceListener, waitForServiceToStoppublic static final java.lang.String MAPR_LOCALOUTPUT_DIR_PARAM
public static final java.lang.String MAPR_LOCALOUTPUT_DIR_DEFAULT
public static final java.lang.String MAPR_LOCALSPILL_DIR_PARAM
public static final java.lang.String MAPR_LOCALSPILL_DIR_DEFAULT
public static final java.lang.String MAPR_UNCOMPRESSED_SUFFIX
public static final java.lang.String MAPR_MAPRED_LOCAL_VOLUME_PATH
public static final java.lang.String MAPR_NM_LOCAL_VOLUME_PATH
public static final java.lang.String jobIdStrPrefix
public NodeLocalVolumeMonitorImpl(Context context)
protected void serviceInit(org.apache.hadoop.conf.Configuration conf)
throws java.lang.Exception
serviceInit in class org.apache.hadoop.service.AbstractServicejava.lang.Exceptionprotected void serviceStart()
throws java.lang.Exception
serviceStart in class org.apache.hadoop.service.AbstractServicejava.lang.Exceptionprotected void serviceStop()
throws java.lang.Exception
serviceStop in class org.apache.hadoop.service.AbstractServicejava.lang.ExceptionCopyright © 2008–2025 Apache Software Foundation. All rights reserved.