[ https://issues.apache.org/jira/browse/HDFS-10271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15236418#comment-15236418 ]
Ravi Prakash commented on HDFS-10271: ------------------------------------- Hi Vinod! Counting of reservedSpace on Datanodes is all messed up right now :( I don't know if you should block on getting all these fixes in, because they may be a while. These issues already exist in 2.7.* (and I haven't heard very many complaints). There exists a workaround (restart the Datanode). I'm going to push out Target Version to 2.7.4 . Please revert if you disagree > 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 > 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 reserved may create problem for other writers. -- This message was sent by Atlassian JIRA (v6.3.4#6332)