浏览代码

HADOOP-17232. Erasure Coding: Typo in document. Contributed by Fei Hui.

Ayush Saxena 4 年之前
父节点
当前提交
bfd99f31fd

+ 1 - 1
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"
       static="false" final="false" visibility="public"
       deprecated="not deprecated">
       deprecated="not deprecated">
       <doc>
       <doc>
-      <![CDATA[Get extra options specific to a erasure code.
+      <![CDATA[Get extra options specific to an erasure code.
  @return extra options]]>
  @return extra options]]>
       </doc>
       </doc>
     </method>
     </method>

+ 1 - 1
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
    * @return extra options
    */
    */
   public Map<String, String> getExtraOptions() {
   public Map<String, String> getExtraOptions() {

+ 1 - 1
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 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.
 The -s option shows the snapshot counts for each directory.