

{"id":1847,"date":"2017-04-04T14:18:33","date_gmt":"2017-04-04T14:18:33","guid":{"rendered":"http:\/\/data-flair.training\/blogs\/?p=1847"},"modified":"2018-11-14T17:13:35","modified_gmt":"2018-11-14T11:43:35","slug":"speculative-execution-in-hadoop-mapreduce","status":"publish","type":"post","link":"https:\/\/data-flair.training\/blogs\/speculative-execution-in-hadoop-mapreduce\/","title":{"rendered":"Speculative Execution in Hadoop MapReduce"},"content":{"rendered":"<h2>1. Objective<\/h2>\n<p>In this <strong><a href=\"http:\/\/data-flair.training\/blogs\/history-big-data\/\">Big data<\/a><\/strong> Hadoop tutorial, we are going to learn <a href=\"http:\/\/data-flair.training\/blogs\/hadoop-tutorial-for-beginners\/\"><strong>Hadoop<\/strong> <\/a>speculative execution. Apache Hadoop does not fix or diagnose slow-running tasks. Instead, it tries to detect when a task is running slower than expected and launches another, an equivalent task as a backup (the backup task is called as speculative task). This process is called speculative execution in Hadoop.<\/p>\n<p>In this\u00a0tutorial we will discuss speculative execution &#8211; A key feature of Hadoop that improves job efficiency, what is the need of speculative execution in Hadoop, is Speculative execution always helpful or do we need to turn it off and how can we disable speculative execution in Hadoop.<\/p>\n<div id=\"attachment_42054\" style=\"width: 1210px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/04\/Speculative-Execution-in-Hadoop-MapReduce-01.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-42054\" class=\"size-full wp-image-42054\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/04\/Speculative-Execution-in-Hadoop-MapReduce-01.jpg\" alt=\"Speculative Execution in Hadoop MapReduce\" width=\"1200\" height=\"628\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/04\/Speculative-Execution-in-Hadoop-MapReduce-01.jpg 1200w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/04\/Speculative-Execution-in-Hadoop-MapReduce-01-150x79.jpg 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/04\/Speculative-Execution-in-Hadoop-MapReduce-01-300x157.jpg 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/04\/Speculative-Execution-in-Hadoop-MapReduce-01-768x402.jpg 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/04\/Speculative-Execution-in-Hadoop-MapReduce-01-1024x536.jpg 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/04\/Speculative-Execution-in-Hadoop-MapReduce-01-520x272.jpg 520w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><\/a><p id=\"caption-attachment-42054\" class=\"wp-caption-text\">Speculative Execution in Hadoop MapReduce<\/p><\/div>\n<h2>2. What is Speculative Execution in Hadoop?<\/h2>\n<p>Let us first understand what is Hadoop speculative execution?<\/p>\n<div id=\"attachment_1851\" style=\"width: 610px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/04\/Speculative-Execution-in-Spark.gif\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-1851\" class=\"wp-image-1851 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/04\/Speculative-Execution-in-Spark.gif\" alt=\"Speculative Execution in Spark\" width=\"600\" height=\"338\" \/><\/a><p id=\"caption-attachment-1851\" class=\"wp-caption-text\">Speculative Execution in Spark<\/p><\/div>\n<p>In Hadoop, <a href=\"http:\/\/data-flair.training\/blogs\/hadoop-mapreduce-tutorial\/\"><strong>MapReduce<\/strong><\/a> breaks jobs into tasks and these tasks run parallel rather than sequential, thus reduces overall execution time. This model of execution is sensitive to slow tasks (even if they are few in numbers) as they slow down the overall execution of a job.<br \/>\nThere may be various reasons for the slowdown of tasks, including hardware degradation or software misconfiguration, but it may be difficult to detect causes since the tasks still complete successfully, although more time is taken than the expected time. Hadoop doesn\u2019t try to diagnose and fix slow running tasks, instead, it tries to detect them and runs backup tasks for them. This is called <strong>speculative execution<\/strong> in Hadoop. These backup tasks are called Speculative tasks in Hadoop.<\/p>\n<h2>3. How Speculative Execution works in Hadoop?<\/h2>\n<p>Let us now see Hadoop speculative execution process.<br \/>\nFirstly all the tasks for the job are launched in Hadoop MapReduce. The speculative tasks are launched for those tasks that have been running for some time (at least one minute) and have not made any much progress, on average, as compared with other tasks from the job. The speculative task is killed if the original task completes before the speculative task, on the other hand, the original task is killed if the speculative task finishes before it.<\/p>\n<h2>4. Is Speculative Execution Beneficial?<\/h2>\n<p>Hadoop MapReduce Speculative execution is beneficial in some cases because in a <a href=\"http:\/\/data-flair.training\/blogs\/install-configure-apache-hadoop-2-7-x-on-ubuntu\/\"><strong>Hadoop cluster <\/strong><\/a>with 100s of nodes, problems like hardware failure or network congestion are common and running parallel or duplicate task would be better since we won\u2019t be waiting for the task in the problem to complete.<br \/>\nBut if two duplicate tasks are launched at about same time, it will be a wastage of cluster resources.<\/p>\n<h2>5. How to Enable or Disable Speculative Execution?<\/h2>\n<p>Speculative execution is a <a href=\"http:\/\/data-flair.training\/blogs\/mapreduce-job-optimization-performance-tuning-techniques\/\"><strong>MapReduce job optimization technique<\/strong><\/a> in Hadoop that is enabled by default. You can disable speculative execution for <a href=\"http:\/\/data-flair.training\/blogs\/hadoop-mapper-in-mapreduce\/\"><strong>mappers<\/strong><\/a> and<a href=\"http:\/\/data-flair.training\/blogs\/hadoop-reducer-in-mapreduce\/\"><strong> reducers<\/strong><\/a> in <em>mapred-site.xml<\/em> as shown below:<br \/>\n[php]&lt;property&gt;<br \/>\n&lt;name&gt;mapred.map.tasks.speculative.execution&lt;\/name&gt;<br \/>\n&lt;value&gt;false&lt;\/value&gt;<br \/>\n&lt;\/property&gt;<br \/>\n&lt;property&gt;<br \/>\n&lt;name&gt;mapred.reduce.tasks.speculative.execution&lt;\/name&gt;<br \/>\n&lt;value&gt;false&lt;\/value&gt;<br \/>\n&lt;\/property&gt;[\/php]<\/p>\n<h2>6. What is the need to turn off Speculative Execution?<\/h2>\n<p>The main work of speculative execution is to reduce the job execution time; however, the clustering efficiency is affected due to duplicate tasks. Since in speculative execution redundant tasks are being executed, thus this can reduce overall throughput. For this reason, some cluster administrators prefer to turn off the speculative execution in Hadoop.<\/p>\n<h2>7. Conclusion<\/h2>\n<p>In conclusion, we can say that Speculative execution is the key <a href=\"http:\/\/data-flair.training\/blogs\/hadoop-features-design-principles-tutorial\/\"><strong>feature of Hadoop<\/strong><\/a> that improves job efficiency. Hence, it reduces the job execution time. Hope you liked this blog, If you have any question regarding Speculative Execution in Hadoop, so please let us know by leaving a comment in a section given below. We will be glad to solve your queries.<br \/>\n<strong>See Also-<\/strong><\/p>\n<ul>\n<li><a href=\"http:\/\/data-flair.training\/blogs\/hadoop-ecosystem-components\/\">Hadoop Ecosystem Components<\/a><\/li>\n<li><a href=\"http:\/\/data-flair.training\/blogs\/how-hadoop-works-internally\/\">How does Hadoop Works?<\/a><\/li>\n<\/ul>\n<p><a href=\"https:\/\/en.wikipedia.org\/wiki\/Speculative_execution\">Reference for MapReduce<\/a><span hidden class=\"__iawmlf-post-loop-links\" data-iawmlf-links=\"[{&quot;id&quot;:2374,&quot;href&quot;:&quot;https:\\\/\\\/en.wikipedia.org\\\/wiki\\\/Speculative_execution&quot;,&quot;archived_href&quot;:&quot;http:\\\/\\\/web-wp.archive.org\\\/web\\\/20251011100538\\\/https:\\\/\\\/en.wikipedia.org\\\/wiki\\\/Speculative_execution&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2025-12-11 05:09:54&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2025-12-15 07:47:52&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2025-12-18 16:25:49&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2025-12-23 17:27:23&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-01-12 06:13:21&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-01-17 10:53:14&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-01-25 23:44:49&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-02 09:30:03&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-06 05:20:32&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-10 10:03:13&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-20 15:14:23&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-24 02:18:01&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-03 11:34:18&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-10 16:18:22&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-20 21:20:13&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-02 01:16:59&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-08 02:49:57&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-11 07:21:00&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-15 05:15:35&quot;,&quot;http_code&quot;:429},{&quot;date&quot;:&quot;2026-04-21 06:15:19&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-26 06:46:39&quot;,&quot;http_code&quot;:429},{&quot;date&quot;:&quot;2026-05-03 11:23:15&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-05-10 07:20:08&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-05-23 13:46:05&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-06-16 01:04:17&quot;,&quot;http_code&quot;:404},{&quot;date&quot;:&quot;2026-06-21 04:22:11&quot;,&quot;http_code&quot;:200}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-06-21 04:22:11&quot;,&quot;http_code&quot;:200},&quot;process&quot;:&quot;done&quot;}]\"><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>1. Objective In this Big data Hadoop tutorial, we are going to learn Hadoop speculative execution. Apache Hadoop does not fix or diagnose slow-running tasks. Instead, it tries to detect when a task is&#46;&#46;&#46;<\/p>\n","protected":false},"author":6,"featured_media":42054,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[37],"tags":[1968,5334,13187],"class_list":["post-1847","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-mapreduce","tag-big-data-speculative-execution","tag-hadoop-speculative-execution","tag-speculative-execution-in-hadoop"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Speculative Execution in Hadoop MapReduce - DataFlair<\/title>\n<meta name=\"description\" content=\"Hadoop speculative execution,need of speculative execution in Hadoop,is Speculative execution always helpful,how to disable speculative execution in Hadoop.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/data-flair.training\/blogs\/speculative-execution-in-hadoop-mapreduce\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Speculative Execution in Hadoop MapReduce - DataFlair\" \/>\n<meta property=\"og:description\" content=\"Hadoop speculative execution,need of speculative execution in Hadoop,is Speculative execution always helpful,how to disable speculative execution in Hadoop.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/data-flair.training\/blogs\/speculative-execution-in-hadoop-mapreduce\/\" \/>\n<meta property=\"og:site_name\" content=\"DataFlair\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/DataFlairWS\/\" \/>\n<meta property=\"article:published_time\" content=\"2017-04-04T14:18:33+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-11-14T11:43:35+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/04\/Speculative-Execution-in-Hadoop-MapReduce-01.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"DataFlair Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@DataFlairWS\" \/>\n<meta name=\"twitter:site\" content=\"@DataFlairWS\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"DataFlair Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Speculative Execution in Hadoop MapReduce - DataFlair","description":"Hadoop speculative execution,need of speculative execution in Hadoop,is Speculative execution always helpful,how to disable speculative execution in Hadoop.","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:\/\/data-flair.training\/blogs\/speculative-execution-in-hadoop-mapreduce\/","og_locale":"en_US","og_type":"article","og_title":"Speculative Execution in Hadoop MapReduce - DataFlair","og_description":"Hadoop speculative execution,need of speculative execution in Hadoop,is Speculative execution always helpful,how to disable speculative execution in Hadoop.","og_url":"https:\/\/data-flair.training\/blogs\/speculative-execution-in-hadoop-mapreduce\/","og_site_name":"DataFlair","article_publisher":"https:\/\/www.facebook.com\/DataFlairWS\/","article_published_time":"2017-04-04T14:18:33+00:00","article_modified_time":"2018-11-14T11:43:35+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/04\/Speculative-Execution-in-Hadoop-MapReduce-01.jpg","type":"image\/jpeg"}],"author":"DataFlair Team","twitter_card":"summary_large_image","twitter_creator":"@DataFlairWS","twitter_site":"@DataFlairWS","twitter_misc":{"Written by":"DataFlair Team","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/data-flair.training\/blogs\/speculative-execution-in-hadoop-mapreduce\/#article","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/speculative-execution-in-hadoop-mapreduce\/"},"author":{"name":"DataFlair Team","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/2c58ecb4f73a39f0ef993f1ddfcd7b89"},"headline":"Speculative Execution in Hadoop MapReduce","datePublished":"2017-04-04T14:18:33+00:00","dateModified":"2018-11-14T11:43:35+00:00","mainEntityOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/speculative-execution-in-hadoop-mapreduce\/"},"wordCount":667,"commentCount":0,"publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/speculative-execution-in-hadoop-mapreduce\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/04\/Speculative-Execution-in-Hadoop-MapReduce-01.jpg","keywords":["Big data speculative execution","Hadoop speculative execution","Speculative execution in Hadoop"],"articleSection":["MapReduce Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/data-flair.training\/blogs\/speculative-execution-in-hadoop-mapreduce\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/data-flair.training\/blogs\/speculative-execution-in-hadoop-mapreduce\/","url":"https:\/\/data-flair.training\/blogs\/speculative-execution-in-hadoop-mapreduce\/","name":"Speculative Execution in Hadoop MapReduce - DataFlair","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/speculative-execution-in-hadoop-mapreduce\/#primaryimage"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/speculative-execution-in-hadoop-mapreduce\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/04\/Speculative-Execution-in-Hadoop-MapReduce-01.jpg","datePublished":"2017-04-04T14:18:33+00:00","dateModified":"2018-11-14T11:43:35+00:00","description":"Hadoop speculative execution,need of speculative execution in Hadoop,is Speculative execution always helpful,how to disable speculative execution in Hadoop.","breadcrumb":{"@id":"https:\/\/data-flair.training\/blogs\/speculative-execution-in-hadoop-mapreduce\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/data-flair.training\/blogs\/speculative-execution-in-hadoop-mapreduce\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/speculative-execution-in-hadoop-mapreduce\/#primaryimage","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/04\/Speculative-Execution-in-Hadoop-MapReduce-01.jpg","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/04\/Speculative-Execution-in-Hadoop-MapReduce-01.jpg","width":1200,"height":628,"caption":"Speculative Execution in Hadoop MapReduce"},{"@type":"BreadcrumbList","@id":"https:\/\/data-flair.training\/blogs\/speculative-execution-in-hadoop-mapreduce\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog Home","item":"https:\/\/data-flair.training\/blogs\/"},{"@type":"ListItem","position":2,"name":"MapReduce Tutorials","item":"https:\/\/data-flair.training\/blogs\/category\/mapreduce\/"},{"@type":"ListItem","position":3,"name":"Speculative Execution in Hadoop MapReduce"}]},{"@type":"WebSite","@id":"https:\/\/data-flair.training\/blogs\/#website","url":"https:\/\/data-flair.training\/blogs\/","name":"DataFlair","description":"Learn Today. Lead Tomorrow.","publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/data-flair.training\/blogs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/data-flair.training\/blogs\/#organization","name":"DataFlair","url":"https:\/\/data-flair.training\/blogs\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/logo\/image\/","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/07\/Data-Flair.png","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/07\/Data-Flair.png","width":106,"height":48,"caption":"DataFlair"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/DataFlairWS\/","https:\/\/x.com\/DataFlairWS","https:\/\/www.linkedin.com\/company\/dataflair-web-services-pvt-ltd\/","https:\/\/www.youtube.com\/user\/DataFlairWS"]},{"@type":"Person","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/2c58ecb4f73a39f0ef993f1ddfcd7b89","name":"DataFlair Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/1ce4a0e3e542444fc73bbebf83e89e8b73e2d95ccb1fcee64da9945f078b97c5?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/1ce4a0e3e542444fc73bbebf83e89e8b73e2d95ccb1fcee64da9945f078b97c5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1ce4a0e3e542444fc73bbebf83e89e8b73e2d95ccb1fcee64da9945f078b97c5?s=96&d=mm&r=g","caption":"DataFlair Team"},"description":"The DataFlair Team provides industry-driven content on programming, Java, Python, C++, DSA, AI, ML, data Science, Android, Flutter, MERN, Web Development, and technology. Our expert educators focus on delivering value-packed, easy-to-follow resources for tech enthusiasts and professionals.","url":"https:\/\/data-flair.training\/blogs\/author\/dfteam2\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/1847","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/comments?post=1847"}],"version-history":[{"count":7,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/1847\/revisions"}],"predecessor-version":[{"id":42055,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/1847\/revisions\/42055"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media\/42054"}],"wp:attachment":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media?parent=1847"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/categories?post=1847"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/tags?post=1847"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}