[ 
https://issues.apache.org/jira/browse/HADOOP-16722?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16979554#comment-16979554
 ] 

Mingliang Liu commented on HADOOP-16722:
----------------------------------------

Looks like we have to check every sub-command. I tested 1 or 2 and find a 
potential place to change. I can upload a demo patch.

> S3GuardTool to support FilterFileSystem
> ---------------------------------------
>
>                 Key: HADOOP-16722
>                 URL: https://issues.apache.org/jira/browse/HADOOP-16722
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: fs/s3
>            Reporter: Mingliang Liu
>            Priority: Major
>         Attachments: HADOOP-16722.demo.patch
>
>
> Currently S3GuardTool is operating against a S3AFileSystem implementation. 
> There are cases where the {{fs.hboss.fs.s3a.impl}} is a FilterFileSystem 
> wrapping another implementation. For example, [[HBASE-23314]] made 
> {{HBaseObjectStoreSemantics}} a {{FilterFileSystem}} from {{FileSystem}}. 
> S3GuardTool could use {{FilterFileSystem::getRawFileSystem}} method to get 
> the wrapped S3AFileSystem implementation. Without this support, a simple 
> S3GuardTool against HBOSS will get confusing error like "s3a://mybucket is 
> not a S3A file system".



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to