org.apache.hadoop.yarn.server.nodemanager.containermanager.logaggregation
Class AppLogAggregatorImpl
java.lang.Object
org.apache.hadoop.yarn.server.nodemanager.containermanager.logaggregation.AppLogAggregatorImpl
- All Implemented Interfaces:
- Runnable, AppLogAggregator
public class AppLogAggregatorImpl
- extends Object
- implements AppLogAggregator
|
Constructor Summary |
AppLogAggregatorImpl(org.apache.hadoop.yarn.event.Dispatcher dispatcher,
DeletionService deletionService,
org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.yarn.api.records.ApplicationId appId,
org.apache.hadoop.security.UserGroupInformation userUgi,
LocalDirsHandlerService dirsHandler,
org.apache.hadoop.fs.Path remoteNodeLogFileForApp,
org.apache.hadoop.yarn.logaggregation.ContainerLogsRetentionPolicy retentionPolicy,
Map<org.apache.hadoop.yarn.api.records.ApplicationAccessType,String> appAcls)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AppLogAggregatorImpl
public AppLogAggregatorImpl(org.apache.hadoop.yarn.event.Dispatcher dispatcher,
DeletionService deletionService,
org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.yarn.api.records.ApplicationId appId,
org.apache.hadoop.security.UserGroupInformation userUgi,
LocalDirsHandlerService dirsHandler,
org.apache.hadoop.fs.Path remoteNodeLogFileForApp,
org.apache.hadoop.yarn.logaggregation.ContainerLogsRetentionPolicy retentionPolicy,
Map<org.apache.hadoop.yarn.api.records.ApplicationAccessType,String> appAcls)
run
public void run()
- Specified by:
run in interface Runnable
startContainerLogAggregation
public void startContainerLogAggregation(org.apache.hadoop.yarn.api.records.ContainerId containerId,
boolean wasContainerSuccessful)
- Specified by:
startContainerLogAggregation in interface AppLogAggregator
finishLogAggregation
public void finishLogAggregation()
- Specified by:
finishLogAggregation in interface AppLogAggregator
Copyright © 2013 Apache Software Foundation. All Rights Reserved.