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

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

Steve Loughran created HADOOP-16328:
---------------------------------------

             Summary: 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


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