You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "NarayanaSwamy (JIRA)" <ji...@apache.org> on 2010/07/08 12:50:51 UTC

[jira] Created: (HDFS-1287) Why TreeSet is used when collecting block information FSDataSet::getBlockReport

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.
-
You can reply to this email to add a comment to the issue online.