Interface CommitterStatistics

All Superinterfaces:
org.apache.hadoop.fs.statistics.DurationTrackerFactory, org.apache.hadoop.fs.statistics.IOStatisticsSource, S3AStatisticInterface

public interface CommitterStatistics extends S3AStatisticInterface
Statistics for S3A committers.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    A commit has been aborted.
    void
    commitCompleted(long size)
    A commit has been completed.
    void
    A commit has been created.
    void
    A commit failed.
    void
    A commit was reverted.
    void
    commitUploaded(long size)
    Data has been uploaded to be committed in a subsequent operation.
    org.apache.hadoop.fs.statistics.impl.IOStatisticsStore
    Return the writeable IOStatisticsStore.
    void
    jobCompleted(boolean success)
    Note that a job has completed.
    void
    taskCompleted(boolean success)
    Note that a task has completed.

    Methods inherited from interface org.apache.hadoop.fs.statistics.DurationTrackerFactory

    trackDuration, trackDuration
  • Method Details

    • commitCreated

      void commitCreated()
      A commit has been created.
    • commitUploaded

      void commitUploaded(long size)
      Data has been uploaded to be committed in a subsequent operation.
      Parameters:
      size - size in bytes
    • commitCompleted

      void commitCompleted(long size)
      A commit has been completed.
      Parameters:
      size - size in bytes
    • commitAborted

      void commitAborted()
      A commit has been aborted.
    • commitReverted

      void commitReverted()
      A commit was reverted.
    • commitFailed

      void commitFailed()
      A commit failed.
    • taskCompleted

      void taskCompleted(boolean success)
      Note that a task has completed.
      Parameters:
      success - success flag
    • jobCompleted

      void jobCompleted(boolean success)
      Note that a job has completed.
      Parameters:
      success - success flag
    • getIOStatistics

      org.apache.hadoop.fs.statistics.impl.IOStatisticsStore getIOStatistics()
      Return the writeable IOStatisticsStore.
      Specified by:
      getIOStatistics in interface org.apache.hadoop.fs.statistics.IOStatisticsSource
      Returns:
      the statistics