Issue Details (XML | Word | Printable)

Key: HADOOP-4823
Type: Sub-task Sub-task
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Tsz Wo (Nicholas), SZE
Reporter: Tsz Wo (Nicholas), SZE
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Hadoop Common
HADOOP-4822

Should not use java.util.NavigableMap in 0.18

Created: 10/Dec/08 07:34 PM   Updated: 08/Jul/09 04:43 PM
Return to search
Component/s: util
Affects Version/s: 0.18.2
Fix Version/s: 0.18.3

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works 4823_20081210_0.18.patch 2008-12-10 07:47 PM Tsz Wo (Nicholas), SZE 4 kB

Hadoop Flags: Reviewed
Resolution Date: 11/Dec/08 02:11 AM


 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Tsz Wo (Nicholas), SZE added a comment - 10/Dec/08 07:47 PM
Forgot to write a description when creating this issue. Fortunately, the title is already clear enough.

4823_20081210_0.18.patch: Use SortedMap instead of NavigableMap.


Konstantin Shvachko added a comment - 11/Dec/08 01:51 AM
NavigableMap is a new interface in Java 6. So for Java 5 its sub-interface SortedMap should be used.
+1

Tsz Wo (Nicholas), SZE added a comment - 11/Dec/08 02:10 AM
After temporarily removed src/test/org/apache/hadoop/dfs/TestDiskError.java, 0.18 with the patch can be compiled in Java 5. Tested locally, everything works fine.

Tsz Wo (Nicholas), SZE added a comment - 11/Dec/08 02:11 AM
I just committed this to 0.18 only.