hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo (Nicholas), SZE (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HDFS-1287) Why TreeSet is used when collecting block information FSDataSet::getBlockReport
Date Tue, 31 Jan 2012 05:27:10 GMT

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

Tsz Wo (Nicholas), SZE resolved HDFS-1287.
------------------------------------------

    Resolution: Not A Problem

We do not use TreeSet in FSDataset now.  This is no longer a problem.
                
> Why TreeSet is used when collecting block information FSDataSet::getBlockReport
> -------------------------------------------------------------------------------
>
>                 Key: HDFS-1287
>                 URL: https://issues.apache.org/jira/browse/HDFS-1287
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: NarayanaSwamy
>
> As a return value we are converting this to array and returning and in name node also
we are iterating ... so can we use list onstead of set. (As the block ids are unique, there
may not be duplicates)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message