Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-11339 HBase MOB
  3. HBASE-13012

Add shell commands to trigger the mob file compactor

    XMLWordPrintableJSON

    Details

    • Hadoop Flags:
      Reviewed
    • Release Note:
      Hide
      This adds two new shell commands -- compact_mob and major_compact_mob to the hbase shell.

      Run compaction on a mob enabled column family or all mob enabled column families within a table
                Examples:
                Compact a column family within a table:
                hbase> compact_mob 't1', 'c1'
                Compact all mob enabled column families
                hbase> compact_mob 't1'

      Run major compaction on a mob enabled column family or all mob enabled column families within a table
                Examples:
                Compact a column family within a table:
                hbase> major_compact_mob 't1', 'c1'
                Compact all mob enabled column families within a table
                hbase> major_compact_mob 't1'
      Show
      This adds two new shell commands -- compact_mob and major_compact_mob to the hbase shell. Run compaction on a mob enabled column family or all mob enabled column families within a table           Examples:           Compact a column family within a table:           hbase> compact_mob 't1', 'c1'           Compact all mob enabled column families           hbase> compact_mob 't1' Run major compaction on a mob enabled column family or all mob enabled column families within a table           Examples:           Compact a column family within a table:           hbase> major_compact_mob 't1', 'c1'           Compact all mob enabled column families within a table           hbase> major_compact_mob 't1'

      Description

      Currently the MobFileCompactor is run by HMaster periodically, we need to add a shell to trigger the compactor by commands.

        Attachments

        1. HBASE-13012-V9.diff
          69 kB
          Jingcheng Du
        2. HBASE-13012.v8.patch
          68 kB
          Jonathan Hsieh
        3. HBASE-13012-V7.diff
          68 kB
          Jingcheng Du
        4. HBASE-13012-V6.diff
          68 kB
          Jingcheng Du
        5. HBASE-13012-V5.diff
          60 kB
          Jingcheng Du
        6. hbase-13012-V4.diff
          55 kB
          Jiajia Li
        7. hbase-13012-V3.diff
          55 kB
          Jiajia Li
        8. hbase-13012-V2.diff
          57 kB
          Jiajia Li
        9. hbase-13012-V1.patch
          49 kB
          Jiajia Li

          Issue Links

            Activity

              People

              • Assignee:
                jingcheng.du@intel.com Jingcheng Du
                Reporter:
                jingcheng.du@intel.com Jingcheng Du
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: