<br />
<b>Warning</b>:  Undefined array key "global_protection_id" in <b>/home/wikitechy/public_html/interview-questions/wp-content/plugins/content-protector/inc/class-ps-rest-handler.php</b> on line <b>51</b><br />
{"id":252,"date":"2021-07-12T16:09:43","date_gmt":"2021-07-12T16:09:43","guid":{"rendered":"https:\/\/www.wikitechy.com\/interview-questions\/?p=252"},"modified":"2021-09-14T10:01:41","modified_gmt":"2021-09-14T10:01:41","slug":"what-is-the-difference-between-spark-and-hadoop-mapreduce","status":"publish","type":"post","link":"https:\/\/www.wikitechy.com\/interview-questions\/apache-spark\/what-is-the-difference-between-spark-and-hadoop-mapreduce\/","title":{"rendered":"What is the difference between Spark and Hadoop MapReduce ?"},"content":{"rendered":"<div class=\"TextHeading\">\n<div class=\"hddn\">\n<h2 id=\"what-is-apache-spark\" class=\"color-pink\" style=\"text-align: justify;\"><span style=\"font-family: inherit; font-size: 2rem;\">What is Apache Spark<\/span><\/h2>\n<\/div>\n<\/div>\n<div class=\"Content\" style=\"text-align: justify;\">\n<div class=\"hddn\">\n<ul>\n<li>Apache Spark is an open-source distributed cluster-computing framework.<\/li>\n<li>Spark is a data processing engine developed to provide faster and ease-of-use analytics than Hadoop MapReduce.<\/li>\n<li>Before Apache Software Foundation took possession of Spark, it was under the control of University of California, Berkeley\u2019s AMP Lab.<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<div class=\"TextHeading\" style=\"text-align: justify;\">\n<div class=\"hddn\">\n<h2 id=\"what-is-apache-hadoop\" class=\"color-purple\">What is Apache Hadoop<\/h2>\n<\/div>\n<\/div>\n<div class=\"Content\" style=\"text-align: justify;\">\n<div class=\"hddn\">\n<ul>\n<li>Apache Hadoop is an open-source framework written in Java that allows us to store and process Big Data in a distributed environment, across various clusters of computers using simple programming constructs.<\/li>\n<li>To do this, Hadoop uses an algorithm called MapReduce, which divides the task into small parts and assigns them to a set of computers.<\/li>\n<li>Hadoop also has its own file system, Hadoop Distributed File System (HDFS), which is based on the Google File System (GFS).<\/li>\n<li>HDFS is designed to run on low-cost hardware.<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<div class=\"ImageContent\">\n<div class=\"hddn\"><img decoding=\"async\" class=\"img-responsive center-block aligncenter\" src=\"https:\/\/cdn.wikitechy.com\/interview-questions\/apache-spark\/apache-hadoop-vs-apache-spark.png\" alt=\" \" \/><\/div>\n<div>\n<div class=\"hddn\" style=\"text-align: justify;\">\n<table class=\"table-bordered table-striped table table-responsive\">\n<tbody>\n<tr>\n<th>CRITERIA<\/th>\n<th>SPARK<\/th>\n<th>HADOOP MAPREDUCE<\/th>\n<\/tr>\n<tr>\n<td class=\"text-leftalign\">Memory<\/td>\n<td class=\"text-leftalign\">Let&#8217;s save data on memory with<br \/>\nthe use of RDD&#8217;s.<\/td>\n<td class=\"text-leftalign\">Does not leverage the memory of the hadoop cluster to maximum.<\/td>\n<\/tr>\n<tr>\n<td class=\"text-leftalign\">Disk usage<\/td>\n<td class=\"text-leftalign\"><a href=\"https:\/\/forums.wikitechy.com\/question-category\/apache-spark\/\" target=\"_blank\" rel=\"noopener\">Spark<\/a>\u00a0caches data in-memory<br \/>\nand ensures low latency.<\/td>\n<td class=\"text-leftalign\">MapReduce is disk oriented.<\/td>\n<\/tr>\n<tr>\n<td class=\"text-leftalign\">Processing<\/td>\n<td class=\"text-leftalign\">Supports real-time processing through<br \/>\nspark streaming.<\/td>\n<td class=\"text-leftalign\">Only batch processing is supported<\/td>\n<\/tr>\n<tr>\n<td class=\"text-leftalign\">Installation<\/td>\n<td class=\"text-leftalign\">Is not bound to Hadoop.<\/td>\n<td class=\"text-leftalign\">Is bound to\u00a0<a href=\"https:\/\/forums.wikitechy.com\/question-category\/hadoop\/\" target=\"_blank\" rel=\"noopener\">hadoop<\/a>.<\/td>\n<\/tr>\n<tr>\n<td class=\"text-leftalign\">Storage<\/td>\n<td class=\"text-leftalign\">Leverage exciting<\/td>\n<td class=\"text-leftalign\">HDFS<\/td>\n<\/tr>\n<tr>\n<td class=\"text-leftalign\">Speed<\/td>\n<td class=\"text-leftalign\">10 &#8211; 100X faster.<\/td>\n<td class=\"text-leftalign\">Fast.<\/td>\n<\/tr>\n<tr>\n<td class=\"text-leftalign\">Rsource management<\/td>\n<td class=\"text-leftalign\">standalone<\/td>\n<td class=\"text-leftalign\">YARN<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<div class=\"ImageContent\">\n<div class=\"hddn\"><img decoding=\"async\" class=\"img-responsive center-block aligncenter\" src=\"https:\/\/cdn.wikitechy.com\/interview-questions\/apache-spark\/hadoop-vs-spark.png\" alt=\"Hadoop Vs Spark\" \/><\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Answer : Apache Spark is an open-source distributed cluster-computing&#8230;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"passster_activate_protection":false,"passster_protect_child_pages":"","passster_protection_type":"password","passster_password":"","passster_activate_overwrite_defaults":"","passster_headline":"","passster_instruction":"","passster_placeholder":"","passster_button":"","passster_id":"","passster_activate_misc_settings":"","passster_redirect_url":"","passster_hide":"no","passster_area_shortcode":"","gtb_hide_title":false,"gtb_wrap_title":false,"gtb_class_title":"","gtb_remove_headerfooter":false,"footnotes":""},"categories":[878],"tags":[195,971,938,945,203,934,199,214,209,205,949,958,962,948,966,930,937,967,931,956,963,935,955,964,947,957,942,959,954,961,951,965,933,953,941,960,222,484,950,952,196,973,286,943,970,204,208,288,367,483,972,976,975,200,974,197,280,364,929,928,940,932,936,946,944,968,285,969],"class_list":["post-252","post","type-post","status-publish","format-standard","hentry","category-apache-spark","tag-accenture-interview-questions-and-answers","tag-altimetrik-india-pvt-ltd-interview-questions-and-answers","tag-big-data-vs-hadoop-difference","tag-can-you-explain-the-difference-between-hadoop-and-spark","tag-capgemini-interview-questions-and-answers","tag-cassandra-hadoop-difference","tag-casting-networks-india-pvt-limited-interview-questions-and-answers","tag-cgi-group-inc-interview-questions-and-answers","tag-collabera-technologies-interview-questions-and-answers","tag-dell-international-services-india-pvt-ltd-interview-questions-and-answers","tag-difference-between-apache-spark-and-hadoop","tag-difference-between-apache-spark-and-storm","tag-difference-between-apache-storm-and-spark","tag-difference-between-big-data-and-hadoop","tag-difference-between-cloudera-and-hadoop","tag-difference-between-hadoop-and-cassandra","tag-difference-between-hadoop-and-cloud-computing","tag-difference-between-hadoop-and-cloudera","tag-difference-between-hadoop-and-data-warehouse","tag-difference-between-hadoop-and-hbase","tag-difference-between-hadoop-and-hdfs","tag-difference-between-hadoop-and-hdfs-commands","tag-difference-between-hadoop-and-hive","tag-difference-between-hadoop-and-mapreduce","tag-difference-between-hadoop-and-spark","tag-difference-between-hadoop-and-sql","tag-difference-between-hdfs-and-mapreduce","tag-difference-between-hive-and-hadoop","tag-difference-between-hive-and-hbase","tag-difference-between-hive-and-spark","tag-difference-between-mapreduce-and-spark","tag-difference-between-mapreduce-and-yarn","tag-difference-between-node-and-cluster-in-hadoop","tag-difference-between-spark-and-mapreduce","tag-difference-between-spark-and-scala","tag-difference-between-sql-and-hadoop","tag-flipkart-interview-questions-and-answers","tag-genpact-interview-questions-and-answers","tag-hadoop-and-spark-difference","tag-hadoop-spark-difference","tag-ibm-interview-questions-and-answers","tag-jpmorgan-chase-and-go-interview-questions-and-answers","tag-lt-infotech-interview-questions-and-answers","tag-mapreduce-vs-spark-differences","tag-mindtree-interview-questions-and-answers","tag-oracle-corporation-interview-questions-and-answers","tag-prokarma-softech-pvt-ltd-interview-questions-and-answers","tag-r-systems-interview-questions-and-answers","tag-rbs-india-development-centre-pvt-ltd-interview-questions-and-answers","tag-reliance-industries-ltd-interview-questions-and-answers","tag-sapient-consulting-pvt-ltd-interview-questions-and-answers","tag-synechron-te-interview-questions-and-answers","tag-tata-consultancy-service-interview-questions-and-answers","tag-tech-mahindra-interview-questions-and-answers","tag-trigent-software-interview-questions-and-answers","tag-unitedhealth-group-interview-questions-and-answers","tag-virtusa-consulting-services-pvt-ltd-interview-questions-and-answers","tag-wells-fargo-interview-questions-and-answers","tag-what-is-difference-between-hadoop-and-bigdata","tag-what-is-the-difference-between-big-data-and-hadoop","tag-what-is-the-difference-between-hadoop-and-mapreduce","tag-what-is-the-difference-between-hadoop-and-spark","tag-what-is-the-difference-between-spark-and-hadoop","tag-what-is-the-difference-between-spark-and-hadoop-mapreduce","tag-what-is-the-relationship-between-hadoop-and-spark","tag-wipro-infotech-interview-questions-and-answers","tag-xoriant-solutions-pvt-ltd-interview-questions-and-answers","tag-yodlee-infotech-pvt-ltd-interview-questions-and-answers"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>What is the difference between Spark and Hadoop MapReduce ?<\/title>\n<meta name=\"description\" content=\"What is the difference between Spark and Hadoop MapReduce ? - SPARK - Let&#039;s save data on memory with the use of RDD&#039;s.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wikitechy.com\/interview-questions\/apache-spark\/what-is-the-difference-between-spark-and-hadoop-mapreduce\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What is the difference between Spark and Hadoop MapReduce ?\" \/>\n<meta property=\"og:description\" content=\"What is the difference between Spark and Hadoop MapReduce ? - SPARK - Let&#039;s save data on memory with the use of RDD&#039;s.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wikitechy.com\/interview-questions\/apache-spark\/what-is-the-difference-between-spark-and-hadoop-mapreduce\/\" \/>\n<meta property=\"og:site_name\" content=\"Wikitechy\" \/>\n<meta property=\"article:published_time\" content=\"2021-07-12T16:09:43+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-09-14T10:01:41+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdn.wikitechy.com\/interview-questions\/apache-spark\/apache-hadoop-vs-apache-spark.png\" \/>\n<meta name=\"author\" content=\"Editor\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Editor\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/apache-spark\/what-is-the-difference-between-spark-and-hadoop-mapreduce\/\",\"url\":\"https:\/\/www.wikitechy.com\/interview-questions\/apache-spark\/what-is-the-difference-between-spark-and-hadoop-mapreduce\/\",\"name\":\"What is the difference between Spark and Hadoop MapReduce ?\",\"isPartOf\":{\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/apache-spark\/what-is-the-difference-between-spark-and-hadoop-mapreduce\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/apache-spark\/what-is-the-difference-between-spark-and-hadoop-mapreduce\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cdn.wikitechy.com\/interview-questions\/apache-spark\/apache-hadoop-vs-apache-spark.png\",\"datePublished\":\"2021-07-12T16:09:43+00:00\",\"dateModified\":\"2021-09-14T10:01:41+00:00\",\"author\":{\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/4d5a581fb5470d1560324bddc5e8b757\"},\"description\":\"What is the difference between Spark and Hadoop MapReduce ? - SPARK - Let's save data on memory with the use of RDD's.\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wikitechy.com\/interview-questions\/apache-spark\/what-is-the-difference-between-spark-and-hadoop-mapreduce\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/apache-spark\/what-is-the-difference-between-spark-and-hadoop-mapreduce\/#primaryimage\",\"url\":\"https:\/\/cdn.wikitechy.com\/interview-questions\/apache-spark\/apache-hadoop-vs-apache-spark.png\",\"contentUrl\":\"https:\/\/cdn.wikitechy.com\/interview-questions\/apache-spark\/apache-hadoop-vs-apache-spark.png\"},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/#website\",\"url\":\"https:\/\/www.wikitechy.com\/interview-questions\/\",\"name\":\"Wikitechy\",\"description\":\"Interview Questions\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wikitechy.com\/interview-questions\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/4d5a581fb5470d1560324bddc5e8b757\",\"name\":\"Editor\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/e9531079fe7e07841b7b156c04d65e5f39d4adfd18b6ffe3edfff8ca5aab85b5?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/e9531079fe7e07841b7b156c04d65e5f39d4adfd18b6ffe3edfff8ca5aab85b5?s=96&d=mm&r=g\",\"caption\":\"Editor\"},\"url\":\"https:\/\/www.wikitechy.com\/interview-questions\/author\/editor\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"What is the difference between Spark and Hadoop MapReduce ?","description":"What is the difference between Spark and Hadoop MapReduce ? - SPARK - Let's save data on memory with the use of RDD's.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wikitechy.com\/interview-questions\/apache-spark\/what-is-the-difference-between-spark-and-hadoop-mapreduce\/","og_locale":"en_US","og_type":"article","og_title":"What is the difference between Spark and Hadoop MapReduce ?","og_description":"What is the difference between Spark and Hadoop MapReduce ? - SPARK - Let's save data on memory with the use of RDD's.","og_url":"https:\/\/www.wikitechy.com\/interview-questions\/apache-spark\/what-is-the-difference-between-spark-and-hadoop-mapreduce\/","og_site_name":"Wikitechy","article_published_time":"2021-07-12T16:09:43+00:00","article_modified_time":"2021-09-14T10:01:41+00:00","og_image":[{"url":"https:\/\/cdn.wikitechy.com\/interview-questions\/apache-spark\/apache-hadoop-vs-apache-spark.png"}],"author":"Editor","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Editor","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wikitechy.com\/interview-questions\/apache-spark\/what-is-the-difference-between-spark-and-hadoop-mapreduce\/","url":"https:\/\/www.wikitechy.com\/interview-questions\/apache-spark\/what-is-the-difference-between-spark-and-hadoop-mapreduce\/","name":"What is the difference between Spark and Hadoop MapReduce ?","isPartOf":{"@id":"https:\/\/www.wikitechy.com\/interview-questions\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.wikitechy.com\/interview-questions\/apache-spark\/what-is-the-difference-between-spark-and-hadoop-mapreduce\/#primaryimage"},"image":{"@id":"https:\/\/www.wikitechy.com\/interview-questions\/apache-spark\/what-is-the-difference-between-spark-and-hadoop-mapreduce\/#primaryimage"},"thumbnailUrl":"https:\/\/cdn.wikitechy.com\/interview-questions\/apache-spark\/apache-hadoop-vs-apache-spark.png","datePublished":"2021-07-12T16:09:43+00:00","dateModified":"2021-09-14T10:01:41+00:00","author":{"@id":"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/4d5a581fb5470d1560324bddc5e8b757"},"description":"What is the difference between Spark and Hadoop MapReduce ? - SPARK - Let's save data on memory with the use of RDD's.","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wikitechy.com\/interview-questions\/apache-spark\/what-is-the-difference-between-spark-and-hadoop-mapreduce\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.wikitechy.com\/interview-questions\/apache-spark\/what-is-the-difference-between-spark-and-hadoop-mapreduce\/#primaryimage","url":"https:\/\/cdn.wikitechy.com\/interview-questions\/apache-spark\/apache-hadoop-vs-apache-spark.png","contentUrl":"https:\/\/cdn.wikitechy.com\/interview-questions\/apache-spark\/apache-hadoop-vs-apache-spark.png"},{"@type":"WebSite","@id":"https:\/\/www.wikitechy.com\/interview-questions\/#website","url":"https:\/\/www.wikitechy.com\/interview-questions\/","name":"Wikitechy","description":"Interview Questions","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wikitechy.com\/interview-questions\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/4d5a581fb5470d1560324bddc5e8b757","name":"Editor","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/e9531079fe7e07841b7b156c04d65e5f39d4adfd18b6ffe3edfff8ca5aab85b5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e9531079fe7e07841b7b156c04d65e5f39d4adfd18b6ffe3edfff8ca5aab85b5?s=96&d=mm&r=g","caption":"Editor"},"url":"https:\/\/www.wikitechy.com\/interview-questions\/author\/editor\/"}]}},"_links":{"self":[{"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/posts\/252","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/comments?post=252"}],"version-history":[{"count":3,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/posts\/252\/revisions"}],"predecessor-version":[{"id":3707,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/posts\/252\/revisions\/3707"}],"wp:attachment":[{"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/media?parent=252"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/categories?post=252"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/tags?post=252"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}