

{"id":1424,"date":"2017-01-10T17:03:30","date_gmt":"2017-01-10T17:03:30","guid":{"rendered":"http:\/\/data-flair.training\/blogs\/?p=1424"},"modified":"2021-08-25T22:33:41","modified_gmt":"2021-08-25T17:03:41","slug":"rack-awareness-hadoop-hdfs","status":"publish","type":"post","link":"https:\/\/data-flair.training\/blogs\/rack-awareness-hadoop-hdfs\/","title":{"rendered":"Rack Awareness in Hadoop HDFS &#8211; An Introductory Guide"},"content":{"rendered":"<div class='__iawmlf-post-loop-links' style='display:none;' data-iawmlf-post-links='[{&quot;id&quot;:1163,&quot;href&quot;:&quot;https:\\\/\\\/hadoop.apache.org&quot;,&quot;archived_href&quot;:&quot;http:\\\/\\\/web-wp.archive.org\\\/web\\\/20251008061344\\\/https:\\\/\\\/hadoop.apache.org\\\/&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2025-12-09 02:28:24&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2025-12-12 06:49:41&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2025-12-15 09:10:10&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2025-12-18 18:19:24&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2025-12-22 07:02:07&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2025-12-25 14:18:36&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2025-12-28 14:42:46&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2025-12-31 20:25:23&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-01-04 05:35:17&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-01-07 05:38:48&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-01-10 09:31:55&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-01-13 10:17:34&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-01-16 11:17:06&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-01-19 11:27:31&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-01-22 12:37:34&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-01-25 15:42:16&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-01-28 16:04:51&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-01-31 22:35:26&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-04 01:35:24&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-07 11:50:52&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-10 15:00:48&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-13 17:30:11&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-17 04:31:34&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-20 07:27:26&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-23 08:58:22&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-26 11:58:09&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-01 17:13:40&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-04 20:02:02&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-08 07:00:15&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-11 07:24:33&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-14 17:13:12&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-18 02:37:36&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-21 07:22:14&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-24 10:20:44&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-27 11:15:57&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-30 13:36:00&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-03 01:50:21&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-06 03:38:55&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-09 05:27:12&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-12 13:40:56&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-16 02:05:03&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-19 07:29:50&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-22 08:32:52&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-25 11:03:04&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-28 14:02:46&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-05-01 17:27:05&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-05-05 03:36:42&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-05-08 06:22:34&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-05-11 10:16:03&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-05-14 17:21:35&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-05-17 18:15:11&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-05-20 19:19:28&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-05-24 05:01:01&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-05-27 05:22:10&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-05-30 10:25:50&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-06-02 16:48:23&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-06-06 03:05:45&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-06-09 10:29:32&quot;,&quot;http_code&quot;:206}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-06-09 10:29:32&quot;,&quot;http_code&quot;:206},&quot;process&quot;:&quot;done&quot;}]'><\/div>\n<p><strong>Ever thought how NameNode choose the Datanode for storing the data blocks and their replicas?<\/strong><\/p>\n<p>HDFS stores files across multiple nodes (DataNodes) in a cluster. To get the maximum performance from Hadoop and to improve the network traffic during file read\/write, NameNode chooses the DataNodes on the same rack or nearby racks for data read\/write. Rack awareness is the concept of choosing the closer DataNode based on rack information.<\/p>\n<p>In this article, we will study the rack awareness concept in detail.<\/p>\n<p>We will first see what is the rack, what is rack awareness, the reason for using rack awareness, block replication policies, and benefits of Rack Awareness.<\/p>\n<p>Let\u2019s start with the introduction of the rack.<\/p>\n<h3>What is a rack?<\/h3>\n<p>The <strong>Rack<\/strong> is the collection of around 40-50 DataNodes connected using the same network switch. If the network goes down, the whole rack will be unavailable. A large Hadoop cluster is deployed in multiple racks.<\/p>\n<h2>What is Rack Awareness in Hadoop HDFS?<\/h2>\n<p>In a large Hadoop cluster, there are multiple racks. Each rack consists of DataNodes. Communication between the DataNodes on the same rack is more efficient as compared to the communication between DataNodes residing on different racks.<\/p>\n<p>To reduce the network traffic during file <a href=\"https:\/\/data-flair.training\/blogs\/hadoop-hdfs-data-read-and-write-operations\/\"><strong>read\/write<\/strong><\/a>, NameNode chooses the closest DataNode for serving the client read\/write request. NameNode maintains <strong>rack ids<\/strong> of each DataNode to achieve this rack information. This concept of choosing the closest DataNode based on the rack information is known as <strong>Rack Awareness<\/strong>.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/02\/hadoop-cluster.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-76264\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/02\/hadoop-cluster.jpg\" alt=\"hadoop cluster - Rack Awareness in Hadoop\" width=\"637\" height=\"524\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/02\/hadoop-cluster.jpg 637w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/02\/hadoop-cluster-150x123.jpg 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/02\/hadoop-cluster-300x247.jpg 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/02\/hadoop-cluster-520x428.jpg 520w\" sizes=\"auto, (max-width: 637px) 100vw, 637px\" \/><\/a><\/p>\n<p>A default <a href=\"https:\/\/hadoop.apache.org\/\">Hadoop<\/a> installation assumes that all the DataNodes reside on the same rack.<\/p>\n<h3>\u00a0Why Rack Awareness?<\/h3>\n<p>The reasons for the Rack Awareness in Hadoop are:<\/p>\n<ol>\n<li>To reduce the network traffic while file read\/write, which improves the cluster performance.<\/li>\n<li>To achieve <a href=\"https:\/\/data-flair.training\/blogs\/learn-hadoop-hdfs-fault-tolerance\/\"><strong>fault tolerance<\/strong><\/a>, even when the rack goes down (discussed later in this article).<\/li>\n<li>Achieve high availability of data so that data is available even in unfavorable conditions.<\/li>\n<li>To reduce the latency, that is, to make the file read\/write operations done with lower delay.<\/li>\n<\/ol>\n<p>NameNode uses a rack awareness algorithm while placing the replicas in HDFS.<\/p>\n<p>Let us now study the replica placement via Rack Awareness in Hadoop.<\/p>\n<h3>Replica placement via Rack awareness in Hadoop<\/h3>\n<p>We know HDFS stores replicas of data blocks of a file to provide fault tolerance and <strong><a href=\"https:\/\/data-flair.training\/blogs\/hadoop-high-availability-tutorial\/\">high availability<\/a><\/strong>. Also, the network bandwidth between nodes within the rack is higher than the network bandwidth between nodes on a different rack.<\/p>\n<p>If we store replicas on different nodes on the same rack, then it improves the network bandwidth, but if the rack fails (rarely happens), then there will be no copy of data on another rack.<\/p>\n<p>Again, if we store replicas on unique racks, then due to the transfer of blocks to multiple racks while writes increase the cost of writes.<\/p>\n<p>Therefore, NameNode on multiple rack cluster maintains block replication by using inbuilt <strong>Rack awareness policies<\/strong> which says:<\/p>\n<ul>\n<li>Not more than one replica be placed on one node.<\/li>\n<li>Not more than two replicas are placed on the same rack.<\/li>\n<li>Also, the number of racks used for block replication should always be smaller than the number of replicas.<\/li>\n<\/ul>\n<p>For the common case where the replication factor is three, the block replication policy put the first replica on the local rack, a second replica on the different DataNode on the same rack, and a third replica on the different rack.<\/p>\n<p>Also, while re-replicating a block, if the existing replica is one, place the second replica on a different rack. If the existing replicas are two and are on the same rack, then place the third replica on a different rack.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/02\/HDFS-rack-awareness.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-76268\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/02\/HDFS-rack-awareness.jpg\" alt=\"HDFS rack awareness\" width=\"524\" height=\"451\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/02\/HDFS-rack-awareness.jpg 524w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/02\/HDFS-rack-awareness-150x129.jpg 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/02\/HDFS-rack-awareness-300x258.jpg 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/02\/HDFS-rack-awareness-520x448.jpg 520w\" sizes=\"auto, (max-width: 524px) 100vw, 524px\" \/><\/a><\/p>\n<p>This policy improves write performance and network traffic without compromising fault tolerance.<\/p>\n<h3>Rack Awareness Example<\/h3>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/01\/HDFS-rack-awareness.gif\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-76368\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/01\/HDFS-rack-awareness.gif\" alt=\"Rack Awareness in Hadoop\" width=\"1248\" height=\"864\" \/><\/a><\/p>\n<p>In the above GIF, we are having a file \u201cFile.txt\u201d divided into three blocks A, B, and C. To provide fault tolerance, HDFS creates replicas of blocks. NameNode places the first copy of each block on the closest DataNode, the second replica of each block on different DataNode on the same rack, and the third replica on different DataNode on a different rack.<\/p>\n<h3>What about performance?<\/h3>\n<ul>\n<li>Faster replication operation: Since the replicas are placed within the same rack it would use higher bandwidth and lower latency hence making it faster.<\/li>\n<li>If <a href=\"https:\/\/data-flair.training\/blogs\/hadoop-yarn-tutorial\/\"><strong>YARN<\/strong><\/a> is unable to create a container in the same data node where the queried data is located it would try to create the container in a data node within the same rack. This would be more performant because of the higher bandwidth and lower latency of the data nodes inside the same rack<\/li>\n<\/ul>\n<h3>Advantages of Implementing Rack Awareness<\/h3>\n<p>Some of the main advantages of Rack Awareness are:<\/p>\n<h4>1. Preventing data loss against rack failure<\/h4>\n<p>Rack Awareness policy puts replicas at different rack as well, thus ensures no data loss even if the rack fails.<\/p>\n<h4>2. Minimize the cost of write and maximize the read speed<\/h4>\n<p>Rack awareness reduces write traffic in between different racks by placing write requests to replicas on the same rack or nearby rack, thus reducing the cost of write. Also, using the bandwidth of multiple racks increases the read performance.<\/p>\n<h4>3. Maximize network bandwidth and low latency<\/h4>\n<p>Rack Awareness enables Hadoop to maximize network bandwidth by favoring the transfer of blocks within racks over transfer between racks. Especially with rack awareness, the YARN is able to optimize <a href=\"https:\/\/data-flair.training\/blogs\/hadoop-mapreduce-tutorial\/\"><strong>MapReduce<\/strong><\/a> job performance. It assigns tasks to nodes that are \u2018closer\u2019 to their data in terms of network topology. This is particularly beneficial in cases where tasks cannot be assigned to nodes where their data is stored locally.<\/p>\n<h2>Summary<\/h2>\n<p>In this article, you have studied the rack awareness concept, which is the selection of the closest node based on the rack information.<\/p>\n<p>We have seen the reasons for introducing rack awareness in Hadoop like network bandwidth, high availability, etc.<\/p>\n<p>We have also discussed the Rack awareness policy used by the NameNode to maintain block replication. The article also enlisted the advantages of Rack Awareness.<\/p>\n<p>Now, its time to explore\u00a0how Hadoop HDFS achieves<a href=\"https:\/\/data-flair.training\/blogs\/hadoop-high-availability-tutorial\/\"><strong> High Availability<\/strong><\/a><\/p>\n<p><strong>Any Doubt?<\/strong> Ask our\u00a0<strong>DataFlair<\/strong>\u00a0experts in the comment section.<\/p>\n<p>Keep Learning<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ever thought how NameNode choose the Datanode for storing the data blocks and their replicas? HDFS stores files across multiple nodes (DataNodes) in a cluster. To get the maximum performance from Hadoop and to&#46;&#46;&#46;<\/p>\n","protected":false},"author":7,"featured_media":76373,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[25],"tags":[5342,5548,21976,11297,11298,11299],"class_list":["post-1424","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-hdfs","tag-hadoop-tutorial","tag-hdfs","tag-hdfs-rack-awareness","tag-rack-awareness","tag-rack-awareness-in-hadoop","tag-rack-awareness-in-hdfs"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Rack Awareness in Hadoop HDFS - An Introductory Guide - DataFlair<\/title>\n<meta name=\"description\" content=\"HDFS Rack Awareness in Hadoop-what is rack Awareness in HDFS, need of Rack Awareness in HDFS,advantages of Hadoop Rack Awareness,Replica Placement 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\/rack-awareness-hadoop-hdfs\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Rack Awareness in Hadoop HDFS - An Introductory Guide - DataFlair\" \/>\n<meta property=\"og:description\" content=\"HDFS Rack Awareness in Hadoop-what is rack Awareness in HDFS, need of Rack Awareness in HDFS,advantages of Hadoop Rack Awareness,Replica Placement in Hadoop\" \/>\n<meta property=\"og:url\" content=\"https:\/\/data-flair.training\/blogs\/rack-awareness-hadoop-hdfs\/\" \/>\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-01-10T17:03:30+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-08-25T17:03:41+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/01\/hadoop-rack-awareness.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"802\" \/>\n\t<meta property=\"og:image:height\" content=\"420\" \/>\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=\"5 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Rack Awareness in Hadoop HDFS - An Introductory Guide - DataFlair","description":"HDFS Rack Awareness in Hadoop-what is rack Awareness in HDFS, need of Rack Awareness in HDFS,advantages of Hadoop Rack Awareness,Replica Placement 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\/rack-awareness-hadoop-hdfs\/","og_locale":"en_US","og_type":"article","og_title":"Rack Awareness in Hadoop HDFS - An Introductory Guide - DataFlair","og_description":"HDFS Rack Awareness in Hadoop-what is rack Awareness in HDFS, need of Rack Awareness in HDFS,advantages of Hadoop Rack Awareness,Replica Placement in Hadoop","og_url":"https:\/\/data-flair.training\/blogs\/rack-awareness-hadoop-hdfs\/","og_site_name":"DataFlair","article_publisher":"https:\/\/www.facebook.com\/DataFlairWS\/","article_published_time":"2017-01-10T17:03:30+00:00","article_modified_time":"2021-08-25T17:03:41+00:00","og_image":[{"width":802,"height":420,"url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/01\/hadoop-rack-awareness.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":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/data-flair.training\/blogs\/rack-awareness-hadoop-hdfs\/#article","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/rack-awareness-hadoop-hdfs\/"},"author":{"name":"DataFlair Team","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/beb0cab24b7aa54423a3b50e669a9dcd"},"headline":"Rack Awareness in Hadoop HDFS &#8211; An Introductory Guide","datePublished":"2017-01-10T17:03:30+00:00","dateModified":"2021-08-25T17:03:41+00:00","mainEntityOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/rack-awareness-hadoop-hdfs\/"},"wordCount":1025,"commentCount":15,"publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/rack-awareness-hadoop-hdfs\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/01\/hadoop-rack-awareness.jpg","keywords":["hadoop tutorial","hdfs","HDFS rack awareness","rack awareness","Rack Awareness in Hadoop","Rack Awareness in Hdfs"],"articleSection":["HDFS Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/data-flair.training\/blogs\/rack-awareness-hadoop-hdfs\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/data-flair.training\/blogs\/rack-awareness-hadoop-hdfs\/","url":"https:\/\/data-flair.training\/blogs\/rack-awareness-hadoop-hdfs\/","name":"Rack Awareness in Hadoop HDFS - An Introductory Guide - DataFlair","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/rack-awareness-hadoop-hdfs\/#primaryimage"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/rack-awareness-hadoop-hdfs\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/01\/hadoop-rack-awareness.jpg","datePublished":"2017-01-10T17:03:30+00:00","dateModified":"2021-08-25T17:03:41+00:00","description":"HDFS Rack Awareness in Hadoop-what is rack Awareness in HDFS, need of Rack Awareness in HDFS,advantages of Hadoop Rack Awareness,Replica Placement in Hadoop","breadcrumb":{"@id":"https:\/\/data-flair.training\/blogs\/rack-awareness-hadoop-hdfs\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/data-flair.training\/blogs\/rack-awareness-hadoop-hdfs\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/rack-awareness-hadoop-hdfs\/#primaryimage","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/01\/hadoop-rack-awareness.jpg","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/01\/hadoop-rack-awareness.jpg","width":802,"height":420,"caption":"rack awareness in hadoop"},{"@type":"BreadcrumbList","@id":"https:\/\/data-flair.training\/blogs\/rack-awareness-hadoop-hdfs\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog Home","item":"https:\/\/data-flair.training\/blogs\/"},{"@type":"ListItem","position":2,"name":"HDFS Tutorials","item":"https:\/\/data-flair.training\/blogs\/category\/hdfs\/"},{"@type":"ListItem","position":3,"name":"Rack Awareness in Hadoop HDFS &#8211; An Introductory Guide"}]},{"@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\/beb0cab24b7aa54423a3b50e669a9dcd","name":"DataFlair Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/c322416204232f4dd97ef3901b0a499a5d34d7ba7fe333f4bfe53a907873d293?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/c322416204232f4dd97ef3901b0a499a5d34d7ba7fe333f4bfe53a907873d293?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c322416204232f4dd97ef3901b0a499a5d34d7ba7fe333f4bfe53a907873d293?s=96&d=mm&r=g","caption":"DataFlair Team"},"description":"DataFlair Team specializes in creating clear, actionable content on programming, Java, Python, C++, DSA, AI, ML, data Science, Android, Flutter, MERN, Web Development, and technology. Backed by industry expertise, we make learning easy and career-oriented for beginners and pros alike.","url":"https:\/\/data-flair.training\/blogs\/author\/dfteam3\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/1424","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\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/comments?post=1424"}],"version-history":[{"count":10,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/1424\/revisions"}],"predecessor-version":[{"id":76369,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/1424\/revisions\/76369"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media\/76373"}],"wp:attachment":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media?parent=1424"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/categories?post=1424"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/tags?post=1424"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}