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