hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arpit Agarwal (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-8626) Reserved RBW space is not released if creation of RBW File fails
Date Thu, 18 Jun 2015 17:42:06 GMT

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

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

The patch looks good. Nitpick - you can simplify the try block.
{code}
    try {
      return getBlockPoolSlice(bpid).createRbwFile(b);
    } catch (IOException exception) {
{code}

+1 with that fixed.

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

Mime
View raw message