[
https://issues.apache.org/jira/browse/HBASE-7483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13542640#comment-13542640
]
Lars Hofhansl commented on HBASE-7483:
--------------------------------------
Somehow there is a race condition, where the region is moved, but the
AssignmentManager does not know about this immediately, when the region is
attempted to be moved again the AssignmentManager does not know about it.
> HBaseAdmin.move() causes tests to fail.
> ---------------------------------------
>
> Key: HBASE-7483
> URL: https://issues.apache.org/jira/browse/HBASE-7483
> Project: HBase
> Issue Type: Bug
> Reporter: Lars Hofhansl
>
> Seen in TestHRegionOnCluster and TestSplitTransactionOnCluster.
> Stack in both cases it:
> {code}
> java.lang.reflect.UndeclaredThrowableException
> at $Proxy20.move(Unknown Source)
> at org.apache.hadoop.hbase.client.HBaseAdmin.move(HBaseAdmin.java:1426)
> at
> org.apache.hadoop.hbase.regionserver.TestHRegionOnCluster.testDataCorrectnessReplayingRecoveredEdits(TestHRegionOnCluster.java:94)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
> at
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
> at
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
> at
> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
> at
> org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:62)
> Caused by: org.apache.hadoop.ipc.RemoteException:
> org.apache.hadoop.hbase.UnknownRegionException:
> cc372cfe78f796e467f6d383da1fecba
> at org.apache.hadoop.hbase.master.HMaster.move(HMaster.java:1141)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org.apache.hadoop.hbase.ipc.WritableRpcEngine$Server.call(WritableRpcEngine.java:364)
> at
> org.apache.hadoop.hbase.ipc.HBaseServer$Handler.run(HBaseServer.java:1426)
> at org.apache.hadoop.hbase.ipc.HBaseClient.call(HBaseClient.java:1021)
> at
> org.apache.hadoop.hbase.ipc.WritableRpcEngine$Invoker.invoke(WritableRpcEngine.java:150)
> ... 12 more
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira