java.io.Closeable, java.lang.AutoCloseable, org.apache.hadoop.service.Servicepublic class NMLogAggregationStatusTracker
extends org.apache.hadoop.service.CompositeService
NMLogAggregationStatusTracker is used to cache log aggregation
status for finished applications. It will also delete the old cached
log aggregation status periodically.| Constructor | Description |
|---|---|
NMLogAggregationStatusTracker(Context context) |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.List<org.apache.hadoop.yarn.server.api.protocolrecords.LogAggregationReport> |
pullCachedLogAggregationReports() |
|
protected void |
serviceStart() |
|
void |
serviceStop() |
|
void |
updateLogAggregationStatus(org.apache.hadoop.yarn.api.records.ApplicationId appId,
org.apache.hadoop.yarn.api.records.LogAggregationStatus logAggregationStatus,
long updateTime,
java.lang.String diagnosis,
boolean finalized) |
addIfService, addService, getServices, removeService, serviceInitclose, getBlockers, getConfig, getFailureCause, getFailureState, getLifecycleHistory, getName, getServiceState, getStartTime, init, isInState, noteFailure, putBlocker, registerGlobalListener, registerServiceListener, removeBlocker, setConfig, start, stop, toString, unregisterGlobalListener, unregisterServiceListener, waitForServiceToStoppublic NMLogAggregationStatusTracker(Context context)
protected void serviceStart()
throws java.lang.Exception
serviceStart in class org.apache.hadoop.service.CompositeServicejava.lang.Exceptionpublic void serviceStop()
throws java.lang.Exception
serviceStop in class org.apache.hadoop.service.CompositeServicejava.lang.Exceptionpublic void updateLogAggregationStatus(org.apache.hadoop.yarn.api.records.ApplicationId appId,
org.apache.hadoop.yarn.api.records.LogAggregationStatus logAggregationStatus,
long updateTime,
java.lang.String diagnosis,
boolean finalized)
public java.util.List<org.apache.hadoop.yarn.server.api.protocolrecords.LogAggregationReport> pullCachedLogAggregationReports()
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.