<?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: HDFS cluster rebalancing algorithm in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/HDFS-cluster-rebalancing-algorithm/m-p/384498#M245388</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/103713"&gt;@BrianChan&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Cluster Average Utilization Calculation&lt;/STRONG&gt;: The cluster average utilization during HDFS rebalancing is typically calculated based on the configured capacity of the cluster. The configured capacity represents the total storage capacity allocated to the HDFS cluster as defined in the cluster's configuration settings.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Individual Utilization Calculation&lt;/STRONG&gt;: Individual utilization during HDFS rebalancing is usually calculated based on the sum of DFS used and remaining space for each datanode. This calculation provides an accurate representation of how much storage is currently being utilized on each datanode and how much space is available for additional data storage.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Difference in File Moving Size&lt;/STRONG&gt;: The difference between the initially reported file moving size and the actual file moving size in the balancer log can occur due to various factors. These may include changes in data distribution across datanodes during the rebalancing process, optimizations performed by the balancer algorithm, or adjustments made based on real-time cluster conditions and performance considerations.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Exceeding DataNode Balancing Bandwidth&lt;/STRONG&gt;: While the datanode balancing bandwidth is configured to limit the amount of data transferred between datanodes per second during HDFS rebalancing, it's possible for the actual bandwidth consumption to exceed this limit under certain circumstances. Factors such as network congestion, variations in data transfer rates, or optimizations performed by the balancer algorithm can contribute to bandwidth consumption exceeding the configured limit.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chethan YM&lt;/P&gt;</description>
    <pubDate>Mon, 04 Mar 2024 10:14:33 GMT</pubDate>
    <dc:creator>ChethanYM</dc:creator>
    <dc:date>2024-03-04T10:14:33Z</dc:date>
    <item>
      <title>HDFS cluster rebalancing algorithm</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HDFS-cluster-rebalancing-algorithm/m-p/375949#M242712</link>
      <description>&lt;P&gt;Hi all, my team are currently testing on HDFS rebalancing in a HDFS cluster with two DataNode. I have read the documentation&amp;nbsp;&lt;A href="https://docs.cloudera.com/cdp-private-cloud-base/7.1.6/scaling-namespaces/topics/hdfs-step-1-storage-group-classification.html" target="_blank" rel="noopener"&gt;https://docs.cloudera.com/cdp-private-cloud-base/7.1.6/scaling-namespaces/topics/hdfs-step-1-storage-group-classification.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;We have a few question about how the file moving size is calculated.&lt;/P&gt;&lt;P&gt;1. How is cluster average utilization calculated. Do the calculation use Configured capacity or Present capacity?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BrianChan_0-1693817076802.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/38380i544F31B578468193/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BrianChan_0-1693817076802.png" alt="BrianChan_0-1693817076802.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;2. How is individual utilization calculated. Do the calculation use configured capacity or the sum of DFS used and remaining?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BrianChan_1-1693817221547.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/38381i79635054FE96BB32/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BrianChan_1-1693817221547.png" alt="BrianChan_1-1693817221547.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;3. When looking at the balancer log, it said need to move 4.98GB to make the cluster balanced. However, afterwards, the log show that the balancer decided to move 18.98GB from one host to another host. Why there is difference?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Balancer log" style="width: 999px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/38383iAFDB08F8005A9992/image-size/large?v=v2&amp;amp;px=999" role="button" title="log.PNG" alt="Balancer log" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Balancer log&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;4. We have set the DataNode balancing bandwidth to 200MiB, but as per observation, the bandwidth consumption can exceed 200MiB. Why did it happen?&lt;/P&gt;&lt;P&gt;Please help me with my questions. Thank you in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2023 09:00:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HDFS-cluster-rebalancing-algorithm/m-p/375949#M242712</guid>
      <dc:creator>BrianChan</dc:creator>
      <dc:date>2023-09-04T09:00:46Z</dc:date>
    </item>
    <item>
      <title>Re: HDFS cluster rebalancing algorithm</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HDFS-cluster-rebalancing-algorithm/m-p/384498#M245388</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/103713"&gt;@BrianChan&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Cluster Average Utilization Calculation&lt;/STRONG&gt;: The cluster average utilization during HDFS rebalancing is typically calculated based on the configured capacity of the cluster. The configured capacity represents the total storage capacity allocated to the HDFS cluster as defined in the cluster's configuration settings.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Individual Utilization Calculation&lt;/STRONG&gt;: Individual utilization during HDFS rebalancing is usually calculated based on the sum of DFS used and remaining space for each datanode. This calculation provides an accurate representation of how much storage is currently being utilized on each datanode and how much space is available for additional data storage.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Difference in File Moving Size&lt;/STRONG&gt;: The difference between the initially reported file moving size and the actual file moving size in the balancer log can occur due to various factors. These may include changes in data distribution across datanodes during the rebalancing process, optimizations performed by the balancer algorithm, or adjustments made based on real-time cluster conditions and performance considerations.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Exceeding DataNode Balancing Bandwidth&lt;/STRONG&gt;: While the datanode balancing bandwidth is configured to limit the amount of data transferred between datanodes per second during HDFS rebalancing, it's possible for the actual bandwidth consumption to exceed this limit under certain circumstances. Factors such as network congestion, variations in data transfer rates, or optimizations performed by the balancer algorithm can contribute to bandwidth consumption exceeding the configured limit.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chethan YM&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2024 10:14:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HDFS-cluster-rebalancing-algorithm/m-p/384498#M245388</guid>
      <dc:creator>ChethanYM</dc:creator>
      <dc:date>2024-03-04T10:14:33Z</dc:date>
    </item>
  </channel>
</rss>

