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] [Updated] (HDFS-8077) Erasure coding: fix bug in EC zone and symlinks
Date Wed, 08 Apr 2015 21:18:14 GMT

     [ https://issues.apache.org/jira/browse/HDFS-8077?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Jing Zhao updated HDFS-8077:
    Attachment: HDFS-8077.001.patch

Upload a patch fixing failed tests (except TestFileTruncate). Besides the fix Zhe made, the
patch also includes the following fixes:
# Use {{getECPolicy}} instead of {{INodeFile#isStriped}} to decide if the striped block feature
should be added to the file
# While processing block report we need to do a copy for the reported block of {{BlockToMarkCorrupt}}
since the block report processing reuses the same block object.

> Erasure coding: fix bug in EC zone and symlinks
> -----------------------------------------------
>                 Key: HDFS-8077
>                 URL: https://issues.apache.org/jira/browse/HDFS-8077
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Zhe Zhang
>            Assignee: Jing Zhao
>         Attachments: HDFS-8077-000.patch, HDFS-8077.001.patch
> EC zone manager tries to get XAttr of an inode to determine the EC policy, which doesn't
work with symlinks. This patch has a simple fix to get rid of test failures.
> Ideally we should also add logic to disallow creating symlinks in several EC-related
scenarios. But since symlinks are disabled in branch-2 and will likely be disabled in trunk,
this step is skipped now.
> The patch also fixes a small test error around {{getBlockReplication}}

This message was sent by Atlassian JIRA

View raw message