hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Giovanni Matteo Fumarola (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-14105) Replace TreeSet in NamenodeFsck with HashSet
Date Mon, 03 Dec 2018 21:11:00 GMT

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

Giovanni Matteo Fumarola updated HDFS-14105:
--------------------------------------------
    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

> 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
>             Fix For: 3.3.0
>
>         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


Mime
View raw message