As we know, Spark is a processing engine that can help to process a humongous amount of data; however, to process the data it should be read from external systems. In this section, we will learn how to store/read data in Spark from/to different storage systems.
We will start with the local filesystem and then will implement Spark with some popular storage systems used in the big data world.