Class LogAggregationReport
java.lang.Object
org.apache.hadoop.yarn.server.api.protocolrecords.LogAggregationReport
- Direct Known Subclasses:
LogAggregationReportPBImpl
LogAggregationReport is a report for log aggregation status
in one NodeManager of an application.
It includes details such as:
ApplicationIdof the application.LogAggregationStatus- Diagnostic information
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract org.apache.hadoop.yarn.api.records.ApplicationIdGet theApplicationIdof the application.abstract StringGet the diagnositic information of this log aggregationabstract org.apache.hadoop.yarn.api.records.LogAggregationStatusGet theLogAggregationStatus.static LogAggregationReportnewInstance(org.apache.hadoop.yarn.api.records.ApplicationId appId, org.apache.hadoop.yarn.api.records.LogAggregationStatus status, String diagnosticMessage) abstract voidsetApplicationId(org.apache.hadoop.yarn.api.records.ApplicationId appId) abstract voidsetDiagnosticMessage(String diagnosticMessage) abstract voidsetLogAggregationStatus(org.apache.hadoop.yarn.api.records.LogAggregationStatus logAggregationStatus)
-
Constructor Details
-
LogAggregationReport
public LogAggregationReport()
-
-
Method Details
-
newInstance
@Public @Unstable public static LogAggregationReport newInstance(org.apache.hadoop.yarn.api.records.ApplicationId appId, org.apache.hadoop.yarn.api.records.LogAggregationStatus status, String diagnosticMessage) -
getApplicationId
@Public @Unstable public abstract org.apache.hadoop.yarn.api.records.ApplicationId getApplicationId()Get theApplicationIdof the application.- Returns:
ApplicationIdof the application
-
setApplicationId
@Public @Unstable public abstract void setApplicationId(org.apache.hadoop.yarn.api.records.ApplicationId appId) -
getLogAggregationStatus
@Public @Unstable public abstract org.apache.hadoop.yarn.api.records.LogAggregationStatus getLogAggregationStatus()Get theLogAggregationStatus.- Returns:
LogAggregationStatus
-
setLogAggregationStatus
@Public @Unstable public abstract void setLogAggregationStatus(org.apache.hadoop.yarn.api.records.LogAggregationStatus logAggregationStatus) -
getDiagnosticMessage
Get the diagnositic information of this log aggregation- Returns:
- diagnositic information of this log aggregation
-
setDiagnosticMessage
-