hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vinayakumar B (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-10271) Extra bytes are getting released from reservedSpace for append
Date Tue, 12 Apr 2016 08:50:25 GMT

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

Vinayakumar B commented on HDFS-10271:
--------------------------------------

I think brahma has replied for those questions in HDFS-9530 [here|https://issues.apache.org/jira/browse/HDFS-9530?focusedCommentId=15231505&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15231505].

Perhaps, this issue is straight forward, and related to append.
So we shall continue that discussion in HDFS-9530 itself.


> Extra bytes are getting released from reservedSpace for append
> --------------------------------------------------------------
>
>                 Key: HDFS-10271
>                 URL: https://issues.apache.org/jira/browse/HDFS-10271
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Brahma Reddy Battula
>            Assignee: Brahma Reddy Battula
>            Priority: Critical
>             Fix For: 2.7.3, 2.6.5
>
>         Attachments: HDFS-10271-01.patch, HDFS-10271-branch-2.7-01.patch
>
>
> 1. File already have some bytes available in block. (ex: 1024B)
> 2. Re-open the file for append, (Here reserving for (BlockSize-1024) bytes)
> 3. write one byte and flush, 
> 4. close()
> After close(), releasing *BlockSize-1* bytes from reservedspace instead of *BlockSize-1025*
bytes.
> Extra bytes released from reservedSpace may create problem for other writers.



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

Mime
View raw message