Class LogAggregationMetaCollector

java.lang.Object
org.apache.hadoop.yarn.logaggregation.LogAggregationMetaCollector

public class LogAggregationMetaCollector extends Object
Facilitates an extended query of aggregated log file metadata with the help of file controllers.
  • Constructor Details

    • LogAggregationMetaCollector

      public LogAggregationMetaCollector(ExtendedLogMetaRequest logsRequest, org.apache.hadoop.conf.Configuration conf)
  • Method Details

    • collect

      public List<ContainerLogMeta> collect(LogAggregationFileController fileController) throws IOException
      Collects all log file metadata based on the complex query defined in UserLogsRequest.
      Parameters:
      fileController - log aggregation file format controller
      Returns:
      collection of log file metadata grouped by containers
      Throws:
      IOException - if node file is not reachable