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 rdd can be created in spark?



How rdd can be created in spark?..

Answer / Anuj Kumar Verma

"There are several ways to create an RDD in Apache Spark. Here are some examples:-n1. Creating an RDD from a local collection using `sparkContext.parallelize()` or `sparkContext.parallelizePaired()`n2. Reading data from external files using `textFile()`, `wholeTextFiles()`, or `sequenceFile()`n3. Caching and reusing RDDs with the `cache()` methodn4. Transforming existing RDDs using various Spark transformations like `map()`, `filter()`, `flatMap()`, and `groupByKey()`"n

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apache Spark Interview Questions

Does Apache Spark provide checkpoints?

1 Answers  


List down the languages supported by Apache Spark?

1 Answers  


What is difference between scala and spark?

1 Answers  


What is the advantage of a Parquet file?

1 Answers  


What purpose would an engineer use spark?

1 Answers  


What is the difference between DSM and RDD?

1 Answers  


How is Apache Spark better than Hadoop?

1 Answers  


Define Spark Streaming.

1 Answers  


Does spark need hadoop?

1 Answers  


Explain various cluster manager in Apache Spark?

1 Answers  


Is spark written in java?

1 Answers  


Is it necessary to learn hadoop for spark?

1 Answers  


Categories