Class CounterBackedMapReduceDataWriterTaskTracker
- java.lang.Object
-
- com.linkedin.venice.hadoop.mapreduce.datawriter.task.CounterBackedMapReduceDataWriterTaskTracker
-
- All Implemented Interfaces:
DataWriterTaskTracker
,TaskTracker
public class CounterBackedMapReduceDataWriterTaskTracker extends java.lang.Object implements DataWriterTaskTracker
An interface to retrieve metrics related to data writer tasks after a MapReduce job has completed.
-
-
Field Summary
-
Fields inherited from interface com.linkedin.venice.hadoop.task.TaskTracker
PROGRESS_COMPLETED, PROGRESS_NOT_SUPPORTED
-
-
Constructor Summary
Constructors Constructor Description CounterBackedMapReduceDataWriterTaskTracker(org.apache.hadoop.mapred.Counters counters)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getDuplicateKeyWithDistinctValueCount()
long
getOutputRecordsCount()
long
getPartitionWriterCloseCount()
long
getRecordTooLargeFailureCount()
long
getRepushTtlFilterCount()
long
getSprayAllPartitionsCount()
long
getTotalGzipCompressedValueSize()
long
getTotalKeySize()
long
getTotalPutOrDeleteRecordsCount()
long
getTotalUncompressedValueSize()
long
getTotalValueSize()
long
getTotalZstdCompressedValueSize()
long
getWriteAclAuthorizationFailureCount()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.linkedin.venice.hadoop.task.datawriter.DataWriterTaskTracker
trackCompressedValueSize, trackDuplicateKeyWithDistinctValue, trackDuplicateKeyWithIdenticalValue, trackEmptyRecord, trackGzipCompressedValueSize, trackKeySize, trackPartitionWriterClose, trackPutOrDeleteRecord, trackRecordSentToPubSub, trackRecordTooLargeFailure, trackRepushTtlFilteredRecord, trackSprayAllPartitions, trackUncompressedValueSize, trackWriteAclAuthorizationFailure, trackZstdCompressedValueSize
-
Methods inherited from interface com.linkedin.venice.hadoop.task.TaskTracker
getProgress, heartbeat
-
-
-
-
Method Detail
-
getSprayAllPartitionsCount
public long getSprayAllPartitionsCount()
- Specified by:
getSprayAllPartitionsCount
in interfaceDataWriterTaskTracker
-
getTotalKeySize
public long getTotalKeySize()
- Specified by:
getTotalKeySize
in interfaceDataWriterTaskTracker
-
getTotalValueSize
public long getTotalValueSize()
- Specified by:
getTotalValueSize
in interfaceDataWriterTaskTracker
-
getTotalUncompressedValueSize
public long getTotalUncompressedValueSize()
- Specified by:
getTotalUncompressedValueSize
in interfaceDataWriterTaskTracker
-
getTotalGzipCompressedValueSize
public long getTotalGzipCompressedValueSize()
- Specified by:
getTotalGzipCompressedValueSize
in interfaceDataWriterTaskTracker
-
getTotalZstdCompressedValueSize
public long getTotalZstdCompressedValueSize()
- Specified by:
getTotalZstdCompressedValueSize
in interfaceDataWriterTaskTracker
-
getRecordTooLargeFailureCount
public long getRecordTooLargeFailureCount()
- Specified by:
getRecordTooLargeFailureCount
in interfaceDataWriterTaskTracker
-
getWriteAclAuthorizationFailureCount
public long getWriteAclAuthorizationFailureCount()
- Specified by:
getWriteAclAuthorizationFailureCount
in interfaceDataWriterTaskTracker
-
getDuplicateKeyWithDistinctValueCount
public long getDuplicateKeyWithDistinctValueCount()
- Specified by:
getDuplicateKeyWithDistinctValueCount
in interfaceDataWriterTaskTracker
-
getOutputRecordsCount
public long getOutputRecordsCount()
- Specified by:
getOutputRecordsCount
in interfaceDataWriterTaskTracker
-
getPartitionWriterCloseCount
public long getPartitionWriterCloseCount()
- Specified by:
getPartitionWriterCloseCount
in interfaceDataWriterTaskTracker
-
getRepushTtlFilterCount
public long getRepushTtlFilterCount()
- Specified by:
getRepushTtlFilterCount
in interfaceDataWriterTaskTracker
-
getTotalPutOrDeleteRecordsCount
public long getTotalPutOrDeleteRecordsCount()
- Specified by:
getTotalPutOrDeleteRecordsCount
in interfaceDataWriterTaskTracker
-
-