[ 
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
                HDFS-6877.000.delta-HDFS-6727.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
(v6.2#6252)

Reply via email to