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".