Class AggregatedLogFormat.LogValue
java.lang.Object
org.apache.hadoop.yarn.logaggregation.AggregatedLogFormat.LogValue
- Enclosing class:
- AggregatedLogFormat
-
Constructor Summary
ConstructorsConstructorDescriptionLogValue(List<String> rootLogDirs, org.apache.hadoop.yarn.api.records.ContainerId containerId, String user) 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) -
Method Summary
Modifier and TypeMethodDescriptionSet<org.apache.hadoop.fs.Path>Set<org.apache.hadoop.fs.Path>getUser()secureOpenFile(File logFile) voidwrite(DataOutputStream out, Set<File> pendingUploadFiles)
-
Constructor Details
-
LogValue
-
LogValue
public 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)
-
-
Method Details
-
getPendingLogFilesToUploadForThisContainer
-
write
- Throws:
IOException
-
secureOpenFile
- Throws:
IOException
-
getUser
-
getCurrentUpLoadedFilesPath
-
getCurrentUpLoadedFileMeta
-
getObsoleteRetentionLogFiles
-
getAllExistingFilesMeta
-