@InterfaceAudience.Private public static class AggregatedLogFormat.LogValue extends Object
| Constructor and Description | 
|---|
| AggregatedLogFormat.LogValue(List<String> rootLogDirs,
                            org.apache.hadoop.yarn.api.records.ContainerId containerId,
                            String user) | 
| AggregatedLogFormat.LogValue(List<String> rootLogDirs,
                            org.apache.hadoop.yarn.api.records.ContainerId containerId,
                            String user,
                            org.apache.hadoop.yarn.api.records.LogAggregationContext logAggregationContext,
                            Set<String> alreadyUploadedLogFiles,
                            AggregatedLogFormat.LogRetentionContext retentionContext,
                            boolean appFinished,
                            boolean containerFinished) | 
| Modifier and Type | Method and Description | 
|---|---|
| Set<String> | getAllExistingFilesMeta() | 
| Set<String> | getCurrentUpLoadedFileMeta() | 
| Set<org.apache.hadoop.fs.Path> | getCurrentUpLoadedFilesPath() | 
| Set<org.apache.hadoop.fs.Path> | getObseleteRetentionLogFiles() | 
| Set<File> | getPendingLogFilesToUploadForThisContainer() | 
| String | getUser() | 
| FileInputStream | secureOpenFile(File logFile) | 
| void | write(DataOutputStream out,
     Set<File> pendingUploadFiles) | 
public AggregatedLogFormat.LogValue(List<String> rootLogDirs, org.apache.hadoop.yarn.api.records.ContainerId containerId, String user)
public AggregatedLogFormat.LogValue(List<String> rootLogDirs, org.apache.hadoop.yarn.api.records.ContainerId containerId, String user, org.apache.hadoop.yarn.api.records.LogAggregationContext logAggregationContext, Set<String> alreadyUploadedLogFiles, AggregatedLogFormat.LogRetentionContext retentionContext, boolean appFinished, boolean containerFinished)
public Set<File> getPendingLogFilesToUploadForThisContainer()
public void write(DataOutputStream out, Set<File> pendingUploadFiles) throws IOException
IOExceptionpublic FileInputStream secureOpenFile(File logFile) throws IOException
IOExceptionpublic String getUser()
public Set<org.apache.hadoop.fs.Path> getCurrentUpLoadedFilesPath()
public Set<org.apache.hadoop.fs.Path> getObseleteRetentionLogFiles()
Copyright © 2018 Apache Software Foundation. All Rights Reserved.