You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Giovanni Matteo Fumarola (JIRA)" <ji...@apache.org> on 2018/11/30 18:59:00 UTC

[jira] [Updated] (HDFS-14105) Replace TreeSet in NamenodeFsck with HashSet

     [ https://issues.apache.org/jira/browse/HDFS-14105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Giovanni Matteo Fumarola updated HDFS-14105:
--------------------------------------------
    Summary: Replace TreeSet in NamenodeFsck with HashSet  (was: Remove NamenodeFsck HashSet)

> 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: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org