Posts: 9
Registered: ‎09-02-2015
Accepted Solution

Spark+R in Cloudera 5.3.0

Please accept my sincere salutations.


I have to work with Spark using the R language in Cloudera 5.3.0. I have installed R and also the IDE RStudio in this latter.What will be the next step?What can I do? How should I proceed?


I will be grateful if you suggest a tutorial.


Best Regards !

Posts: 14
Registered: ‎05-06-2014

Re: Spark+R in Cloudera 5.3.0

[ Edited ]

(1) I would start by loading the SparkR package into RStudio so you can make use of it. See the following link under heading "Using SparkR from RStudio"


(2) Now you are ready to run through the following tutorial. However instead of reading the data from "hdfs" load it from your local file system. 


(3) Study the SparkR Guide to gain more indepth knowledge.


(4) Study Spark (Dataframes, RDDs, etc) for example with the Oreilly book "Learning Spark". I find that it always helps to understand how something works under the hood. The same holds for SparkR you can easily find some videos about Youtube to understand how it works under the hood, especially the distributed character of SparkR + Spark.