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

Wei-Chiu Chuang commented on HDFS-12782:
----------------------------------------

Hi [~Harsha1206]. thanks for reporting the issue.

IMO This is by design. Files that are already in the directory don't get 
updated despite the directory level change.

How about we update the doc to make this more clear?

> After Unset the EC policy for a directory, Still inside the directory files 
> having the EC Policy
> ------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-12782
>                 URL: https://issues.apache.org/jira/browse/HDFS-12782
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: erasure-coding
>    Affects Versions: 3.0.0-alpha1
>            Reporter: Harshakiran Reddy
>
> Scenario:
> Set the EC policy for Dir
> Write a file and check the EC policy for that file
> Unset the EC policy for the above Dir
> Check the policy for the file.
> Actual Output:
> ==============
> Still having the EC policy for a file
> Expected Output:
> ================
> Inside the Dir all files release the EC policy when we do unset the top level 
> Dir.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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

Reply via email to