[
https://issues.apache.org/jira/browse/HADOOP-16328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16847491#comment-16847491
]
Steve Loughran commented on HADOOP-16328:
-----------------------------------------
code in question came from HADOOP-14927.
> ClassCastException in S3GuardTool.checkMetadataStoreUri
> -------------------------------------------------------
>
> Key: HADOOP-16328
> URL: https://issues.apache.org/jira/browse/HADOOP-16328
> Project: Hadoop Common
> Issue Type: Sub-task
> Components: fs/s3
> Affects Versions: 3.3.0
> Reporter: Steve Loughran
> Assignee: Steve Loughran
> Priority: Major
>
> {ClassCastException in S3GuardTool.checkMetadataStoreUri() during a run of
> {{ITestS3GuardToolDynamoDB.testDestroyFailsIfNoBucketNameOrDDBTableSet()}}
> stack trace is lost, but cause is that the FS returned by newInstance() isn't
> an S3AFS, it's a local FS.
> Irrespective of underlying cause, the s3guard tool code should check the
> class type and raise an exception including the FS URI on a mismatch.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]