Cost Efficient
during replication, a large number of servers, huge amount of storage, and the large data center is required.
Apache spark is a cost effective solution for big data environment
Performance:
The basic idea behind Spark was to improve the performance of data processing. And Spark did this to 10x-100x times. And all the credit of faster processing in Spark goes to in-memory processing of data.
In Hadoop, the data processing takes place in disc while in Spark the data processing takes place in memory. It moves to the disc only when needed
Ease of development
The core in Spark is the distributed execution engine
Hadoop also supports some of these workloads but Spark eases the development by combining all into the same application.