[
https://issues.apache.org/jira/browse/HADOOP-16057?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16748013#comment-16748013
]
Steve Loughran commented on HADOOP-16057:
-----------------------------------------
bq. Maybe the integration tests were not checked before submitting the patch?
maybe. Certainly I don't believe ITestS3GuardToolLocal could ever have been
executed.
How about rolling back that change & re-open that JIRA for [~adam.antal] to do
another iteration, and this time I'll run the tests myself before committing.
Adam: It's OK to break the build from time to time —we all do—, but I'm afraid
you get the homework of fixing it. Sorry
> IndexOutOfBoundsException in ITestS3GuardToolLocal
> --------------------------------------------------
>
> Key: HADOOP-16057
> URL: https://issues.apache.org/jira/browse/HADOOP-16057
> Project: Hadoop Common
> Issue Type: Sub-task
> Components: fs/s3, test
> Affects Versions: 3.3.0
> Reporter: Steve Loughran
> Assignee: Adam Antal
> Priority: Major
>
> A new test from HADOOP-15843 is failing: {{testDestroyNoArgs}}; one arg too
> short in the command line.
> Test run with {{ -Ds3guard -Ddynamodb}}
> {code}
> [ERROR]
> testDestroyNoArgs(org.apache.hadoop.fs.s3a.s3guard.ITestS3GuardToolLocal)
> Time elapsed: 0.761 s <<< ERROR!
> java.lang.IndexOutOfBoundsException: toIndex = 1
> at java.util.ArrayList.subListRangeCheck(ArrayList.java:1004)
> at java.util.ArrayList.subList(ArrayList.java:996)
> at org.apache.hadoop.fs.shell.CommandFormat.parse(CommandFormat.java:89)
> at
> org.apache.hadoop.fs.s3a.s3guard.S3GuardTool.parseArgs(S3GuardTool.java:371)
> at
> org.apache.hadoop.fs.s3a.s3guard.S3GuardTool$Destroy.run(S3GuardTool.java:626)
> at
> org.apache.hadoop.fs.s3a.s3guard.S3GuardTool.run(S3GuardTool.java:399)
> at
> org.apache.hadoop.fs.s3a.s3guard.AbstractS3GuardToolTestBase.lambda$testDestroyNoArgs$4(AbstractS3GuardToolTestBase.java:403)
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]