hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vinayakumar B (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-12120) Use new block for pre-RollingUpgrade files` append requests
Date Tue, 11 Jul 2017 16:15:00 GMT

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

Vinayakumar B updated HDFS-12120:
    Status: Patch Available  (was: Open)

> Use new block for pre-RollingUpgrade files` append requests
> -----------------------------------------------------------
>                 Key: HDFS-12120
>                 URL: https://issues.apache.org/jira/browse/HDFS-12120
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Vinayakumar B
>            Assignee: Vinayakumar B
>         Attachments: HDFS-12120-01.patch
> After the RollingUpgrade prepare, append on pre-RU files will re-open the same last block
and makes changes to it (appending extra data, changing genstamp etc).
> These changes to the block will not be tracked in Datanodes (either in trash or via hardlinks)
> This creates problem if RollingUpgrade.Rollback is called.
> Since block state and size both changed, after rollback block will be marked corrupted.
> To avoid this, first time append on pre-RU files can be forced to write to new block

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