org.apache.hadoop.yarn.logaggregation
Class AggregatedLogFormat.LogValue
java.lang.Object
org.apache.hadoop.yarn.logaggregation.AggregatedLogFormat.LogValue
- Enclosing class:
- AggregatedLogFormat
@InterfaceAudience.Private
public static class AggregatedLogFormat.LogValue
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AggregatedLogFormat.LogValue
public AggregatedLogFormat.LogValue(List<String> rootLogDirs,
org.apache.hadoop.yarn.api.records.ContainerId containerId,
String user)
AggregatedLogFormat.LogValue
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)
write
public void write(DataOutputStream out,
Set<File> pendingUploadFiles)
throws IOException
- Throws:
IOException
secureOpenFile
public FileInputStream secureOpenFile(File logFile)
throws IOException
- Throws:
IOException
getUser
public String getUser()
getCurrentUpLoadedFilesPath
public Set<org.apache.hadoop.fs.Path> getCurrentUpLoadedFilesPath()
getCurrentUpLoadedFileMeta
public Set<String> getCurrentUpLoadedFileMeta()
getAllExistingFilesMeta
public Set<String> getAllExistingFilesMeta()
Copyright © 2014 Apache Software Foundation. All Rights Reserved.