Class SparkDataWriterTaskTracker
java.lang.Object
com.linkedin.venice.spark.datawriter.task.SparkDataWriterTaskTracker
- All Implemented Interfaces:
DataWriterTaskTracker,TaskTracker
-
Field Summary
Fields inherited from interface com.linkedin.venice.hadoop.task.TaskTracker
PROGRESS_COMPLETED, PROGRESS_NOT_SUPPORTED -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongintThis accumulator performs a 'max' operation, which is not natively supported by either Spark or Hadoop.longlonglonglonglonglonglonglonglonglonglonglongvoidtrackCompressedValueSize(int size) voidtrackDuplicateKeyWithDistinctValue(int count) voidtrackDuplicateKeyWithIdenticalValue(int count) voidvoidtrackGzipCompressedValueSize(int size) voidtrackKeySize(int size) voidtrackLargestUncompressedValueSize(int size) This accumulator performs a 'max' operation, which is not natively supported by either Spark or Hadoop.voidvoidvoidvoidvoidvoidvoidtrackUncompressedValueSize(int size) voidvoidtrackZstdCompressedValueSize(int size) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.linkedin.venice.hadoop.task.datawriter.DataWriterTaskTracker
getTotalPutOrDeleteRecordsCount, trackPutOrDeleteRecordMethods inherited from interface com.linkedin.venice.hadoop.task.TaskTracker
getProgress, heartbeat
-
Constructor Details
-
SparkDataWriterTaskTracker
-
-
Method Details
-
trackSprayAllPartitions
public void trackSprayAllPartitions()- Specified by:
trackSprayAllPartitionsin interfaceDataWriterTaskTracker
-
trackEmptyRecord
public void trackEmptyRecord()- Specified by:
trackEmptyRecordin interfaceDataWriterTaskTracker
-
trackKeySize
public void trackKeySize(int size) - Specified by:
trackKeySizein interfaceDataWriterTaskTracker
-
trackUncompressedValueSize
public void trackUncompressedValueSize(int size) - Specified by:
trackUncompressedValueSizein interfaceDataWriterTaskTracker
-
trackLargestUncompressedValueSize
public void trackLargestUncompressedValueSize(int size) Description copied from interface:DataWriterTaskTrackerThis accumulator performs a 'max' operation, which is not natively supported by either Spark or Hadoop. It is implemented using a custom accumulator in Spark.- Specified by:
trackLargestUncompressedValueSizein interfaceDataWriterTaskTracker
-
trackCompressedValueSize
public void trackCompressedValueSize(int size) - Specified by:
trackCompressedValueSizein interfaceDataWriterTaskTracker
-
trackGzipCompressedValueSize
public void trackGzipCompressedValueSize(int size) - Specified by:
trackGzipCompressedValueSizein interfaceDataWriterTaskTracker
-
trackZstdCompressedValueSize
public void trackZstdCompressedValueSize(int size) - Specified by:
trackZstdCompressedValueSizein interfaceDataWriterTaskTracker
-
trackWriteAclAuthorizationFailure
public void trackWriteAclAuthorizationFailure()- Specified by:
trackWriteAclAuthorizationFailurein interfaceDataWriterTaskTracker
-
trackRecordTooLargeFailure
public void trackRecordTooLargeFailure()- Specified by:
trackRecordTooLargeFailurein interfaceDataWriterTaskTracker
-
trackUncompressedRecordTooLargeFailure
public void trackUncompressedRecordTooLargeFailure()- Specified by:
trackUncompressedRecordTooLargeFailurein interfaceDataWriterTaskTracker
-
trackRecordSentToPubSub
public void trackRecordSentToPubSub()- Specified by:
trackRecordSentToPubSubin interfaceDataWriterTaskTracker
-
trackDuplicateKeyWithDistinctValue
public void trackDuplicateKeyWithDistinctValue(int count) - Specified by:
trackDuplicateKeyWithDistinctValuein interfaceDataWriterTaskTracker
-
trackDuplicateKeyWithIdenticalValue
public void trackDuplicateKeyWithIdenticalValue(int count) - Specified by:
trackDuplicateKeyWithIdenticalValuein interfaceDataWriterTaskTracker
-
trackRepushTtlFilteredRecord
public void trackRepushTtlFilteredRecord()- Specified by:
trackRepushTtlFilteredRecordin interfaceDataWriterTaskTracker
-
trackPartitionWriterClose
public void trackPartitionWriterClose()- Specified by:
trackPartitionWriterClosein interfaceDataWriterTaskTracker
-
getSprayAllPartitionsCount
public long getSprayAllPartitionsCount()- Specified by:
getSprayAllPartitionsCountin interfaceDataWriterTaskTracker
-
getTotalKeySize
public long getTotalKeySize()- Specified by:
getTotalKeySizein interfaceDataWriterTaskTracker
-
getTotalValueSize
public long getTotalValueSize()- Specified by:
getTotalValueSizein interfaceDataWriterTaskTracker
-
getTotalUncompressedValueSize
public long getTotalUncompressedValueSize()- Specified by:
getTotalUncompressedValueSizein interfaceDataWriterTaskTracker
-
getLargestUncompressedValueSize
public int getLargestUncompressedValueSize()Description copied from interface:DataWriterTaskTrackerThis accumulator performs a 'max' operation, which is not natively supported by either Spark or Hadoop. It is implemented using a custom accumulator in Spark.- Specified by:
getLargestUncompressedValueSizein interfaceDataWriterTaskTracker
-
getTotalGzipCompressedValueSize
public long getTotalGzipCompressedValueSize()- Specified by:
getTotalGzipCompressedValueSizein interfaceDataWriterTaskTracker
-
getTotalZstdCompressedValueSize
public long getTotalZstdCompressedValueSize()- Specified by:
getTotalZstdCompressedValueSizein interfaceDataWriterTaskTracker
-
getRecordTooLargeFailureCount
public long getRecordTooLargeFailureCount()- Specified by:
getRecordTooLargeFailureCountin interfaceDataWriterTaskTracker
-
getUncompressedRecordTooLargeFailureCount
public long getUncompressedRecordTooLargeFailureCount()- Specified by:
getUncompressedRecordTooLargeFailureCountin interfaceDataWriterTaskTracker
-
getWriteAclAuthorizationFailureCount
public long getWriteAclAuthorizationFailureCount()- Specified by:
getWriteAclAuthorizationFailureCountin interfaceDataWriterTaskTracker
-
getDuplicateKeyWithDistinctValueCount
public long getDuplicateKeyWithDistinctValueCount()- Specified by:
getDuplicateKeyWithDistinctValueCountin interfaceDataWriterTaskTracker
-
getOutputRecordsCount
public long getOutputRecordsCount()- Specified by:
getOutputRecordsCountin interfaceDataWriterTaskTracker
-
getPartitionWriterCloseCount
public long getPartitionWriterCloseCount()- Specified by:
getPartitionWriterCloseCountin interfaceDataWriterTaskTracker
-
getRepushTtlFilterCount
public long getRepushTtlFilterCount()- Specified by:
getRepushTtlFilterCountin interfaceDataWriterTaskTracker
-