January 2019
Beginner to intermediate
154 pages
4h 31m
English
You would have noticed that in every example we used, the collect() method to get the output. To get the final result back to the driver, Spark provides another type of operation known as actions. At the time of transformations, Spark chains these operations and constructs a DAG, but nothing gets executed. Once an action is performed on an RDD, it forces the evaluation of all the transformations required to compute that RDD.
Actions do not create a new RDD. They are used for the following:
Let's discuss some of the basic actions.
Read now
Unlock full access