hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-9789) Correctly update DataNode's scheduled block size when writing small EC file
Date Thu, 11 Feb 2016 05:34:18 GMT

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

Hudson commented on HDFS-9789:

FAILURE: Integrated in Hadoop-trunk-Commit #9281 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/9281/])
HDFS-9789. Correctly update DataNode's scheduled block size when writing (jing9: rev 19adb2bc641999b83e25ff0e107ba8c6edbad399)
* hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestAddStripedBlocks.java
* hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockManager.java
* hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockUnderConstructionFeature.java
* hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt

> Correctly update DataNode's scheduled block size when writing small EC file
> ---------------------------------------------------------------------------
>                 Key: HDFS-9789
>                 URL: https://issues.apache.org/jira/browse/HDFS-9789
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: namenode
>    Affects Versions: 3.0.0
>            Reporter: Namit Maheshwari
>            Assignee: Jing Zhao
>             Fix For: 3.0.0
>         Attachments: HDFS-9789.000.patch
> Currently DatanodeDescriptor's scheduled block size is increased when allocating a new
block. It is then decreased when NN receives IBR from the DN.
> When writing an erasure-coded file whose size is less a stripe, we can have less than
6 internal data blocks. Then we never decrease the scheduled block size for Datanodes that
are actually not used for storing any internal block. When writing large amount of small EC
files within a short period, this may cause NN to wrongly exclude DN for writing due to high
scheduled block size.

This message was sent by Atlassian JIRA

View raw message