hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "BELUGA BEHR (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-13947) Review of DirectoryScanner Class
Date Mon, 01 Oct 2018 03:40:00 GMT
BELUGA BEHR created HDFS-13947:
----------------------------------

             Summary: Review of DirectoryScanner Class
                 Key: HDFS-13947
                 URL: https://issues.apache.org/jira/browse/HDFS-13947
             Project: Hadoop HDFS
          Issue Type: Improvement
          Components: datanode
    Affects Versions: 3.2.0
            Reporter: BELUGA BEHR


Review of Directory Scanner.   Replaced a lot of code with Guava MultiMap.  Some general house
cleaning and improved logging.  For performance, using {{ArrayList}} instead of {{LinkedList}}
where possible, especially since these lists can be quite large a LinkedList will consume
a lot of memory and be slow to sort/iterate over.

https://stackoverflow.com/questions/322715/when-to-use-linkedlist-over-arraylist-in-java



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org


Mime
View raw message