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

Backport HBASE-5335 "Dynamic Schema Configurations" to 0.94

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.94.5
    • Fix Version/s: 0.94.7
    • Component/s: regionserver
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    • Release Note:
      Hide
      With HBASE-8176("Dynamic Schema Configurations"), we can define table/column family specific configuration by HColumnDescriptor.setValue() or HTableDescriptor.setValue(). We can also do this easily in hbase shell.

      Change the table-scope by set attribute CONFIG like this:
      alter 'test', METHOD => 'table_att', CONFIG => {'hbase.hstore.compaction.min' => '5'}

      Change the column family config by set attribute CONFIG like this:
      alter 'test', NAME => 'f', CONFIG => {'hbase.hstore.compaction.min' => '5'}
      Show
      With HBASE-8176 ("Dynamic Schema Configurations"), we can define table/column family specific configuration by HColumnDescriptor.setValue() or HTableDescriptor.setValue(). We can also do this easily in hbase shell. Change the table-scope by set attribute CONFIG like this: alter 'test', METHOD => 'table_att', CONFIG => {'hbase.hstore.compaction.min' => '5'} Change the column family config by set attribute CONFIG like this: alter 'test', NAME => 'f', CONFIG => {'hbase.hstore.compaction.min' => '5'}

      Description

      With HBASE-5335, we can support per-table configuration and per-family configurations.

      We can use it to customize the compaction on table/family basis, customize the flush, and etc..

        Attachments

        1. hbase-8176.patch
          58 kB
          Sean Zhong
        2. HBASE-8176.patchv2
          59 kB
          Sean Zhong
        3. hbase-8176-release-notes.patch
          0.5 kB
          Sean Zhong

          Issue Links

            Activity

              People

              • Assignee:
                clockfly Sean Zhong
                Reporter:
                clockfly Sean Zhong
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: