hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vinayakum...@apache.org
Subject [2/2] hadoop git commit: HDFS-13774. EC: 'hdfs ec -getPolicy' is not retrieving policy details when the special REPLICATION policy set on the directory. Contributed by Ayush Saxena.
Date Mon, 03 Sep 2018 09:09:50 GMT
HDFS-13774. EC: 'hdfs ec -getPolicy' is not retrieving policy details when the special REPLICATION
policy set on the directory. Contributed by Ayush Saxena.

(cherry picked from commit 3801436e49822c724c8f4e393e6e5abbd0d2573a)


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

Branch: refs/heads/branch-3.1
Commit: 9cf35d99b9fd2851bdc5b4e301b31fe2ecbe9bf3
Parents: 6776db5
Author: Vinayakumar B <vinayakumarb@apache.org>
Authored: Mon Sep 3 14:37:57 2018 +0530
Committer: Vinayakumar B <vinayakumarb@apache.org>
Committed: Mon Sep 3 14:39:11 2018 +0530

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


http://git-wip-us.apache.org/repos/asf/hadoop/blob/9cf35d99/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSErasureCoding.md
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSErasureCoding.md b/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSErasureCoding.md
index 2e8cbbd..67e6b75 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSErasureCoding.md
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSErasureCoding.md
@@ -65,11 +65,11 @@ Architecture
 
       2. _The size of a striping cell._ This determines the granularity of striped reads
and writes, including buffer sizes and encoding work.
 
-    Policies are named *codec*-*num data blocks*-*num parity blocks*-*cell size*. Currently,
six built-in policies are supported: `RS-3-2-1024k`, `RS-6-3-1024k`, `RS-10-4-1024k`, `RS-LEGACY-6-3-1024k`,
`XOR-2-1-1024k` and `REPLICATION`.
+    Policies are named *codec*-*num data blocks*-*num parity blocks*-*cell size*. Currently,
five built-in policies are supported: `RS-3-2-1024k`, `RS-6-3-1024k`, `RS-10-4-1024k`, `RS-LEGACY-6-3-1024k`,
`XOR-2-1-1024k`.
 
-    `REPLICATION` is a special policy. It can only be set on directory, to force the directory
to adopt 3x replication scheme, instead of inheriting its ancestor's erasure coding policy.
This policy makes it possible to interleave 3x replication scheme directory with erasure coding
directory.
+    The default `REPLICATION` scheme is also supported. It can only be set on directory,
to force the directory to adopt 3x replication scheme, instead of inheriting its ancestor's
erasure coding policy. This policy makes it possible to interleave 3x replication scheme directory
with erasure coding directory.
 
-    `REPLICATION` policy is always enabled. For other built-in policies, they are disabled
by default.
+    `REPLICATION` is always enabled. Out of all the EC policies, RS(6,3) is enabled by default.
 
     Similar to HDFS storage policies, erasure coding policies are set on a directory. When
a file is created, it inherits the EC policy of its nearest ancestor directory.
 
@@ -184,7 +184,7 @@ Below are the details about each command.
       This parameter can be omitted if a 'dfs.namenode.ec.system.default.policy' configuration
is set.
       The EC policy of the path will be set with the default value in configuration.
 
-      `-replicate` apply the special `REPLICATION` policy on the directory, force the directory
to adopt 3x replication scheme.
+      `-replicate` apply the default `REPLICATION` scheme on the directory, force the directory
to adopt 3x replication scheme.
 
       `-replicate` and `-policy <policyName>` are optional arguments. They cannot be
specified at the same time.
 


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


Mime
View raw message