hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jing Zhao (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-9621) getListing wrongly associates Erasure Coding policy to pre-existing replicated files under an EC directory
Date Thu, 07 Jan 2016 18:39:40 GMT

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

Jing Zhao commented on HDFS-9621:
---------------------------------

Thanks for the review, Kai! Will update the patch to address your comments.

Looks like we need to cover more scenarios in the fix. The current fix only checks the ancestral
path of a file for the erasure coding policy, but cannot handle 
# the file is moved from an EC dir into a non-EC dir
# the node is a directory and has EC policy associated

I will fix these and include more unit tests.

> getListing wrongly associates Erasure Coding policy to pre-existing replicated files
under an EC directory  
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-9621
>                 URL: https://issues.apache.org/jira/browse/HDFS-9621
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: erasure-coding
>    Affects Versions: 3.0.0
>            Reporter: Sushmitha Sreenivasan
>            Assignee: Jing Zhao
>            Priority: Critical
>         Attachments: HDFS-9621.000.patch
>
>
> This is reported by [~ssreenivasan]:
> If we set Erasure Coding policy to a directory which contains some files with replicated
blocks, later when listing files under the directory these files will be reported as EC files.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message