hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yjzhan...@apache.org
Subject hadoop git commit: HDFS-9889. Update balancer/mover document about HDFS-6133 feature. Contributed by Yongjun Zhang.
Date Fri, 04 Mar 2016 21:30:04 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-2 722182fdf -> 1d6c9486a


HDFS-9889. Update balancer/mover document about HDFS-6133 feature. Contributed by Yongjun
Zhang.

(cherry picked from commit 8e08861a14cb5b6adce338543d7da08e9926ad46)


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/1d6c9486
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/1d6c9486
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/1d6c9486

Branch: refs/heads/branch-2
Commit: 1d6c9486a45cd55d7a967150886bcb2744f563aa
Parents: 722182f
Author: Yongjun Zhang <yzhang@cloudera.com>
Authored: Fri Mar 4 13:25:29 2016 -0800
Committer: Yongjun Zhang <yzhang@cloudera.com>
Committed: Fri Mar 4 13:28:10 2016 -0800

----------------------------------------------------------------------
 .../hadoop-hdfs/src/site/markdown/HDFSCommands.md                | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/1d6c9486/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md b/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md
index 2602511..f4ee836 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md
@@ -283,6 +283,8 @@ Runs a cluster balancing utility. An administrator can simply press Ctrl-C
to st
 
 Note that the `blockpool` policy is more strict than the `datanode` policy.
 
+Besides the above command options, a pinning feature is introduced starting from 2.7.0 to
prevent certain replicas from getting moved by balancer/mover. This pinning feature is disabled
by default, and can be enabled by configuration property "dfs.datanode.block-pinning.enabled".
When enabled, this feature only affects blocks that are written to favored nodes specified
in the create() call. This feature is useful when we want to maintain the data locality, for
applications such as HBase regionserver.
+
 ### `cacheadmin`
 
 Usage: `hdfs cacheadmin -addDirective -path <path> -pool <pool-name> [-force]
[-replication <replication>] [-ttl <time-to-live>]`
@@ -424,6 +426,8 @@ Runs the data migration utility. See [Mover](./ArchivalStorage.html#Mover_-_A_Ne
 
 Note that, when both -p and -f options are omitted, the default path is the root directory.
 
+In addition, a pinning feature is introduced starting from 2.7.0 to prevent certain replicas
from getting moved by balancer/mover. This pinning feature is disabled by default, and can
be enabled by configuration property "dfs.datanode.block-pinning.enabled". When enabled, this
feature only affects blocks that are written to favored nodes specified in the create() call.
This feature is useful when we want to maintain the data locality, for applications such as
HBase regionserver.
+
 ### `namenode`
 
 Usage:


Mime
View raw message