Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

Question: What is the significance of Spark's lineage graph (DAG)?
Answer: Spark's lineage graph (DAG) is a directed acyclic graph that represents the sequence of transformations and actions on RDDs. It helps in recovering lost data in case of node failure.

Example:

val filteredRDD = inputRDD.filter(x => x > 0)
filteredRDD.toDebugString
Is it helpful? Yes No

Most helpful rated by users:

©2025 WithoutBook