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

MapOutputTrackerWorker — MapOutputTracker for Executors

MapOutputTrackerWorker — MapOutputTracker for Executors

A MapOutputTrackerWorker is the MapOutputTracker for executors.

MapOutputTrackerWorker uses Java’s thread-safe java.util.concurrent.ConcurrentHashMap for mapStatuses internal cache and any lookup cache miss triggers a fetch from the driver’s MapOutputTrackerMaster.

Note
The only difference between MapOutputTrackerWorker and the base abstract class MapOutputTracker is that the mapStatuses internal registry is an instance of the thread-safe java.util.concurrent.ConcurrentHashMap.
Tip

Enable INFO or DEBUG logging level for org.apache.spark.MapOutputTrackerWorker logger to see what happens in MapOutputTrackerWorker.

Add the following line to conf/log4j.properties:

Refer to Logging.

赞(0) 打赏
未经允许不得转载:spark技术分享 » MapOutputTrackerWorker — MapOutputTracker for Executors
分享到: 更多 (0)

关注公众号:spark技术分享

联系我们联系我们

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

支付宝扫一扫打赏

微信扫一扫打赏