Cache Manager

Cache Manager in Spark is responsible for passing RDDs partition contents to Block Manager and making sure a node doesn’t load two copies of an RDD at once.

It keeps reference to Block Manager.

FIXME Review the CacheManager class.

In the code, the current instance of Cache Manager is available under SparkEnv.get.cacheManager.

Caching Query (cacheQuery method)

FIXME

Uncaching Query (uncacheQuery method)

FIXME