[ https://issues.apache.org/jira/browse/HDFS-8072?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14487899#comment-14487899 ]
Hudson commented on HDFS-8072: ------------------------------ FAILURE: Integrated in Hadoop-Mapreduce-trunk #2108 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2108/]) HDFS-8072. Reserved RBW space is not released if client terminates while writing block. (Arpit Agarwal) (arp: rev 608c4998419c18fd95019b28cc56b5bd5aa4cc01) * hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/BlockReceiver.java * hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/TestRbwSpaceReservation.java * hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/ReplicaInPipelineInterface.java * hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/ReplicaInPipeline.java * hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/SimulatedFSDataset.java * hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/extdataset/ExternalReplicaInPipeline.java * hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt > Reserved RBW space is not released if client terminates while writing block > --------------------------------------------------------------------------- > > Key: HDFS-8072 > URL: https://issues.apache.org/jira/browse/HDFS-8072 > Project: Hadoop HDFS > Issue Type: Bug > Components: datanode > Affects Versions: 2.6.0 > Reporter: Arpit Agarwal > Assignee: Arpit Agarwal > Fix For: 2.7.0 > > Attachments: HDFS-8072.01.patch, HDFS-8072.02.patch > > > The DataNode reserves space for a full block when creating an RBW block > (introduced in HDFS-6898). > The reserved space is released incrementally as data is written to disk and > fully when the block is finalized. However if the client process terminates > unexpectedly mid-write then the reserved space is not released until the DN > is restarted. -- This message was sent by Atlassian JIRA (v6.3.4#6332)