InterviewSolution
| 1. |
Explain About Transformations And Actions In The Context Of Rdds. |
|
Answer» TRANSFORMATIONS are FUNCTIONS executed on demand, to produce a new RDD. All transformations are followed by actions. Some EXAMPLES of transformations include map, filter and reduceByKey. Actions are the results of RDD computations or transformations. After an action is performed, the data from RDD moves back to the LOCAL machine. Some examples of actions include REDUCE, collect, first, and take. Transformations are functions executed on demand, to produce a new RDD. All transformations are followed by actions. Some examples of transformations include map, filter and reduceByKey. Actions are the results of RDD computations or transformations. After an action is performed, the data from RDD moves back to the local machine. Some examples of actions include reduce, collect, first, and take. |
|