<?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: Help with exception from HDFS balancer in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Help-with-exception-from-HDFS-balancer/m-p/160084#M122469</link>
    <description>&lt;P&gt;Right. We should already have this bug fix.&lt;/P&gt;</description>
    <pubDate>Fri, 26 Feb 2016 21:38:21 GMT</pubDate>
    <dc:creator>zack_riesland</dc:creator>
    <dc:date>2016-02-26T21:38:21Z</dc:date>
    <item>
      <title>Help with exception from HDFS balancer</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Help-with-exception-from-HDFS-balancer/m-p/160081#M122466</link>
      <description>&lt;P&gt;We recently tried to run the HDFS balancer for the first time. &lt;/P&gt;&lt;P&gt;(Somehow we've been using HDP for almost 2 years and never knew that we should be doing this)&lt;/P&gt;&lt;P&gt;After about an hour, it showed "5.56 GB moved / 12.72 TB left / 40 GB being processed". &lt;/P&gt;&lt;P&gt;Now (10 hours later), it still says the same thing. 

Does anyone know what the issue or solution here is?&lt;/P&gt;&lt;P&gt;We're on 2.2.8 running in HA.

There's nothing in stderr. &lt;/P&gt;&lt;P&gt;stdout is below. 

[balancer] 16/02/24 21:11:51 WARN balancer.Dispatcher: Failed to move blk_1083404960_9672884 with size=134217728 from 10.22.4.44:50010:DISK to 10.22.6.22:50010:DISK through 10.22.4.46:50010: block move is failed: Not able to receive block 1083404960 from /10.22.4.64:38809 because threads quota is exceeded. 
[balancer] 16/02/24 21:11:51 INFO balancer.Dispatcher: DDatanode:10.22.4.46:50010 activateDelay 10.0 seconds 
16/02/24 21:11:51 WARN balancer.Dispatcher: Failed to move blk_1083404871_9672795 with size=134217728 from 10.22.4.44:50010:DISK to 10.22.6.22:50010:DISK through 10.22.4.44:50010: block move is failed: Not able to receive block 1083404871 from /10.22.4.64:38810 because threads quota is exceeded. 
16/02/24 21:11:51 INFO balancer.Dispatcher: DDatanode:10.22.6.22:50010 activateDelay 10.0 seconds 
[balancer] 16/02/24 21:11:51 INFO balancer.Dispatcher: DDatanode:10.22.4.44:50010 activateDelay 10.0 seconds 
16/02/24 21:11:51 INFO balancer.Dispatcher: DDatanode:10.22.6.22:50010 activateDelay 10.0 seconds 
[balancer] 16/02/24 21:11:56 INFO balancer.Dispatcher: Failed to find a pending move 5 times. Skipping 10.22.4.46:50010:DISK 
[balancer] 16/02/24 21:11:56 INFO balancer.Dispatcher: Failed to find a pending move 5 times. Skipping 10.22.4.44:50010:DISK 
[balancer] 16/02/24 21:11:57 INFO balancer.Dispatcher: Failed to find a pending move 5 times. Skipping 10.22.4.43:50010:DISK 
[balancer] 16/02/24 21:11:57 INFO balancer.Dispatcher: Failed to find a pending move 5 times. Skipping 10.22.4.41:50010:DISK&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2016 20:05:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Help-with-exception-from-HDFS-balancer/m-p/160081#M122466</guid>
      <dc:creator>zack_riesland</dc:creator>
      <dc:date>2016-02-26T20:05:46Z</dc:date>
    </item>
    <item>
      <title>Re: Help with exception from HDFS balancer</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Help-with-exception-from-HDFS-balancer/m-p/160082#M122467</link>
      <description>&lt;P&gt;&lt;A href="http://stackoverflow.com/questions/25222633/hadoop-balancer-command-warn-messages-threads-quota-is-exceeded" target="_blank"&gt;http://stackoverflow.com/questions/25222633/hadoop-balancer-command-warn-messages-threads-quota-is-exceeded&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Which version of Hadoop are you using? The answer seems pretty complete.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2016 21:14:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Help-with-exception-from-HDFS-balancer/m-p/160082#M122467</guid>
      <dc:creator>bleonhardi</dc:creator>
      <dc:date>2016-02-26T21:14:30Z</dc:date>
    </item>
    <item>
      <title>Re: Help with exception from HDFS balancer</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Help-with-exception-from-HDFS-balancer/m-p/160083#M122468</link>
      <description>&lt;P&gt;There on 2.2.8 which is 2.6&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2016 21:20:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Help-with-exception-from-HDFS-balancer/m-p/160083#M122468</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-02-26T21:20:02Z</dc:date>
    </item>
    <item>
      <title>Re: Help with exception from HDFS balancer</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Help-with-exception-from-HDFS-balancer/m-p/160084#M122469</link>
      <description>&lt;P&gt;Right. We should already have this bug fix.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2016 21:38:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Help-with-exception-from-HDFS-balancer/m-p/160084#M122469</guid>
      <dc:creator>zack_riesland</dc:creator>
      <dc:date>2016-02-26T21:38:21Z</dc:date>
    </item>
    <item>
      <title>Re: Help with exception from HDFS balancer</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Help-with-exception-from-HDFS-balancer/m-p/160085#M122470</link>
      <description>&lt;P&gt;Perhaps change the thread number parameter mentioned in the link? Still weird that it doesn't move at all. &lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2016 22:58:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Help-with-exception-from-HDFS-balancer/m-p/160085#M122470</guid>
      <dc:creator>bleonhardi</dc:creator>
      <dc:date>2016-02-26T22:58:14Z</dc:date>
    </item>
    <item>
      <title>Re: Help with exception from HDFS balancer</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Help-with-exception-from-HDFS-balancer/m-p/160086#M122471</link>
      <description>&lt;P&gt;Interestingly, I don't see a dfs.datanode.balance.max.concurrent.moves property in our config.&lt;/P&gt;&lt;P&gt;I do see dfs.datanode.balance.bandwidthPerSec&lt;/P&gt;&lt;P&gt;Any idea what a good value for dfs.datanode.balance.max.concurrent.moves would be?&lt;/P&gt;&lt;P&gt;I suppose it's a function of the number of data nodes.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2016 23:07:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Help-with-exception-from-HDFS-balancer/m-p/160086#M122471</guid>
      <dc:creator>zack_riesland</dc:creator>
      <dc:date>2016-02-26T23:07:58Z</dc:date>
    </item>
    <item>
      <title>Re: Help with exception from HDFS balancer</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Help-with-exception-from-HDFS-balancer/m-p/160087#M122472</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2593/zackriesland.html" nodeid="2593"&gt;@Zack Riesland&lt;/A&gt; and &lt;A rel="user" href="https://community.cloudera.com/users/168/bleonhardi.html" nodeid="168"&gt;@Benjamin Leonhardi&lt;/A&gt; I would leave it alone and let balancer complete. If you add the property discussed it will most likely kill the balancer now. It's just a warning and it just means cannot do more than 5 threads on one node. This property will probably trigger a restart, test it out first in a dev cluster. You can add it as custom property in hdfs-site.xml.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2016 23:21:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Help-with-exception-from-HDFS-balancer/m-p/160087#M122472</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-02-26T23:21:10Z</dc:date>
    </item>
    <item>
      <title>Re: Help with exception from HDFS balancer</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Help-with-exception-from-HDFS-balancer/m-p/160088#M122473</link>
      <description>&lt;P&gt;Finally have the balancer running fairly well.&lt;/P&gt;&lt;P&gt;In the end, we were not able to get good results using the UI link from Ambari.&lt;/P&gt;&lt;P&gt;Running via CLI with some in-line parameters is working well for us:&lt;/P&gt;&lt;PRE&gt;hdfs balancer -Ddfs.balancer.movedWinWidth=5400000 -Ddfs.balancer.moverThreads=1000 -Ddfs.balancer.dispatcherThreads=200 -Ddfs.datanode.balance.bandwidthPerSec=100000000 -Ddfs.balancer.max-size-to-move=10737418240 -threshold 20 1&amp;gt;/tmp/balancer-out.log 2&amp;gt;/tmp/balancer-debug.log &lt;/PRE&gt;</description>
      <pubDate>Sat, 05 Mar 2016 05:03:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Help-with-exception-from-HDFS-balancer/m-p/160088#M122473</guid>
      <dc:creator>zack_riesland</dc:creator>
      <dc:date>2016-03-05T05:03:42Z</dc:date>
    </item>
  </channel>
</rss>

