关注 spark技术分享,
撸spark源码 玩spark最佳实践

WriteTaskStatsTracker

WriteTaskStatsTracker

WriteTaskStatsTracker is the abstraction of WriteTaskStatsTrackers that collect the statistics of the number of buckets, files, partitions and rows processed.

Table 1. WriteTaskStatsTracker Contract
Method Description

getFinalStats

The final WriteTaskStats statistics computed so far

Used when EmptyDirectoryWriteTask, SingleDirectoryWriteTask and DynamicPartitionWriteTask are requested to execute

newBucket

Used when…​FIXME

newFile

Used when…​FIXME

newPartition

Used when…​FIXME

newRow

Used when…​FIXME

Note
BasicWriteTaskStatsTracker is the one and only known implementation of the WriteTaskStatsTracker Contract in Apache Spark.
赞(0) 打赏
未经允许不得转载:spark技术分享 » WriteTaskStatsTracker
分享到: 更多 (0)

关注公众号:spark技术分享

联系我们联系我们

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏