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

WALFactory should switch to default provider if multiwal provider is defined for meta wal (Per suggestions on HBASE-21843)

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Patch Available
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: wal
    • Labels:
      None

      Description

      Following discussions on HBASE-21843, one of the suggestion was to make wal provider for meta wal switch to default provider if multi wal is defined as the target provider. Quoting Sean Busbey:

      I don't think it's a good idea to revert HBASE-20856. the principles of that issue are still sound.

      We already have logic somewhere for the AsyncDFS based WAL that falls back to the default if something goes wrong with the needed HDFS hooks. Can we do something similar for the region grouping provider and make the check something like "did you ask for a provider for meta"?

      Am uploading a patch that switches to default whenever WALFactory finds multiwal provider is defined for meta wal (either explicitly by defining "hbase.wal.meta_provider", or indirectly, by loading what is in "hbase.wal.provider")

        Attachments

        1. HBASE-21860.master.001.patch
          4 kB
          Wellington Chevreuil
        2. HBASE-21860.branch-2.2.001.patch
          4 kB
          Wellington Chevreuil
        3. HBASE-21860.branch-2.0.001.patch
          3 kB
          Wellington Chevreuil
        4. HBASE-21860.branch-1.4.001.patch
          3 kB
          Wellington Chevreuil
        5. HBASE-21860.master.002.patch
          4 kB
          Wellington Chevreuil

          Activity

            People

            • Assignee:
              wchevreuil Wellington Chevreuil
              Reporter:
              wchevreuil Wellington Chevreuil
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated: