Class LogAggregationMetaCollector
java.lang.Object
org.apache.hadoop.yarn.logaggregation.LogAggregationMetaCollector
Facilitates an extended query of aggregated log file metadata with
the help of file controllers.
-
Constructor Summary
ConstructorsConstructorDescriptionLogAggregationMetaCollector(ExtendedLogMetaRequest logsRequest, org.apache.hadoop.conf.Configuration conf) -
Method Summary
Modifier and TypeMethodDescriptioncollect(LogAggregationFileController fileController) Collects all log file metadata based on the complex query defined inUserLogsRequest.
-
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 inUserLogsRequest.- Parameters:
fileController- log aggregation file format controller- Returns:
- collection of log file metadata grouped by containers
- Throws:
IOException- if node file is not reachable
-