Class CounterBackedMapReduceDataWriterTaskTracker
java.lang.Object
com.linkedin.venice.hadoop.mapreduce.datawriter.task.CounterBackedMapReduceDataWriterTaskTracker
- All Implemented Interfaces:
DataWriterTaskTracker
,TaskTracker
public class CounterBackedMapReduceDataWriterTaskTracker
extends 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
ConstructorDescriptionCounterBackedMapReduceDataWriterTaskTracker
(org.apache.hadoop.mapred.Counters counters) -
Method Summary
Modifier and TypeMethodDescriptionlong
long
long
long
long
long
long
long
long
long
long
long
long
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
-
Constructor Details
-
CounterBackedMapReduceDataWriterTaskTracker
public CounterBackedMapReduceDataWriterTaskTracker(org.apache.hadoop.mapred.Counters counters)
-
-
Method Details
-
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
-