Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How to create RDD?



How to create RDD?..

Answer / Naveen Singh Kuldeep

RDDs can be created in Apache Spark using built-in functions like textFile(filePath), wholeTextFiles(filePath), parallelize(iterable), and fromJavaRDD/fromJavaCollectionRDD. For example, val rdd = sc.textFile("input.txt").

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apache Spark Interview Questions

What are the great features of spark sql?

1 Answers  


What is the biggest shortcoming of Spark?

1 Answers  


What is the difference between cache and persist in spark?

1 Answers  


Why is there a need for broadcast variables when working with Apache Spark?

1 Answers  


What is SparkSession in Apache Spark? Why is it needed?

1 Answers  


How to save RDD?

1 Answers  


Is there any benefit of learning mapreduce if spark is better than mapreduce?

1 Answers  


Can you run spark without hadoop?

1 Answers  


What is lambda in spark?

1 Answers  


Can you explain spark mllib?

1 Answers  


What are the features of RDD, that makes RDD an important abstraction of Spark?

1 Answers  


What do you mean by Speculative execution in Apache Spark?

1 Answers  


Categories