September 2017
Beginner to intermediate
360 pages
8h 13m
English
We have read and understood well that RDDs are an immutable, distributed collection of object values used as a unit of abstraction in Spark Framework. There are two ways RDDs can be created:
Now let's create some simple programs to create and use RDDs:

The preceding screenshot captures quick steps to create an RDD on Spark Shell. Here are the specific commands and further transformational outputs for this:
Scala> val inputfile = sc.textFile("input.txt")
The preceding command reads the file called input.txt from the ...
Read now
Unlock full access