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

[RSGroup] Support renaming rsgroup

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-alpha-1, 2.3.0, 1.7.0, 2.2.5
    • rsgroup
    • None
    • Reviewed
    • Support RSGroup renaming in core codebase. New API Admin#renameRSGroup(String, String) is introduced in 3.0.0.

    Description

      Rsgroup name once is decided at the beginning, it is difficult to rename it.

      Current approach is removing all tables and servers back to default rsgroup, then delete it and add a rsgroup with the new name, after that moving regions and servers back. Or without moving back, if machine resources is ample. Anyway, it is an expensive operation: moving regions, breaking region's locality.

      And given that rsgroup is one kind of managements in cluster, and management sometimes changes, renaming is necessary.

      It is simple in implementation. I'm working on it.

      Attachments

        Issue Links

          Activity

            People

              reidchan Reid Chan
              reidchan Reid Chan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: