January 2019
Beginner to intermediate
154 pages
4h 31m
English
A disk is one of the hardware resources used by almost all the applications. Though Spark applications benefit largely from memory, the disk also plays an important role. Spark uses disk space to store the shuffle data temporarily. In Spark standalone mode and Mesos, this location can be configured in SPARK_LOCAL_DIRS variable. In YARN mode, Spark inherits YARN's local directories.
As discussed in Chapter 3, Spark RDD, Spark also uses the disk in operations such as checkpointing and caching.
Read now
Unlock full access