hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lei (Eddy) Xu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-6877) Interrupt writes when the volume being written is removed.
Date Tue, 19 Aug 2014 23:19:18 GMT

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

Lei (Eddy) Xu updated HDFS-6877:

    Attachment: HDFS-6877.000.consolidate.txt

This patch handles a race condition that the block being written is on the volume that is
being removed. The result of this race condition is the writes will try to update a deleted
{{ReplicaInfo}} when finish a block transfer. 

This patch raises IOException for this case and send writer an {{OOB_INTERRUPTTED}}. The failure
write will be handled on the client side.

Since this patch is based on HDFS-6727, I uploads a diff against the latest HDFS-6727 and
a diff against trunk. 

> Interrupt writes when the volume being written is removed.
> ----------------------------------------------------------
>                 Key: HDFS-6877
>                 URL: https://issues.apache.org/jira/browse/HDFS-6877
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: datanode
>    Affects Versions: 2.5.0
>            Reporter: Lei (Eddy) Xu
>            Assignee: Lei (Eddy) Xu
>         Attachments: HDFS-6877.000.consolidate.txt, HDFS-6877.000.delta-HDFS-6727.txt

This message was sent by Atlassian JIRA

View raw message