[
https://issues.apache.org/jira/browse/HADOOP-18175?focusedWorklogId=759930&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-759930
]
ASF GitHub Bot logged work on HADOOP-18175:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 21/Apr/22 10:48
Start Date: 21/Apr/22 10:48
Worklog Time Spent: 10m
Work Description: monthonk opened a new pull request, #4212:
URL: https://github.com/apache/hadoop/pull/4212
### Description of PR
HADOOP-18175 Fix many test failures on prefetching branch.
**ITestS3AContractUnbuffer** -> changed getPos() on a closed file to return 0
**ITestS3AUnbuffer** -> skipping unsupported input stream for now,
HADOOP-18184 should address this test later
**ITestS3ARequesterPays** -> wired up `streamStatistics.streamOpened()` and
changed assertion based on stream type
**ITestS3AFileContextStatistics** -> moved seek past EOF validation to
read(), which is what S3AInputStream does
### How was this patch tested?
Tested in `eu-west-1` with both `fs.s3a.prefetch.enabled=true` and
`fs.s3a.prefetch.enabled=false`
### For code changes:
- [x] Does the title or this PR starts with the corresponding JIRA issue id
(e.g. 'HADOOP-17799. Your PR title ...')?
- [x] Object storage: have the integration tests been executed and the
endpoint declared according to the connector-specific documentation?
- [ ] If adding new dependencies to the code, are these dependencies
licensed in a way that is compatible for inclusion under [ASF
2.0](http://www.apache.org/legal/resolved.html#category-a)?
- [ ] If applicable, have you updated the `LICENSE`, `LICENSE-binary`,
`NOTICE-binary` files?
Issue Time Tracking
-------------------
Worklog Id: (was: 759930)
Remaining Estimate: 0h
Time Spent: 10m
> test failures with prefetching s3a input stream
> -----------------------------------------------
>
> Key: HADOOP-18175
> URL: https://issues.apache.org/jira/browse/HADOOP-18175
> Project: Hadoop Common
> Issue Type: Sub-task
> Components: fs/s3, test
> Affects Versions: 3.4.0
> Reporter: Steve Loughran
> Assignee: Monthon Klongklaew
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> identify and fix all test regressions from the prefetching s3a input stream
--
This message was sent by Atlassian Jira
(v8.20.7#820007)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]