| 1. |
What Do You Understand By Pair Rdd? |
|
Answer» Special operations can be performed on RDDs in Spark using key/value PAIRS and such RDDs are REFERRED to as Pair RDDs. Pair RDDs allow USERS to access each key in parallel. They have a reduceByKey () method that collects data based on each key and a JOIN () method that combines different RDDs TOGETHER, based on the elements having the same key. Special operations can be performed on RDDs in Spark using key/value pairs and such RDDs are referred to as Pair RDDs. Pair RDDs allow users to access each key in parallel. They have a reduceByKey () method that collects data based on each key and a join () method that combines different RDDs together, based on the elements having the same key. |
|