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 can we create RDD in Apache Spark?



How can we create RDD in Apache Spark?..

Answer / Dhanraj

RDDs can be created from various sources such as local files, HDFS files, or even other RDDs using Spark's API (Application Programming Interface). Some ways to create RDDs include textFile(path), wholeTextFiles(path), and parallelize(iterable) in Scala, SparkSession.textFile(path), SparkSession.wholeTextFiles(path), and SparkSession.parallelize(iterable) in Java and Python respectively.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apache Spark Interview Questions

How many ways we can create rdd?

1 Answers  


Name few companies that are the uses of apache spark?

1 Answers  


Is apache spark in demand?

1 Answers  


What is difference between client and cluster mode in spark?

1 Answers  


What is Catalyst framework?

1 Answers  


What file systems does spark support?

1 Answers  


Does spark store data?

1 Answers  


How rdd persist the data?

1 Answers  


Is spark written in scala?

1 Answers  


What are the features of spark rdd?

1 Answers  


What is a "Parquet" in Spark?

1 Answers  


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

1 Answers  


Categories