
Common Spark Actions
collect(): get all of your datacount(): get a count of the elements in the RDDcountByValue(): list the times each value appearsreduce(func): the reduce part of MapReducefirst(), take(n): return some number of elementstop(n): return the highest n values in the list