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

Hudson commented on HDFS-14105:
-------------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #15541 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/15541/])
HDFS-14105. Replace TreeSet in NamenodeFsck with HashSet. Contributed by 
(gifuma: rev 99e201dfe2295be830efcc80be34706802da30be)
* (edit) 
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NamenodeFsck.java


> Replace TreeSet in NamenodeFsck with HashSet
> --------------------------------------------
>
>                 Key: HDFS-14105
>                 URL: https://issues.apache.org/jira/browse/HDFS-14105
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: BELUGA BEHR
>            Assignee: BELUGA BEHR
>            Priority: Trivial
>         Attachments: HDFS-14105.1.patch, HDFS-14105.1.patch
>
>
> Use {{HashSet}} instead of {{TreeSet}}.  {{TreeSet}} has the overhead of 
> keeping elements in order even though ordering is not taken into 
> consideration in this class.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to