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

Improve rsgroup to allow assign all tables within a specified namespace by only writing namespace

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-alpha-4
    • Fix Version/s: 2.0.0-beta-1, 2.0.0
    • Component/s: rsgroup
    • Labels:
      None
    • Release Note:
      Hide
      Add two new shell cmd.
      move_namespaces_rsgroup is used to reassign tables of specified namespaces from one RegionServer group to another.
      move_servers_namespaces_rsgroup is used to reassign regionServers and tables of specified namespaces from one group to another.
      Show
      Add two new shell cmd. move_namespaces_rsgroup is used to reassign tables of specified namespaces from one RegionServer group to another. move_servers_namespaces_rsgroup is used to reassign regionServers and tables of specified namespaces from one group to another.

      Description

      Currently, use can only assign tables within a namespace from one group to another by writing all table names in move_tables_rsgroup command. Allowing to assign all tables within a specifed namespace by only wirting namespace name is useful.

      Usage as follows:

      hbase(main):055:0> move_namespaces_rsgroup 'dest_rsgroup',['ns1']
      Took 2.2211 seconds
      
      hbase(main):051:0* move_servers_namespaces_rsgroup 'dest_rsgroup',['hbase39.lt.163.org:60020'],['ns1','ns2']
      Took 15.3710 seconds 
      

        Attachments

        1. HBASE-19336-master-V7.patch
          10 kB
          xinxin fan
        2. HBASE-19336-master-V6.patch
          10 kB
          xinxin fan
        3. HBASE-19336-master-V5.patch
          9 kB
          xinxin fan
        4. HBASE-19336-master-V4.patch
          10 kB
          xinxin fan
        5. HBASE-19336-master-V4.patch
          10 kB
          Guanghao Zhang
        6. HBASE-19336-master-V4.patch
          10 kB
          xinxin fan
        7. HBASE-19336-master-V3.patch
          9 kB
          xinxin fan
        8. HBASE-19336-master-V2.patch
          9 kB
          xinxin fan
        9. HBASE-19336-master.patch
          7 kB
          xinxin fan

          Activity

            People

            • Assignee:
              xinxin fan xinxin fan
              Reporter:
              xinxin fan xinxin fan
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: