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...


Which are the methods to create rdd in spark?



Which are the methods to create rdd in spark?..

Answer / Mukesh Chaurasia

There are multiple ways to create RDDs (Resilient Distributed Datasets) in Spark. Some common methods include:nt* parallelize(iterable): Creates an RDD from a local iterable collection.nt* textFile(path): Reads text files and converts them into an RDD of lines.nt* wholeTextFiles(path): Reads text files as key-value pairs, where keys are file paths and values are the content of the files.n

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apache Spark Interview Questions

Is spark sql a database?

1 Answers  


What is spark code?

1 Answers  


How sparksql is different from hql and sql?

1 Answers  


State the difference between Spark SQL and Hql

1 Answers  


Where does Spark Driver run on Yarn?

1 Answers  


Define the level of parallelism and its need in spark streaming?

1 Answers  


How is RDD in Spark different from Distributed Storage Management?

1 Answers  


What is speculative execution in spark?

1 Answers  


Explain Spark SQL caching and uncaching?

1 Answers  


What are the advantages of DataSets?

1 Answers  


Explain Spark streaming?

1 Answers  


What do you mean by Speculative execution in Apache Spark?

1 Answers  


Categories