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


State the difference between persist() and cache() functions.



State the difference between persist() and cache() functions...

Answer / Sunanda Biswas

"The main difference between Spark's persist() and cache() functions is that caching puts the RDD into memory by default, while persist() allows you to specify storage level. By default, the MEMORY_ONLY storage level is used for cache(), but you can use different levels like MEMORY_ONLY_SER or DISK_ONLY for persist()."n

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apache Spark Interview Questions

On what all basis can you differentiate rdd, dataframe, and dataset?

1 Answers  


What is a spark standalone cluster?

1 Answers  


Is it possible to run Spark and Mesos along with Hadoop?

1 Answers  


Is spark distributed computing?

1 Answers  


Explain the difference between Spark SQL and Hive.

1 Answers  


Define partitions in apache spark.

1 Answers  


What is mlib?

1 Answers  


What is a partition in spark?

1 Answers  


Why do we use spark?

1 Answers  


How is transformation on rdd different from action?

1 Answers  


What do you understand by Transformations in Spark?

1 Answers  


What is spark ml?

1 Answers  


Categories