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

In ChaosMonkey, MoveRegionsOfTableAction throws UnknownRegionException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.94.0
    • 0.98.0, 0.95.0
    • test
    • Reviewed
    • patch for 0.94.x
    • it ChaosMonkey

    Description

      The first parameter in HBaseAdmin.move(final byte [] encodedRegionName, final byte [] destServerName) should be encoded. Otherwise, it could throw UnknowRegionException and result in failure of this action.

      encodedRegionName The encoded region name; i.e. the hash that makes up the region name suffix: 
      	 e.g. if regionname is TestTable,0094429456,1289497600452.527db22f95c8a9e0116f0cc13c680396., then 
      	 the encoded region name is: 527db22f95c8a9e0116f0cc13c680396.
      

      Attachments

        1. MoveRegionsOfTableAction.java.patch
          0.8 kB
          chendihao
        2. MoveRegionsOfTableAction-v2.patch
          0.8 kB
          chendihao

        Activity

          People

            Unassigned Unassigned
            tobe chendihao
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: