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

Backport HBASE-22040 to branch-2.1

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.1.10
    • None
    • None
    • Hide

      Add a mergeRegionsAsync(byte[][], boolean) method in the AsyncAdmin interface.

      Instead of using assert, now we will throw IllegalArgumentException when you want to merge less than 2 regions at client side. And also, at master side, instead of using assert, now we will throw DoNotRetryIOException if you want merge more than 2 regions, since we only support merging two regions at once for now.
      Show
      Add a mergeRegionsAsync(byte[][], boolean) method in the AsyncAdmin interface. Instead of using assert, now we will throw IllegalArgumentException when you want to merge less than 2 regions at client side. And also, at master side, instead of using assert, now we will throw DoNotRetryIOException if you want merge more than 2 regions, since we only support merging two regions at once for now.

    Description

      This fix went in to 2.2+. But I feel like it's applicable and could be used in 2.1 as well.

      Attachments

        Issue Links

          Activity

            People

              sakthi Sakthi
              sakthi Sakthi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: