because it does not describe blocks,
which are currently being replicated,
that is under replication, but rather blocks that have low replication factor,
that is under-replicated.
> UnderReplicationBlocks should use generic ty
UnderReplicationBlocks should use generic types
---
Key: HADOOP-1026
URL: https://issues.apache.org/jira/browse/HADOOP-1026
Project: Hadoop
Issue Type: Bug
Components: dfs
Hi all,
I've noticed a couple of people over-specifying the generic
collections. The general pattern is:
Map myMap = new HashMap();
where the field is given a type of the general interface with the
type parameters and the constructor is the specific implementation
without the type param
[ http://issues.apache.org/jira/browse/HADOOP-670?page=all ]
Doug Cutting updated HADOOP-670:
Status: Resolved (was: Patch Available)
Resolution: Fixed
I just committed this. Thanks, Konstantin.
> Generic types for FSNamesys
[ http://issues.apache.org/jira/browse/HADOOP-670?page=all ]
Konstantin Shvachko updated HADOOP-670:
---
Status: Patch Available (was: Open)
> Generic types for FSNamesystem
> --
>
> Key
[ http://issues.apache.org/jira/browse/HADOOP-670?page=all ]
Konstantin Shvachko updated HADOOP-670:
---
Attachment: Generics.patch
> Generic types for FSNamesystem
> --
>
> Key
Generic types for FSNamesystem
--
Key: HADOOP-670
URL: http://issues.apache.org/jira/browse/HADOOP-670
Project: Hadoop
Issue Type: Improvement
Affects Versions: 0.7.2
Reporter: Konstantin Shvachko