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-9566) Remove expensive 'BlocksMap#getStorages(Block b, final DatanodeStorage.State state)' method
Date Mon, 01 Feb 2016 08:15:40 GMT

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

Hudson commented on HDFS-9566:
------------------------------

FAILURE: Integrated in Hadoop-trunk-Commit #9213 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/9213/])
HDFS-9566. Remove expensive 'BlocksMap#getStorages(Block b, final (vinayakumarb: rev e418bd1fb0568ce7ae22f588fea2dd9c95567383)
* hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockManager.java
* hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlocksMap.java


> Remove expensive 'BlocksMap#getStorages(Block b, final DatanodeStorage.State state)'
method
> -------------------------------------------------------------------------------------------
>
>                 Key: HDFS-9566
>                 URL: https://issues.apache.org/jira/browse/HDFS-9566
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: namenode
>    Affects Versions: 3.0.0, 2.8.0
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>             Fix For: 2.8.0
>
>         Attachments: HDFS-9566.branch-2.patch, HDFS-9566.patch
>
>
> HDFS-5318 added a {{BlocksMap#getStorages(Block, State)}} which is based on iterables
and predicates.  The method is very expensive compared to a simple comparison/continue.



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

Mime
View raw message