This video shows you how to read HDFS (Hadoop Distributed File System) using Spark. Before reading the HDFS data, the hive metastore server has to be started as shown in the video.
Here is the link for installing all required software: https://github.com/Stephenlaye2/hadoop