[ 
https://issues.apache.org/jira/browse/HDFS-8626?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14592599#comment-14592599
 ] 

Arpit Agarwal commented on HDFS-8626:
-------------------------------------

Hi [~kanaka], thank you for adding the test case. I don't think the reflection 
trick in the test is working, else we'd get an exception while writing the file 
correct?

> Reserved RBW space is not released if creation of RBW File fails
> ----------------------------------------------------------------
>
>                 Key: HDFS-8626
>                 URL: https://issues.apache.org/jira/browse/HDFS-8626
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: kanaka kumar avvaru
>            Assignee: kanaka kumar avvaru
>            Priority: Blocker
>         Attachments: HDFS-8626-01.patch, HDFS-8626-02.patch, 
> HDFS-8626-03.patch
>
>
> The DataNode reserves disk space for a full block when creating an RBW block 
> and will release the space when the block is finalized (introduced in 
> HDFS-6898) 
> But if the RBW file creation fails, the reserved space is not released back. 
> In a scenario, when the data node disk is full it causes no space left 
> {{IOException}}. Eventually even if the disk got cleaned,  the reserved space 
> is not release until the  Data Node is restarted



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to