Class WrappedLogMetaRequest

java.lang.Object
org.apache.hadoop.yarn.server.webapp.WrappedLogMetaRequest

public class WrappedLogMetaRequest extends Object
WrappedLogMetaRequest is wrapping a log request initiated by the client. This wrapper class translates the request to a ContainerLogsRequest and calls #readAggregatedLogsMeta on the LogAggregationFileController. class.
  • Method Details

    • builder

      public static WrappedLogMetaRequest.Builder builder()
    • getAppId

      public String getAppId()
    • getAppAttemptId

      public String getAppAttemptId()
    • getContainerId

      public org.apache.hadoop.yarn.api.records.ContainerId getContainerId()
    • getContainerLogMetas

      public List<org.apache.hadoop.yarn.logaggregation.ContainerLogMeta> getContainerLogMetas() throws IOException
      Constructs a ContainerLogsRequest object, and obtains ContainerLogsRequest from the corresponding LogAggregationFileController.
      Returns:
      list of ContainerLogMeta objects that belong to the application, attempt or container
      Throws:
      IOException - if there are I/O errors.