Class AggregatedLogFormat.LogValue

java.lang.Object
org.apache.hadoop.yarn.logaggregation.AggregatedLogFormat.LogValue
Enclosing class:
AggregatedLogFormat

@Private public static class AggregatedLogFormat.LogValue extends Object
  • Constructor Details

    • LogValue

      public LogValue(List<String> rootLogDirs, org.apache.hadoop.yarn.api.records.ContainerId containerId, String user)
    • 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

      @VisibleForTesting public Set<File> getPendingLogFilesToUploadForThisContainer()
    • write

      public void write(DataOutputStream out, Set<File> pendingUploadFiles) throws IOException
      Throws:
      IOException
    • secureOpenFile

      @VisibleForTesting 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()
    • getObsoleteRetentionLogFiles

      public Set<org.apache.hadoop.fs.Path> getObsoleteRetentionLogFiles()
    • getAllExistingFilesMeta

      public Set<String> getAllExistingFilesMeta()