- java.lang.Object
-
- org.apache.hadoop.yarn.service.AbstractService
-
- org.apache.hadoop.yarn.server.nodemanager.containermanager.loghandler.NonAggregatingLogHandler
-
- All Implemented Interfaces:
- org.apache.hadoop.yarn.event.EventHandler<LogHandlerEvent>, LogHandler, org.apache.hadoop.yarn.service.Service
public class NonAggregatingLogHandler
extends org.apache.hadoop.yarn.service.AbstractService
implements LogHandler
Log Handler which schedules deletion of log files based on the configured log
retention time.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.hadoop.yarn.service.Service
org.apache.hadoop.yarn.service.Service.STATE
-
Method Summary
Methods
| Modifier and Type |
Method and Description |
void |
handle(LogHandlerEvent event) |
void |
init(org.apache.hadoop.conf.Configuration conf) |
void |
stop() |
-
Methods inherited from class org.apache.hadoop.yarn.service.AbstractService
getConfig, getName, getServiceState, getStartTime, register, start, unregister
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
stop
public void stop()
- Specified by:
stop in interface org.apache.hadoop.yarn.service.Service
- Overrides:
stop in class org.apache.hadoop.yarn.service.AbstractService
Copyright © 2014 Apache Software Foundation. All Rights Reserved.