Interface CommitterStatistics
- All Superinterfaces:
org.apache.hadoop.fs.statistics.DurationTrackerFactory,org.apache.hadoop.fs.statistics.IOStatisticsSource,S3AStatisticInterface
Statistics for S3A committers.
-
Method Summary
Modifier and TypeMethodDescriptionvoidA commit has been aborted.voidcommitCompleted(long size) A commit has been completed.voidA commit has been created.voidA commit failed.voidA commit was reverted.voidcommitUploaded(long size) Data has been uploaded to be committed in a subsequent operation.org.apache.hadoop.fs.statistics.impl.IOStatisticsStoreReturn the writeable IOStatisticsStore.voidjobCompleted(boolean success) Note that a job has completed.voidtaskCompleted(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:
getIOStatisticsin interfaceorg.apache.hadoop.fs.statistics.IOStatisticsSource- Returns:
- the statistics
-