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

Giovanni Matteo Fumarola commented on HDFS-14105:
-------------------------------------------------

Thanks [~belugabehr] . We should re run the unit tests for this patch.

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

Reply via email to