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 "Harsh J (Resolved) (JIRA)" <ji...@apache.org> on 2011/11/21 14:48:51 UTC

[jira] [Resolved] (HDFS-111) UnderReplicationBlocks should use generic types

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

Harsh J resolved HDFS-111.
--------------------------

    Resolution: Not A Problem

Both comments seem to have been addressed already today. Not a problem anymore, resolving.
                
> UnderReplicationBlocks should use generic types
> -----------------------------------------------
>
>                 Key: HDFS-111
>                 URL: https://issues.apache.org/jira/browse/HDFS-111
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Konstantin Shvachko
>            Priority: Minor
>
> 1. HADOOP-659 introduced new class UnderReplicationBlocks, and
> two new warnings about use of generic types
>         TreeSet<Block>[] priorityQueues = new TreeSet[LEVEL];
>         Iterator<Block>[] iterator = new Iterator[LEVEL];
> should resp. read
>         TreeSet<Block>[] priorityQueues = new TreeSet<Block>[LEVEL];
>         Iterator<Block>[] iterator = new Iterator<Block>[LEVEL];
> 2. I'd rename class UnderReplicationBlocks to UnderReplicatedBlocks while it is still internal.

--
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