hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daryn Sharp (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-9566) Remove expensive getStorages method
Date Wed, 16 Dec 2015 21:25:46 GMT
Daryn Sharp created HDFS-9566:
---------------------------------

             Summary: Remove expensive getStorages 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


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