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

Add shell commands to trigger the mob file compactor

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

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

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment