May 2017
Intermediate to advanced
294 pages
7h 33m
English
Optimizing the level of parallelism is very important to fully utilize the cluster capacity. In the case of HDFS, it means that the number of partitions is the same as the number of input splits, which is mostly the same as the number of blocks. The default block size in HDFS is 128 MB, and that works well in case of Spark as well.
In this recipe, we will cover different ways to optimize the number of partitions.
Read now
Unlock full access