@Private
@Unstable
public class LogAggregationFileControllerFactory
extends java.lang.Object
LogAggregationFileControllerFactory to get the correct
LogAggregationFileController for write and read.| Constructor | Description |
|---|---|
LogAggregationFileControllerFactory(org.apache.hadoop.conf.Configuration conf) |
Construct the LogAggregationFileControllerFactory object.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.util.LinkedList<LogAggregationFileController> |
getConfiguredLogAggregationFileControllerList() |
|
LogAggregationFileController |
getFileControllerForRead(org.apache.hadoop.yarn.api.records.ApplicationId appId,
java.lang.String appOwner) |
Get
LogAggregationFileController to read the aggregated logs
for this application. |
LogAggregationFileController |
getFileControllerForWrite() |
Get
LogAggregationFileController to write. |
public LogAggregationFileControllerFactory(org.apache.hadoop.conf.Configuration conf)
conf - the Configurationpublic LogAggregationFileController getFileControllerForWrite()
LogAggregationFileController to write.public LogAggregationFileController getFileControllerForRead(org.apache.hadoop.yarn.api.records.ApplicationId appId, java.lang.String appOwner) throws java.io.IOException
LogAggregationFileController to read the aggregated logs
for this application.appId - the ApplicationIdappOwner - the Application Ownerjava.io.IOException - if can not find any log aggregation file controller@Private @VisibleForTesting public java.util.LinkedList<LogAggregationFileController> getConfiguredLogAggregationFileControllerList()
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.