You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Steve Loughran (JIRA)" <ji...@apache.org> on 2019/06/05 22:14:01 UTC

[jira] [Resolved] (HADOOP-16328) ClassCastException in S3GuardTool.checkMetadataStoreUri

     [ https://issues.apache.org/jira/browse/HADOOP-16328?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Loughran resolved HADOOP-16328.
-------------------------------------
    Resolution: Cannot Reproduce

made this go away when I brought my branch up to sync with trunk: there's enough arg checking there that this problem doesn't surface. Closing

> 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: common-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-dev-help@hadoop.apache.org