Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
TestClientScannerRPCTimeout is failing in branch-1 / branch-1.4, but it's a setup problem involving CreateTableProcedure. Fails for me the first time in both Linux and MacOS dev environments.
Bisect says this is the cause, been there for a while
commit af359d03b5e2cc798cee8ba52d2a9fcbb1022104 Author: Stephen Yuan Jiang <syuanjiangdev@gmail.com> Date: Tue Jul 18 06:58:29 2017 -0700 HBASE-16488 Starting namespace and quota services in master startup asynchronizely (Stephen Yuan Jiang)
and sure enough, if I revert HBASE-16488 from branch-1 / branch-1.4 then the test passes again.
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 7.211 sec <<< FAILURE! - in org.apache.hadoop.hbase.client.TestClientScannerRPCTimeout testScannerNextRPCTimesout(org.apache.hadoop.hbase.client.TestClientScannerRPCTimeout) Time elapsed: 6.248 sec <<< ERROR! org.apache.hadoop.hbase.TableExistsException: testScannerNextRPCTimesout at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:526) at org.apache.hadoop.ipc.RemoteException.instantiateException(RemoteException.java:106) at org.apache.hadoop.ipc.RemoteException.unwrapRemoteException(RemoteException.java:95) at org.apache.hadoop.hbase.util.ForeignExceptionUtil.toIOException(ForeignExceptionUtil.java:45) at org.apache.hadoop.hbase.client.HBaseAdmin$ProcedureFuture.convertResult(HBaseAdmin.java:4774) at org.apache.hadoop.hbase.client.HBaseAdmin$ProcedureFuture.waitProcedureResult(HBaseAdmin.java:4732) at org.apache.hadoop.hbase.client.HBaseAdmin$ProcedureFuture.get(HBaseAdmin.java:4665) at org.apache.hadoop.hbase.client.HBaseAdmin.createTable(HBaseAdmin.java:679) at org.apache.hadoop.hbase.HBaseTestingUtility.createTable(HBaseTestingUtility.java:1500) at org.apache.hadoop.hbase.HBaseTestingUtility.createTable(HBaseTestingUtility.java:1547) at org.apache.hadoop.hbase.HBaseTestingUtility.createTable(HBaseTestingUtility.java:1438) at org.apache.hadoop.hbase.HBaseTestingUtility.createTable(HBaseTestingUtility.java:1414) at org.apache.hadoop.hbase.HBaseTestingUtility.createTable(HBaseTestingUtility.java:1370) at org.apache.hadoop.hbase.client.TestClientScannerRPCTimeout.testScannerNextRPCTimesout(TestClientScannerRPCTimeout.java:87) Caused by: org.apache.hadoop.ipc.RemoteException: testScannerNextRPCTimesout at org.apache.hadoop.hbase.master.procedure.CreateTableProcedure.prepareCreate(CreateTableProcedure.java:286) at org.apache.hadoop.hbase.master.procedure.CreateTableProcedure.executeFromState(CreateTableProcedure.java:107) at org.apache.hadoop.hbase.master.procedure.CreateTableProcedure.executeFromState(CreateTableProcedure.java:59) at org.apache.hadoop.hbase.procedure2.StateMachineProcedure.execute(StateMachineProcedure.java:139) at org.apache.hadoop.hbase.procedure2.Procedure.doExecute(Procedure.java:506) at org.apache.hadoop.hbase.procedure2.ProcedureExecutor.execProcedure(ProcedureExecutor.java:1152) at org.apache.hadoop.hbase.procedure2.ProcedureExecutor.execLoop(ProcedureExecutor.java:940) at org.apache.hadoop.hbase.procedure2.ProcedureExecutor.execLoop(ProcedureExecutor.java:893) at org.apache.hadoop.hbase.procedure2.ProcedureExecutor.access$400(ProcedureExecutor.java:76) at org.apache.hadoop.hbase.procedure2.ProcedureExecutor$2.run(ProcedureExecutor.java:478)
Attachments
Issue Links
- is related to
-
HBASE-18415 The local timeout may cause Admin to submit duplicate request
- Open
- relates to
-
HBASE-16488 Starting namespace and quota services in master startup asynchronously
- Resolved