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

Return a new TableDescriptor for MasterObserver#preModifyTable to allow coprocessor modify the TableDescriptor

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-alpha-1, 2.2.0
    • Coprocessors
    • None
    • Incompatible change
    • Incompatible change. Allow MasterObserver#preModifyTable to return a new TableDescriptor. And master will use this returned TableDescriptor to modify table.

    Description

      Same with HBASE-21550. The new TableDescriptor is immutable for 2.0+. But in our use case, the coprocessor may change the TableDescriptor when preModifyTable. It is allowed before 2.0. For 2.0+, We can return a new TableDescriptor for MasterObserver#preModifyTable to allow this.

      Attachments

        1. HBASE-21560.master.001.patch
          15 kB
          Guanghao Zhang
        2. HBASE-21560.branch-2.002.patch
          16 kB
          Guanghao Zhang
        3. HBASE-21560.branch-2.001.patch
          15 kB
          Guanghao Zhang

        Issue Links

          Activity

            People

              zghao Guanghao Zhang
              zghao Guanghao Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: