<?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 Balancer: number of nodes to be included = 0 in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Balancer-number-of-nodes-to-be-included-0/m-p/33845#M10118</link>
    <description>&lt;P&gt;Using Enterprise CDH 5.2.0, we just added a new data node. When attempting to run the rebalancer, it succeeds&amp;nbsp;right away but does not balance the cluster.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The existing data nodes still have 10x the data as the new node.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Am I reading the log wrong, or is it not including any nodes when rebalancing? Do I need to configure which nodes should be included? Here is the log:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;2015-11-05 18:29:19,766 INFO  [main] balancer.Balancer (Balancer.java:parse(686)) - Using a threshold of 10.0
2015-11-05 18:29:19,768 INFO  [main] balancer.Balancer (Balancer.java:run(544)) - namenodes  = [hdfs://nameservice1]
2015-11-05 18:29:19,768 INFO  [main] balancer.Balancer (Balancer.java:run(545)) - parameters = Balancer.Parameters[BalancingPolicy.Node, threshold=10.0, number of nodes to be excluded = 0, number of nodes to be included = 0]
Time Stamp               Iteration#  Bytes Already Moved  Bytes Left To Move  Bytes Being Moved
2015-11-05 18:29:20,506 INFO  [main] net.NetworkTopology (NetworkTopology.java:add(419)) - Adding a new node: /default/10.81.128.198:50010
2015-11-05 18:29:20,506 INFO  [main] net.NetworkTopology (NetworkTopology.java:add(419)) - Adding a new node: /default/10.81.128.197:50010
2015-11-05 18:29:20,507 INFO  [main] net.NetworkTopology (NetworkTopology.java:add(419)) - Adding a new node: /default/10.81.128.195:50010
2015-11-05 18:29:20,507 INFO  [main] net.NetworkTopology (NetworkTopology.java:add(419)) - Adding a new node: /default/10.81.128.196:50010
2015-11-05 18:29:20,508 INFO  [main] balancer.Balancer (Balancer.java:logUtilizationCollection(349)) - 0 over-utilized: []
2015-11-05 18:29:20,508 INFO  [main] balancer.Balancer (Balancer.java:logUtilizationCollection(349)) - 0 underutilized: []
The cluster is balanced. Exiting...
05-Nov-2015 18:29:20     Balancing took 1.054 seconds&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 05 Nov 2015 18:49:36 GMT</pubDate>
    <dc:creator>Jeff P</dc:creator>
    <dc:date>2015-11-05T18:49:36Z</dc:date>
    <item>
      <title>Balancer: number of nodes to be included = 0</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Balancer-number-of-nodes-to-be-included-0/m-p/33845#M10118</link>
      <description>&lt;P&gt;Using Enterprise CDH 5.2.0, we just added a new data node. When attempting to run the rebalancer, it succeeds&amp;nbsp;right away but does not balance the cluster.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The existing data nodes still have 10x the data as the new node.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Am I reading the log wrong, or is it not including any nodes when rebalancing? Do I need to configure which nodes should be included? Here is the log:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;2015-11-05 18:29:19,766 INFO  [main] balancer.Balancer (Balancer.java:parse(686)) - Using a threshold of 10.0
2015-11-05 18:29:19,768 INFO  [main] balancer.Balancer (Balancer.java:run(544)) - namenodes  = [hdfs://nameservice1]
2015-11-05 18:29:19,768 INFO  [main] balancer.Balancer (Balancer.java:run(545)) - parameters = Balancer.Parameters[BalancingPolicy.Node, threshold=10.0, number of nodes to be excluded = 0, number of nodes to be included = 0]
Time Stamp               Iteration#  Bytes Already Moved  Bytes Left To Move  Bytes Being Moved
2015-11-05 18:29:20,506 INFO  [main] net.NetworkTopology (NetworkTopology.java:add(419)) - Adding a new node: /default/10.81.128.198:50010
2015-11-05 18:29:20,506 INFO  [main] net.NetworkTopology (NetworkTopology.java:add(419)) - Adding a new node: /default/10.81.128.197:50010
2015-11-05 18:29:20,507 INFO  [main] net.NetworkTopology (NetworkTopology.java:add(419)) - Adding a new node: /default/10.81.128.195:50010
2015-11-05 18:29:20,507 INFO  [main] net.NetworkTopology (NetworkTopology.java:add(419)) - Adding a new node: /default/10.81.128.196:50010
2015-11-05 18:29:20,508 INFO  [main] balancer.Balancer (Balancer.java:logUtilizationCollection(349)) - 0 over-utilized: []
2015-11-05 18:29:20,508 INFO  [main] balancer.Balancer (Balancer.java:logUtilizationCollection(349)) - 0 underutilized: []
The cluster is balanced. Exiting...
05-Nov-2015 18:29:20     Balancing took 1.054 seconds&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Nov 2015 18:49:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Balancer-number-of-nodes-to-be-included-0/m-p/33845#M10118</guid>
      <dc:creator>Jeff P</dc:creator>
      <dc:date>2015-11-05T18:49:36Z</dc:date>
    </item>
    <item>
      <title>Re: Balancer: number of nodes to be included = 0</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Balancer-number-of-nodes-to-be-included-0/m-p/33913#M10119</link>
      <description>Could you attach the 'sudo -u hdfs hdfs dfsadmin -report' command output?&lt;BR /&gt;&lt;BR /&gt;Per the reported log, the Balancer seems to think all of the 'DFS Used%' values of each DN are well within 10% of each another, and it considers the DNs balanced. (P.s. Yes, it works on % used, not raw byte balancing).</description>
      <pubDate>Sun, 08 Nov 2015 15:30:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Balancer-number-of-nodes-to-be-included-0/m-p/33913#M10119</guid>
      <dc:creator>Harsh J</dc:creator>
      <dc:date>2015-11-08T15:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: Balancer: number of nodes to be included = 0</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Balancer-number-of-nodes-to-be-included-0/m-p/33948#M10120</link>
      <description>&lt;P&gt;Thanks. That was my issue. The nodes are balanced in terms of DFS Used%, even though the amount raw bytes are varied.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Nov 2015 16:20:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Balancer-number-of-nodes-to-be-included-0/m-p/33948#M10120</guid>
      <dc:creator>Jeff P</dc:creator>
      <dc:date>2015-11-09T16:20:52Z</dc:date>
    </item>
  </channel>
</rss>

