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

In ChaosMonkey, MoveRegionsOfTableAction throws UnknownRegionException

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.94.0
    • Fix Version/s: 0.98.0, 0.95.0
    • Component/s: test
    • Labels:
    • Hadoop Flags:
      Reviewed
    • Release Note:
      patch for 0.94.x
    • Tags:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: