Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-14996 Some more API cleanup for 2.0
  3. HBASE-18008

Any HColumnDescriptor we give out should be immutable

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0
    • None
    • None
    • Reviewed
    • Hide
      1) The HColumnDescriptor got from Admin, AsyncAdmin, and Table is immutable.
      2) HColumnDescriptor have been marked as "Deprecated" and user should substituted
           ColumnFamilyDescriptor for HColumnDescriptor.
      3) ColumnFamilyDescriptor is constructed through ColumnFamilyDescriptorBuilder and it contains all of the read-only methods from HColumnDescriptor
      4) The value to which the IS_MOB/MOB_THRESHOLD is mapped is stored as String rather than Boolean/Long. The MOB is an new feature to 2.0 so this change should be acceptable
      Show
      1) The HColumnDescriptor got from Admin, AsyncAdmin, and Table is immutable. 2) HColumnDescriptor have been marked as "Deprecated" and user should substituted      ColumnFamilyDescriptor for HColumnDescriptor. 3) ColumnFamilyDescriptor is constructed through ColumnFamilyDescriptorBuilder and it contains all of the read-only methods from HColumnDescriptor 4) The value to which the IS_MOB/MOB_THRESHOLD is mapped is stored as String rather than Boolean/Long. The MOB is an new feature to 2.0 so this change should be acceptable

    Description

      This is similar to HBASE-15583, but we should move up on to the ColumnFamilyDescriptor rather than ColumnDescriptor.

      Attachments

        1. HBASE-18008.v0.patch
          216 kB
          Chia-Ping Tsai
        2. HBASE-18008.v1.patch
          216 kB
          Chia-Ping Tsai
        3. HBASE-18008.v2.patch
          216 kB
          Chia-Ping Tsai
        4. HBASE-18008.v3.patch
          216 kB
          Chia-Ping Tsai
        5. HBASE-18008.v4.patch
          218 kB
          Chia-Ping Tsai
        6. HBASE-18008.v5.patch
          220 kB
          Chia-Ping Tsai
        7. HBASE-18008.v6.patch
          220 kB
          Chia-Ping Tsai
        8. HBASE-18008.v6.patch
          220 kB
          Chia-Ping Tsai
        9. HBASE-18008.v7.patch
          223 kB
          Chia-Ping Tsai
        10. HBASE-18008.v7.patch
          223 kB
          Chia-Ping Tsai
        11. HBASE-18008.v8.patch
          223 kB
          Chia-Ping Tsai
        12. HBASE-18008.v8.patch
          223 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: