Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
3.3.9, 3.5.0, 3.4.1
-
None
-
None
Description
Currently, Hadoop has a bug to convert disjoint ranges into overlapped ones and eventually fails by itself.
+ public void testMergeSortedRanges() { + List<FileRange> input = asList( + createFileRange(13816220, 24, null), + createFileRange(13816244, 7423960, null) + ); + assertIsNotOrderedDisjoint(input, 100, 800); + final List<CombinedFileRange> outputList = mergeSortedRanges( + sortRangeList(input), 100, 1001, 2500); + + assertRangeListSize(outputList, 1); + assertFileRange(outputList.get(0), 13816200, 7424100); + }
Attachments
Attachments
Issue Links
- is duplicated by
-
HDFS-17633 `CombinedFileRange.merge` should not convert disjoint ranges into overlapped ones
- Resolved