From bfd99f31fd6641e60daf8c9cf8d2ad7c2fc9eaa3 Mon Sep 17 00:00:00 2001 From: Ayush Saxena Date: Fri, 28 Aug 2020 17:38:23 +0530 Subject: [PATCH] HADOOP-17232. Erasure Coding: Typo in document. Contributed by Fei Hui. --- .../dev-support/jdiff/Apache_Hadoop_Common_3.1.2.xml | 2 +- .../main/java/org/apache/hadoop/io/erasurecode/ECSchema.java | 2 +- .../hadoop-common/src/site/markdown/FileSystemShell.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hadoop-common-project/hadoop-common/dev-support/jdiff/Apache_Hadoop_Common_3.1.2.xml b/hadoop-common-project/hadoop-common/dev-support/jdiff/Apache_Hadoop_Common_3.1.2.xml index e750a5c431b..05ea96a6392 100644 --- a/hadoop-common-project/hadoop-common/dev-support/jdiff/Apache_Hadoop_Common_3.1.2.xml +++ b/hadoop-common-project/hadoop-common/dev-support/jdiff/Apache_Hadoop_Common_3.1.2.xml @@ -24379,7 +24379,7 @@ to databases, and to files.]]> static="false" final="false" visibility="public" deprecated="not deprecated"> - diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/erasurecode/ECSchema.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/erasurecode/ECSchema.java index f5122033465..27e1b78919c 100644 --- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/erasurecode/ECSchema.java +++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/erasurecode/ECSchema.java @@ -156,7 +156,7 @@ public final class ECSchema implements Serializable { } /** - * Get extra options specific to a erasure code. + * Get extra options specific to an erasure code. * @return extra options */ public Map getExtraOptions() { diff --git a/hadoop-common-project/hadoop-common/src/site/markdown/FileSystemShell.md b/hadoop-common-project/hadoop-common/src/site/markdown/FileSystemShell.md index 9c5586913d9..58b7209c13f 100644 --- a/hadoop-common-project/hadoop-common/src/site/markdown/FileSystemShell.md +++ b/hadoop-common-project/hadoop-common/src/site/markdown/FileSystemShell.md @@ -154,7 +154,7 @@ The -e option shows the erasure coding policy for each file. The output columns with -count -e are: DIR\_COUNT, FILE\_COUNT, CONTENT_SIZE, ERASURECODING\_POLICY, PATHNAME -The ERASURECODING\_POLICY is name of the policy for the file. If a erasure coding policy is setted on that file, it will return name of the policy. If no erasure coding policy is setted, it will return \"Replicated\" which means it use replication storage strategy. +The ERASURECODING\_POLICY is name of the policy for the file. If an erasure coding policy is set on that file, it will return the name of the policy. Otherwise, it will return \"Replicated\" which means it uses the replication storage strategy. The -s option shows the snapshot counts for each directory.