<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: rack awareness configuration on cloudera 6.3.x cluster in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/rack-awareness-configuration-on-cloudera-6-3-x-cluster/m-p/373081#M241481</link>
    <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/80393"&gt;@rki_&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;cool!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so, by my understanding;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if I separate the datanodes in the two physical racks, as shown in the image below, the blocks will be replicated to all datanodes in the two racks, right?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="yagoaparecidoti_0-1687438562761.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/37907i5FD55C9031F515DE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="yagoaparecidoti_0-1687438562761.png" alt="yagoaparecidoti_0-1687438562761.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;with that, if rack_01 goes down, I won't have any data loss, right?&lt;/P&gt;</description>
    <pubDate>Thu, 22 Jun 2023 12:56:31 GMT</pubDate>
    <dc:creator>yagoaparecidoti</dc:creator>
    <dc:date>2023-06-22T12:56:31Z</dc:date>
    <item>
      <title>rack awareness configuration on cloudera 6.3.x cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/rack-awareness-configuration-on-cloudera-6-3-x-cluster/m-p/373022#M241466</link>
      <description>&lt;P&gt;we are planning to separate cluster hosts into &lt;STRONG&gt;2 physical racks&lt;/STRONG&gt;, &lt;STRONG&gt;10&lt;/STRONG&gt; hosts for each rack.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;our doubt is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;as we only have two physical racks, is it still recommended to use the "&lt;STRONG&gt;rack&lt;/STRONG&gt;" option in cloudera manager to separate the hosts?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="yagoaparecidoti_0-1687357496044.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/37897i43150167C460988D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="yagoaparecidoti_0-1687357496044.png" alt="yagoaparecidoti_0-1687357496044.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jun 2023 14:26:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/rack-awareness-configuration-on-cloudera-6-3-x-cluster/m-p/373022#M241466</guid>
      <dc:creator>yagoaparecidoti</dc:creator>
      <dc:date>2023-06-21T14:26:11Z</dc:date>
    </item>
    <item>
      <title>Re: rack awareness configuration on cloudera 6.3.x cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/rack-awareness-configuration-on-cloudera-6-3-x-cluster/m-p/373049#M241470</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/96163"&gt;@yagoaparecidoti&lt;/a&gt;.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I'm not an expert but I checked documentation and found this:&lt;BR /&gt;&lt;A href="https://docs.cloudera.com/documentation/enterprise/6/6.3/topics/cm_mc_specify_rack.html" target="_blank" rel="noopener"&gt;Specifying Racks for Hosts&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;If I reading correctly you will have a total of twenty hosts across two racks so this statement would apply.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Cloudera Manager includes internal rack awareness scripts, but you must specify the racks where the hosts in your cluster are located. If your cluster contains more than 10 hosts, Cloudera recommends that you specify the rack for each host. HDFS, MapReduce, and YARN will automatically use the racks you specify.&lt;/LI-CODE&gt;
&lt;P&gt;I hope this helps.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jun 2023 19:05:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/rack-awareness-configuration-on-cloudera-6-3-x-cluster/m-p/373049#M241470</guid>
      <dc:creator>cjervis</dc:creator>
      <dc:date>2023-06-21T19:05:08Z</dc:date>
    </item>
    <item>
      <title>Re: rack awareness configuration on cloudera 6.3.x cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/rack-awareness-configuration-on-cloudera-6-3-x-cluster/m-p/373052#M241472</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/10253"&gt;@cjervis&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I had already read this documentation before&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you for your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i really wanted to know, if two racks are enough or the recommended one would be 3&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jun 2023 20:11:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/rack-awareness-configuration-on-cloudera-6-3-x-cluster/m-p/373052#M241472</guid>
      <dc:creator>yagoaparecidoti</dc:creator>
      <dc:date>2023-06-21T20:11:25Z</dc:date>
    </item>
    <item>
      <title>Re: rack awareness configuration on cloudera 6.3.x cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/rack-awareness-configuration-on-cloudera-6-3-x-cluster/m-p/373073#M241480</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/96163"&gt;@yagoaparecidoti&lt;/a&gt;&amp;nbsp;With a replication factor of 3, the&amp;nbsp;&lt;SPAN&gt;BlockPlacementPolicyDefault will put one replica on the local machine if the writer is on a datanode, otherwise on a random datanode in the same rack as that of the writer, another replica on a node in a different (remote) rack, and the last on a different node in the same remote rack. So totally 2 racks will be used, in sceneraio like 2 racks going down at the same time will cause data inavailability where using BlockPlacementPolicyRackFaultTolerant will help in placing 3 blocks on 3 different racks.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, you can safely set 2 racks. In case, you want to go with&amp;nbsp;&lt;SPAN&gt;BlockPlacementPolicyRackFaultTolerant ( rare cases where both the racks go down ), you can follow the below doc :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://hadoop.apache.org/docs/stable/hadoop-project-dist/hadoop-hdfs/HdfsBlockPlacementPolicies.html" target="_blank"&gt;https://hadoop.apache.org/docs/stable/hadoop-project-dist/hadoop-hdfs/HdfsBlockPlacementPolicies.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jun 2023 09:27:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/rack-awareness-configuration-on-cloudera-6-3-x-cluster/m-p/373073#M241480</guid>
      <dc:creator>rki_</dc:creator>
      <dc:date>2023-06-22T09:27:47Z</dc:date>
    </item>
    <item>
      <title>Re: rack awareness configuration on cloudera 6.3.x cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/rack-awareness-configuration-on-cloudera-6-3-x-cluster/m-p/373081#M241481</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/80393"&gt;@rki_&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;cool!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so, by my understanding;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if I separate the datanodes in the two physical racks, as shown in the image below, the blocks will be replicated to all datanodes in the two racks, right?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="yagoaparecidoti_0-1687438562761.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/37907i5FD55C9031F515DE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="yagoaparecidoti_0-1687438562761.png" alt="yagoaparecidoti_0-1687438562761.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;with that, if rack_01 goes down, I won't have any data loss, right?&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jun 2023 12:56:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/rack-awareness-configuration-on-cloudera-6-3-x-cluster/m-p/373081#M241481</guid>
      <dc:creator>yagoaparecidoti</dc:creator>
      <dc:date>2023-06-22T12:56:31Z</dc:date>
    </item>
    <item>
      <title>Re: rack awareness configuration on cloudera 6.3.x cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/rack-awareness-configuration-on-cloudera-6-3-x-cluster/m-p/373083#M241483</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/96163"&gt;@yagoaparecidoti&lt;/a&gt;&amp;nbsp;Yes, the Block for the file would be present on the Datanode in either of the rack. So if you write a file with RF 3, 1 block will be present on a rack and its 2 replicas will be present on different Datanodes of 2nd rack.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jun 2023 13:34:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/rack-awareness-configuration-on-cloudera-6-3-x-cluster/m-p/373083#M241483</guid>
      <dc:creator>rki_</dc:creator>
      <dc:date>2023-06-22T13:34:17Z</dc:date>
    </item>
    <item>
      <title>Re: rack awareness configuration on cloudera 6.3.x cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/rack-awareness-configuration-on-cloudera-6-3-x-cluster/m-p/373084#M241484</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/80393"&gt;@rki_&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;excellent, thanks a lot for the help.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;hugs.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;have a nice day!&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jun 2023 14:00:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/rack-awareness-configuration-on-cloudera-6-3-x-cluster/m-p/373084#M241484</guid>
      <dc:creator>yagoaparecidoti</dc:creator>
      <dc:date>2023-06-22T14:00:17Z</dc:date>
    </item>
    <item>
      <title>Re: rack awareness configuration on cloudera 6.3.x cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/rack-awareness-configuration-on-cloudera-6-3-x-cluster/m-p/373086#M241486</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/80393"&gt;@rki_&lt;/a&gt;&amp;nbsp;/&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/10253"&gt;@cjervis&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I forgot to ask,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;today the cluster already has thousands of blocks in hdfs, more than 23 million blocks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;after configuring the rack in the cluster, the hdfs will recognize the racks and will start moving the blocks to the racks to increase the availability of the blocks or will i have to rebalance the hdfs?&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jun 2023 14:44:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/rack-awareness-configuration-on-cloudera-6-3-x-cluster/m-p/373086#M241486</guid>
      <dc:creator>yagoaparecidoti</dc:creator>
      <dc:date>2023-06-22T14:44:25Z</dc:date>
    </item>
  </channel>
</rss>

