hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiao Chen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-12872) EC Checksum broken when BlockAccessToken is enabled
Date Fri, 01 Dec 2017 19:55:01 GMT

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

Xiao Chen updated HDFS-12872:
    Attachment: HDFS-12872.01.patch

Hi [~drankye] and [~umamaheswararao],

This relates to the earlier work on HDFS-9694, could you please chime in?

Patch 1 ready for review. I think the safest way is to generate the blockToken for the blockGroup
too - we tradeoff for an extra token generation, but benefit from cleanness. The fix in my
earlier patch won't work if datanodes are down (e.g. {{killDn==true}} cases in TestFileChecksum}})
, because get block locations will return a smaller indices array.

For testing currently {{TestFileChecksumBlockTokens}} is created, to test block tokens separately.
But perhaps we can update {{TestFileChecksum}} directly, to save test time. Block access tokens
doesn't run a different path on checksums AFAICT, only the additional access check logics.

> EC Checksum broken when BlockAccessToken is enabled
> ---------------------------------------------------
>                 Key: HDFS-12872
>                 URL: https://issues.apache.org/jira/browse/HDFS-12872
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: erasure-coding
>            Reporter: Xiao Chen
>            Assignee: Xiao Chen
>            Priority: Critical
>              Labels: hdfs-ec-3.0-must-do
>         Attachments: HDFS-12872.01.patch, HDFS-12872.repro.patch
> It appears {{hdfs ec -checksum}} doesn't work when block access token is enabled.

This message was sent by Atlassian JIRA

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

View raw message