svn merge -c 1209246 from trunk for HADOOP-7877.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.23@1209248 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8031aef007
commit
162413d138
|
@ -27,6 +27,9 @@ Release 0.23.1 - Unreleased
|
||||||
HADOOP-7804. Enable hadoop config generator to set configurations to enable
|
HADOOP-7804. Enable hadoop config generator to set configurations to enable
|
||||||
short circuit read. (Arpit Gupta via jitendra)
|
short circuit read. (Arpit Gupta via jitendra)
|
||||||
|
|
||||||
|
HADOOP-7877. Update balancer CLI usage documentation to include the new
|
||||||
|
-policy option. (szetszwo)
|
||||||
|
|
||||||
OPTIMIZATIONS
|
OPTIMIZATIONS
|
||||||
|
|
||||||
BUG FIXES
|
BUG FIXES
|
||||||
|
|
|
@ -445,14 +445,22 @@
|
||||||
<a href="http://hadoop.apache.org/hdfs/docs/current/hdfs_user_guide.html#Rebalancer">Rebalancer</a>.
|
<a href="http://hadoop.apache.org/hdfs/docs/current/hdfs_user_guide.html#Rebalancer">Rebalancer</a>.
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
<code>Usage: hadoop balancer [-threshold <threshold>]</code>
|
<code>Usage: hadoop balancer [-policy <blockpool|datanode>] [-threshold <threshold>]</code>
|
||||||
</p>
|
</p>
|
||||||
<table>
|
<table>
|
||||||
<tr><th> COMMAND_OPTION </th><th> Description </th></tr>
|
<tr><th> COMMAND_OPTION </th><th> Description </th></tr>
|
||||||
|
<tr>
|
||||||
|
<td><code>-policy <blockpool|datanode></code></td>
|
||||||
|
<td>The balancing policy.
|
||||||
|
<br /><code>datanode</code>: Cluster is balance if the disk usage of each datanode is balance.
|
||||||
|
<br /><code>blockpool</code>: Cluster is balance if the disk usage of each block pool in each datanode is balance.
|
||||||
|
<br />Note that <code>blockpool</code> is a condition stronger than <code>datanode</code>.
|
||||||
|
The default policy is <code>datanode</code>.
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>-threshold <threshold></code></td>
|
<td><code>-threshold <threshold></code></td>
|
||||||
<td>Percentage of disk capacity. This overwrites the default threshold.</td>
|
<td>Percentage of disk capacity. This default threshold is 10%.</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</section>
|
</section>
|
||||||
|
|
Loading…
Reference in New Issue