[ 
https://issues.apache.org/jira/browse/HADOOP-17232?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17186040#comment-17186040
 ] 

Mingliang Liu edited comment on HADOOP-17232 at 8/27/20, 6:35 PM:
------------------------------------------------------------------

The "set" happens twice in the sentence, existing sentence has a simple syntax 
error (missing "the", and "use" should be "uses"), and it can be shorter (by 
using "Otherwise"). So overall I propose the following revised version:
{code}
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.
{code}


was (Author: liuml07):
Since the "set" happens twice in the sentence and existing sentence has a 
simple syntax error (missing "the", and "use" should be "uses), I propose the 
following revised version:
{code}
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. If no 
erasure coding policy is set, it will return \"Replicated\" which means it uses 
the replication storage strategy.
{code}

> Erasure Coding: Typo in document
> --------------------------------
>
>                 Key: HADOOP-17232
>                 URL: https://issues.apache.org/jira/browse/HADOOP-17232
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: documentation
>    Affects Versions: 3.3.0
>            Reporter: Fei Hui
>            Assignee: Fei Hui
>            Priority: Trivial
>         Attachments: HADOOP-17232.001.patch
>
>
> When review ec document and code, find the typo.
> Change "a erasure code" to "an erasure code"



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to