[jira] [Commented] (HDFS-12782) After Unset the EC policy for a directory, Still inside the directory files having the EC Policy

2018-09-10 Thread Ayush Saxena (JIRA)


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

Ayush Saxena commented on HDFS-12782:
-

Thanx [~Harsha1206] for reporting.
I feel the present doc has addressed the issue.There is even a warning on 
console when you unset EC Policy from a non empty directory that it won't 
effect the present files and it would be applicable for only new files being 
added into the directory.
Resolving the issue.

> 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
>Priority: Major
>  Labels: hdfs-ec-3.0-nice-to-have
>
> 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
(v7.6.3#76005)

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



[jira] [Commented] (HDFS-12782) After Unset the EC policy for a directory, Still inside the directory files having the EC Policy

2017-11-06 Thread Harshakiran Reddy (JIRA)

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

Harshakiran Reddy commented on HDFS-12782:
--

[~jojochuang] thanks for looking into this issue.
bq.How about we update the doc to make this more clear?
ok.

> 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
>  Labels: hdfs-ec-3.0-nice-to-have
>
> 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



[jira] [Commented] (HDFS-12782) After Unset the EC policy for a directory, Still inside the directory files having the EC Policy

2017-11-06 Thread Wei-Chiu Chuang (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-12782?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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