Q5Big Data Analytics
Question
2 marks
Define RDD in Spark.
Answer
RDD (Resilient Distributed Dataset) is the fundamental data structure of Apache Spark.
It is an immutable distributed collection of objects that can be processed in parallel. RDDs offer fault tolerance through lineage graphs, automatically recovering lost data resulting from node failures.