public class ScriptBasedNodeLabelsProvider extends AbstractNodeLabelsProvider
| Modifier and Type | Field and Description |
|---|---|
static String |
NODE_LABEL_PARTITION_PATTERN
Pattern used for searching in the output of the node labels script
|
DISABLE_NODE_LABELS_PROVIDER_FETCH_TIMER, intervalTime, NODE_LABELS_SEPRATOR, nodeLabels, nodeLabelsScheduler, readLock, timerTask, writeLock| Constructor and Description |
|---|
ScriptBasedNodeLabelsProvider() |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanUp()
Method used to terminate the Node Labels Fetch script.
|
TimerTask |
createTimerTask() |
protected void |
serviceInit(org.apache.hadoop.conf.Configuration conf) |
getNodeLabels, serviceStart, serviceStop, setNodeLabelsclose, 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 NODE_LABEL_PARTITION_PATTERN
protected void serviceInit(org.apache.hadoop.conf.Configuration conf)
throws Exception
serviceInit in class AbstractNodeLabelsProviderExceptionpublic void cleanUp()
cleanUp in class AbstractNodeLabelsProviderpublic TimerTask createTimerTask()
createTimerTask in class AbstractNodeLabelsProviderCopyright © 2022 Apache Software Foundation. All rights reserved.