[
https://issues.apache.org/jira/browse/HADOOP-19291?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17889706#comment-17889706
]
ASF GitHub Bot commented on HADOOP-19291:
-----------------------------------------
dongjoon-hyun commented on PR #7079:
URL: https://github.com/apache/hadoop/pull/7079#issuecomment-2414142559
FYI, @mukund-thakur and @steveloughran . The remaining failures of RC3 are
the following three. Will take a look later.
```
[ERROR] Failures:
[ERROR] ChunkReadUtilTest.testReadAll:60 expected: <true> but was: <false>
[ERROR] ChunkReadUtilTest.testReadAlternateWMinSeekSize:78 expected:
<true> but was: <false>
[ERROR] ChunkReadUtilTest.testReadAlternateWMinSeekSizeDrop:88 expected:
<true> but was: <false>
[INFO]
[ERROR] Tests run: 14, Failures: 3, Errors: 0, Skipped: 0
```
> `CombinedFileRange.merge` should not convert disjoint ranges into overlapped
> ones
> ---------------------------------------------------------------------------------
>
> Key: HADOOP-19291
> URL: https://issues.apache.org/jira/browse/HADOOP-19291
> Project: Hadoop Common
> Issue Type: Bug
> Components: common
> Affects Versions: 3.3.9, 3.5.0, 3.4.1
> Reporter: Dongjoon Hyun
> Assignee: Mukund Thakur
> Priority: Major
> Labels: pull-request-available
> Fix For: 3.4.1
>
> Attachments: Screenshot 2024-09-28 at 22.02.01.png
>
>
> Currently, Hadoop has a bug to convert disjoint ranges into overlapped ones
> and eventually fails by itself.
> {code:java}
> + 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);
> + }
> {code}
> !Screenshot 2024-09-28 at 22.02.01.png!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]