Class LogAggregationReport

java.lang.Object
org.apache.hadoop.yarn.server.api.protocolrecords.LogAggregationReport
Direct Known Subclasses:
LogAggregationReportPBImpl

@Public @Unstable public abstract class LogAggregationReport extends Object
LogAggregationReport is a report for log aggregation status in one NodeManager of an application.

It includes details such as:

  • ApplicationId of the application.
  • LogAggregationStatus
  • Diagnostic information
  • 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 the ApplicationId of the application.
      Returns:
      ApplicationId of 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 the LogAggregationStatus.
      Returns:
      LogAggregationStatus
    • setLogAggregationStatus

      @Public @Unstable public abstract void setLogAggregationStatus(org.apache.hadoop.yarn.api.records.LogAggregationStatus logAggregationStatus)
    • getDiagnosticMessage

      @Public @Unstable public abstract String getDiagnosticMessage()
      Get the diagnositic information of this log aggregation
      Returns:
      diagnositic information of this log aggregation
    • setDiagnosticMessage

      @Public @Unstable public abstract void setDiagnosticMessage(String diagnosticMessage)