java.lang.Runnable, AppLogAggregatorpublic class AppLogAggregatorImpl extends java.lang.Object implements AppLogAggregator
| Constructor | Description |
|---|---|
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,
org.apache.hadoop.yarn.api.records.NodeId nodeId,
LocalDirsHandlerService dirsHandler,
org.apache.hadoop.fs.Path remoteNodeLogFileForApp,
java.util.Map<org.apache.hadoop.yarn.api.records.ApplicationAccessType,java.lang.String> appAcls,
org.apache.hadoop.yarn.api.records.LogAggregationContext logAggregationContext,
Context context,
org.apache.hadoop.fs.FileContext lfs,
long rollingMonitorInterval) |
|
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,
org.apache.hadoop.yarn.api.records.NodeId nodeId,
LocalDirsHandlerService dirsHandler,
org.apache.hadoop.fs.Path remoteNodeLogFileForApp,
java.util.Map<org.apache.hadoop.yarn.api.records.ApplicationAccessType,java.lang.String> appAcls,
org.apache.hadoop.yarn.api.records.LogAggregationContext logAggregationContext,
Context context,
org.apache.hadoop.fs.FileContext lfs,
long rollingMonitorInterval,
long recoveredLogInitedTime) |
|
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,
org.apache.hadoop.yarn.api.records.NodeId nodeId,
LocalDirsHandlerService dirsHandler,
org.apache.hadoop.fs.Path remoteNodeLogFileForApp,
java.util.Map<org.apache.hadoop.yarn.api.records.ApplicationAccessType,java.lang.String> appAcls,
org.apache.hadoop.yarn.api.records.LogAggregationContext logAggregationContext,
Context context,
org.apache.hadoop.fs.FileContext lfs,
long rollingMonitorInterval,
long recoveredLogInitedTime,
org.apache.hadoop.yarn.logaggregation.filecontroller.LogAggregationFileController logAggregationFileController) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
abortLogAggregation() |
|
void |
disableLogAggregation() |
|
void |
doLogAggregationOutOfBand() |
|
void |
enableLogAggregation() |
|
void |
finishLogAggregation() |
|
org.apache.hadoop.yarn.logaggregation.filecontroller.LogAggregationFileController |
getLogAggregationFileController() |
|
org.apache.hadoop.yarn.logaggregation.filecontroller.LogAggregationFileControllerContext |
getLogAggregationFileControllerContext() |
|
org.apache.hadoop.security.UserGroupInformation |
getUgi() |
|
boolean |
isAggregationEnabled() |
|
void |
run() |
|
void |
startContainerLogAggregation(org.apache.hadoop.yarn.server.api.ContainerLogContext logContext) |
|
org.apache.hadoop.security.UserGroupInformation |
updateCredentials(org.apache.hadoop.security.Credentials cred) |
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,
org.apache.hadoop.yarn.api.records.NodeId nodeId,
LocalDirsHandlerService dirsHandler,
org.apache.hadoop.fs.Path remoteNodeLogFileForApp,
java.util.Map<org.apache.hadoop.yarn.api.records.ApplicationAccessType,java.lang.String> appAcls,
org.apache.hadoop.yarn.api.records.LogAggregationContext logAggregationContext,
Context context,
org.apache.hadoop.fs.FileContext lfs,
long rollingMonitorInterval)
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,
org.apache.hadoop.yarn.api.records.NodeId nodeId,
LocalDirsHandlerService dirsHandler,
org.apache.hadoop.fs.Path remoteNodeLogFileForApp,
java.util.Map<org.apache.hadoop.yarn.api.records.ApplicationAccessType,java.lang.String> appAcls,
org.apache.hadoop.yarn.api.records.LogAggregationContext logAggregationContext,
Context context,
org.apache.hadoop.fs.FileContext lfs,
long rollingMonitorInterval,
long recoveredLogInitedTime)
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,
org.apache.hadoop.yarn.api.records.NodeId nodeId,
LocalDirsHandlerService dirsHandler,
org.apache.hadoop.fs.Path remoteNodeLogFileForApp,
java.util.Map<org.apache.hadoop.yarn.api.records.ApplicationAccessType,java.lang.String> appAcls,
org.apache.hadoop.yarn.api.records.LogAggregationContext logAggregationContext,
Context context,
org.apache.hadoop.fs.FileContext lfs,
long rollingMonitorInterval,
long recoveredLogInitedTime,
org.apache.hadoop.yarn.logaggregation.filecontroller.LogAggregationFileController logAggregationFileController)
public void run()
run in interface java.lang.Runnablepublic void startContainerLogAggregation(org.apache.hadoop.yarn.server.api.ContainerLogContext logContext)
startContainerLogAggregation in interface AppLogAggregatorpublic void finishLogAggregation()
finishLogAggregation in interface AppLogAggregatorpublic void abortLogAggregation()
abortLogAggregation in interface AppLogAggregatorpublic void disableLogAggregation()
disableLogAggregation in interface AppLogAggregatorpublic void enableLogAggregation()
enableLogAggregation in interface AppLogAggregatorpublic boolean isAggregationEnabled()
isAggregationEnabled in interface AppLogAggregator@Private @VisibleForTesting public void doLogAggregationOutOfBand()
@VisibleForTesting public org.apache.hadoop.security.UserGroupInformation getUgi()
public org.apache.hadoop.security.UserGroupInformation updateCredentials(org.apache.hadoop.security.Credentials cred)
updateCredentials in interface AppLogAggregator@VisibleForTesting public org.apache.hadoop.yarn.logaggregation.filecontroller.LogAggregationFileController getLogAggregationFileController()
@VisibleForTesting public org.apache.hadoop.yarn.logaggregation.filecontroller.LogAggregationFileControllerContext getLogAggregationFileControllerContext()
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.