Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Not A Problem
-
None
-
None
-
None
-
None
Description
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.