You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by ay...@apache.org on 2020/08/28 12:13:40 UTC

[hadoop] branch trunk updated: HADOOP-17232. Erasure Coding: Typo in document. Contributed by Fei Hui.

This is an automated email from the ASF dual-hosted git repository.

ayushsaxena pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/trunk by this push:
     new bfd99f3  HADOOP-17232. Erasure Coding: Typo in document. Contributed by Fei Hui.
bfd99f3 is described below

commit bfd99f31fd6641e60daf8c9cf8d2ad7c2fc9eaa3
Author: Ayush Saxena <ay...@apache.org>
AuthorDate: Fri Aug 28 17:38:23 2020 +0530

    HADOOP-17232. Erasure Coding: Typo in document. Contributed by Fei Hui.
---
 .../hadoop-common/dev-support/jdiff/Apache_Hadoop_Common_3.1.2.xml      | 2 +-
 .../src/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 e750a5c..05ea96a 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">
       <doc>
-      <![CDATA[Get extra options specific to a erasure code.
+      <![CDATA[Get extra options specific to an erasure code.
  @return extra options]]>
       </doc>
     </method>
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 f512203..27e1b78 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<String, String> 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 9c55869..58b7209 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.
 


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