You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "kanaka kumar avvaru (JIRA)" <ji...@apache.org> on 2015/06/18 13:45:00 UTC

[jira] [Commented] (HDFS-8626) Reserved RBW space is not released if creation of RBW File fails

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

kanaka kumar avvaru commented on HDFS-8626:
-------------------------------------------

Right now I don't have unit test case to reproduce but tried stubbing DatanodeUtil.createTmpFile(...) to throw IOException unconditionally.

> 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: Critical
>
> 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)