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

Backport HBASE-5335 "Dynamic Schema Configurations" to 0.94

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.94.5
    • 0.94.7
    • regionserver
    • None
    • Reviewed
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: