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

Add an option of using round-robin assignment for enabling table

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.90.4, 0.94.0
    • 0.94.0
    • master
    • None
    • Reviewed
    • Hide
      A new config parameter, hbase.master.enabletable.roundrobin, was introduced in this JIRA.
      The default value is false and old behavior is kept.
      When set true, regions of the table being enabled are assigned round-robin across the cluster.
      Show
      A new config parameter, hbase.master.enabletable.roundrobin, was introduced in this JIRA. The default value is false and old behavior is kept. When set true, regions of the table being enabled are assigned round-robin across the cluster.

    Description

      Under some scenarios, we use the function of disable/enable HTable. But currently, enable HTable uses the random-assignment. We hope all the regions show a better distribution, no matter how many regions and how many regionservers.

      So I suggest to add an option of using round-robin assignment on enable-table.

      Attachments

        1. HBASE-4669-90.patch
          9 kB
          Jieshan Bean
        2. HBASE-4669-90-V2.patch
          9 kB
          Jieshan Bean
        3. HBASE-4669-Trunk.patch
          10 kB
          Jieshan Bean
        4. HBASE-4669-Trunk-V2.patch
          13 kB
          Ted Yu

        Activity

          People

            jeason Jieshan Bean
            jeason Jieshan Bean
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: