XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 2.0.0
    • Coprocessors, master
    • None
    • Incompatible change, Reviewed

    Description

      We are replacing the HTableDescriptor by TableDescriptor from code base. The TableDescriptor is designed to be a read-only object so user can't modifiy it through MasterObserver. HBASE-18502 change many methods of MasterObserver to use TableDescriptor but some deprecated methods still accept the HTableDescriptor. User may be confused by why some methods can't modify the table descriptor.

      In short, Should we allow user to modify the passed table descriptor?

      1. if yes, we should introduce a mechanism that user can return a modified table descripror
      2. if no, we should pass ImmutableHTableDescriptor to user. Or we just remove all methods accepting the HTableDescriptor

      Ditto for HColumnDescriptor.

      Attachments

        1. HBASE-18528.v2.patch
          29 kB
          Chia-Ping Tsai
        2. HBASE-18528.v1.patch
          29 kB
          Chia-Ping Tsai
        3. HBASE-18528.v0.patch
          28 kB
          Chia-Ping Tsai

        Issue Links

          Activity

            People

              chia7712 Chia-Ping Tsai
              chia7712 Chia-Ping Tsai
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: