HBASE-17760 HDFS Balancer doc is misleading (Harsh J)
This commit is contained in:
parent
1b5afc3395
commit
2304e7eced
|
@ -1365,13 +1365,13 @@ on the HBase balancer, since the HDFS balancer would degrade locality. This advi
|
||||||
is still valid if your HDFS version is lower than 2.7.1.
|
is still valid if your HDFS version is lower than 2.7.1.
|
||||||
+
|
+
|
||||||
link:https://issues.apache.org/jira/browse/HDFS-6133[HDFS-6133] provides the ability
|
link:https://issues.apache.org/jira/browse/HDFS-6133[HDFS-6133] provides the ability
|
||||||
to exclude a given directory from the HDFS load balancer, by setting the
|
to exclude favored-nodes (pinned) blocks from the HDFS load balancer, by setting the
|
||||||
`dfs.datanode.block-pinning.enabled` property to `true` in your HDFS
|
`dfs.datanode.block-pinning.enabled` property to `true` in the HDFS service
|
||||||
configuration and running the following hdfs command:
|
configuration.
|
||||||
+
|
+
|
||||||
----
|
HBase can be enabled to use the HDFS favored-nodes feature by switching the HBase balancer
|
||||||
$ sudo -u hdfs hdfs balancer -exclude /hbase
|
class (conf: `hbase.master.loadbalancer.class`) to `org.apache.hadoop.hbase.favored.FavoredNodeLoadBalancer`
|
||||||
----
|
which is documented link:https://hbase.apache.org/devapidocs/org/apache/hadoop/hbase/favored/FavoredNodeLoadBalancer.html[here].
|
||||||
+
|
+
|
||||||
NOTE: HDFS-6133 is available in HDFS 2.7.0 and higher, but HBase does not support
|
NOTE: HDFS-6133 is available in HDFS 2.7.0 and higher, but HBase does not support
|
||||||
running on HDFS 2.7.0, so you must be using HDFS 2.7.1 or higher to use this feature
|
running on HDFS 2.7.0, so you must be using HDFS 2.7.1 or higher to use this feature
|
||||||
|
|
Loading…
Reference in New Issue