[
https://issues.apache.org/jira/browse/HADOOP-19556?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ahmar Suhail resolved HADOOP-19556.
-----------------------------------
Resolution: Fixed
> S3A Analaytics-Accelerator:
> ITestS3AContractOpen.testInputStreamReadNegativePosition() failing
> ----------------------------------------------------------------------------------------------
>
> Key: HADOOP-19556
> URL: https://issues.apache.org/jira/browse/HADOOP-19556
> Project: Hadoop Common
> Issue Type: Sub-task
> Components: fs/s3
> Affects Versions: 3.4.2
> Reporter: Ahmar Suhail
> Priority: Major
> Fix For: 3.5.0, 3.4.3
>
>
> New test added in [https://github.com/apache/hadoop/pull/7367,]
> expects an IndexOutOfBoundsException to be thrown, when offset is negative.
>
> AAL throws IllegalArgumentException. For len, the PR says it's ok to throw
> either IllegalArgumentException or IndexOutOfBoundsException, so should the
> same thing happen of offset?
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]