hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lars Hofhansl (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-7483) TestHRegionOnCluster and TestSplitTransactionOnCluster are racy with HBaseAdmin.move()
Date Sat, 05 Jan 2013 22:24:12 GMT

    [ https://issues.apache.org/jira/browse/HBASE-7483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13545198#comment-13545198
] 

Lars Hofhansl commented on HBASE-7483:
--------------------------------------

I think there's still a race. The assignment manager might still have the old region server.
I can modify the condition to check whether the assignment manager indeed has registered the
new region server for the moved region.
                
> TestHRegionOnCluster and TestSplitTransactionOnCluster are racy with HBaseAdmin.move()
> --------------------------------------------------------------------------------------
>
>                 Key: HBASE-7483
>                 URL: https://issues.apache.org/jira/browse/HBASE-7483
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Lars Hofhansl
>            Assignee: Lars Hofhansl
>             Fix For: 0.94.4
>
>         Attachments: 7483.txt, 7483-v2.txt, 7483-v3.txt
>
>
> 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

Mime
View raw message