@InterfaceAudience.LimitedPrivate(value={"yarn","mapreduce"})
public class AggregatedLogDeletionService
extends org.apache.hadoop.service.AbstractService
Constructor and Description |
---|
AggregatedLogDeletionService() |
Modifier and Type | Method and Description |
---|---|
protected org.apache.hadoop.conf.Configuration |
createConf() |
protected org.apache.hadoop.yarn.api.ApplicationClientProtocol |
createRMClient() |
long |
getCheckIntervalMsecs() |
void |
refreshLogRetentionSettings() |
protected void |
serviceStart() |
protected void |
serviceStop() |
protected void |
stopRMClient() |
close, getBlockers, getConfig, getFailureCause, getFailureState, getLifecycleHistory, getName, getServiceState, getStartTime, init, isInState, noteFailure, putBlocker, registerGlobalListener, registerServiceListener, removeBlocker, serviceInit, setConfig, start, stop, toString, unregisterGlobalListener, unregisterServiceListener, waitForServiceToStop
protected void serviceStart() throws Exception
serviceStart
in class org.apache.hadoop.service.AbstractService
Exception
protected void serviceStop() throws Exception
serviceStop
in class org.apache.hadoop.service.AbstractService
Exception
public void refreshLogRetentionSettings() throws IOException
IOException
public long getCheckIntervalMsecs()
protected org.apache.hadoop.conf.Configuration createConf()
protected org.apache.hadoop.yarn.api.ApplicationClientProtocol createRMClient() throws IOException
IOException
protected void stopRMClient()
Copyright © 2008–2019 Apache Software Foundation. All rights reserved.