Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-23314

[HBOSS] Make HBaseObjectStoreSemantics FilterFileSystem

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.0-alpha1
    • Fix Version/s: 1.0.0-alpha2
    • Component/s: hboss
    • Labels:
      None

      Description

      HBaseObjectStoreSemantics, as a wrapper of object store file system implementation, currently extends FileSystem itself. There is no straightforward way to expose its wrapped files system. However, some tooling would need to operate using the wrapped object store file systems, for e.g. S3GuardTool is expecting the file system implementation is S3A so it can access the metadata store easily. A simple S3GuardTool against HBOSS will get confusing error like "s3a://mybucket is not a S3A file system".

      Let's make HBaseObjectStoreSemantics a FilterFileSystem so that places like S3GuardTool can use getRawFilesSystem() to retrieve the wrapped file system. Doing this should not break the contract of HBOSS contract.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                liuml07 Mingliang Liu
                Reporter:
                liuml07 Mingliang Liu
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: