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

Lei (Eddy) Xu commented on HDFS-12819:
--------------------------------------

Hi, [~xiaochen]

Could you give another look of 02 patch?

bq.  could you please add a line to {{-setPolicy}}

This document already indicates that:
{noformat}
      `path`: An directory in HDFS. This is a mandatory parameter. Setting a 
policy only affects newly created files, and does not affect existing files.
{noformat}

I feel that it is sufficient. What do you think?

Thanks!

> 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]

Reply via email to