How spark is faster than hadoop?



How spark is faster than hadoop?..

Answer / Manu Devi

"Apache Spark is generally faster than Apache Hadoop MapReduce due to several reasons:-
1. In-memory processing: Spark keeps intermediate results in memory, reducing the number of disk operations compared to Hadoop.
2. Faster task execution: Spark can execute tasks much more quickly due to its support for parallel computation and in-built optimizations such as lazy evaluation and lineage storage.
3. Better fault tolerance: Spark provides faster recovery from failures because it stores enough information about each task to recalculate intermediate results, reducing the need for data retransmission.
4. Simpler API: Spark has a simpler and more flexible API compared to Hadoop, making it easier to write and optimize distributed applications."

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apache Spark Interview Questions

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

1 Answers  


What are the limitations of Spark?

1 Answers  


Why lazy evaluation is good in spark?

1 Answers  


Describe different transformations in dstream in apache spark streaming?

1 Answers  


What is the difference between scala and spark?

1 Answers  


How many partitions are created by default in Apache Spark RDD?

1 Answers  


What is spark execution engine?

1 Answers  


Why do we need spark?

1 Answers  


What is dag – directed acyclic graph?

1 Answers  


What is the difference between Spark Transform in DStream and map ?

1 Answers  


What is skew data?

1 Answers  


What does rdd stand for?

1 Answers  


Categories