[
https://issues.apache.org/jira/browse/HDFS-12819?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16270114#comment-16270114
]
Xiao Chen commented on HDFS-12819:
----------------------------------
Thanks for creating the jira and posting patches Eddy.
Can we change the text:
Warning: setting erasure coding policy on *an* non-empty directory will not
automatically convert existing *data* to...
- typo 'an' to 'a'
- change existing data to existing file
While we're at it, could you please add a line
tohttp://hadoop.apache.org/docs/r3.0.0-beta1/hadoop-project-dist/hadoop-hdfs/HDFSErasureCoding.html#Administrative_commands,
for {{-setPolicy}}, to explain the same? Maybe like below:
Note: Setting policy on a non-empty directory will not automatically convert
existing file to that policy. To change policy on existing files, please copy
that file.
+1 pending.
> Setting/Unsetting EC policy shows warning if the directory is not empty
> -----------------------------------------------------------------------
>
> Key: HDFS-12819
> URL: https://issues.apache.org/jira/browse/HDFS-12819
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: erasure-coding
> Affects Versions: 3.0.0
> Reporter: Lei (Eddy) Xu
> Assignee: Lei (Eddy) Xu
> Priority: Minor
> Attachments: HDFS-12819.00.patch, HDFS-12819.01.patch
>
>
> Because the existing data will not be converted when we set or unset EC
> policy on a directory, a warning from CLI would help to clear user's
> expectation.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]