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

[MERGETOOL] HBASE Support Merge region by pattern

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Patch Available
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 3.0.0, 1.4.14
    • Component/s: master
    • Labels:
      None

      Description

      Design Objective:

      1. Merge empty region
      2. Neat region
      3. merge expired region

      Usage: bin/hbase onlinemerge [--tableName=] [--startRegion=] [--stopRegion=] [--maxRegionSize=] [--maxRegionCreateTime=] [--numMaxMergePlans=] [--targetRegionCount=] [--printExecutionPlan=] [--configMergePauseTime=]

      Options:
      --h or --h print help
      --tableName table name must be not null
      --startRegion start region
      --stopRegion stop region
      --maxRegionSize max region size Unit GB
      --maxRegionCreateTime max Region Create Time yyyy/MM/dd HH:mm:ss
      --numMaxMergePlans num MaxMerge Plans
      --targetRegionCount target Region Count
      --configMergePauseTime config Merge Pause Time In milliseconds
      --printExecutionPlan Value default is true print execution plans false is execution merge

      Examples:
      bin/hbase onlinemerge --tableName=test:test1 --startRegion=test:test1,,1576835912332.01d0d6c2b41e204104524d9aec6074fb. --stopRegion=test:test1,bbbbbbbb,1573044786980.0c9b5bd93f3b19eb9bd1a1011ddff66f. --maxRegionSize=0 --maxRegionCreateTime=yyyy/MM/dd HH:mm:ss --numMaxMergePlans=2 --targetRegionCount=4 --printExecutionPlan=false

        Attachments

        1. HBASE-23656.master.v1.patch
          37 kB
          zhengsicheng
        2. HBASE-23656.branch-1.4.v1.patch
          33 kB
          zhengsicheng

          Activity

            People

            • Assignee:
              zhengsicheng zhengsicheng
              Reporter:
              zhengsicheng zhengsicheng
            • Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

              • Created:
                Updated: