Ted Yu created HBASE-20272: ------------------------------ Summary: TestAsyncTable#testCheckAndMutateWithTimeRange fails due to TableExistsException Key: HBASE-20272 URL: https://issues.apache.org/jira/browse/HBASE-20272 Project: HBase Issue Type: Test Reporter: Ted Yu Assignee: Ted Yu
The following test failure is reproducible: {code} org.apache.hadoop.hbase.TableExistsException: testCheckAndMutateWithTimeRange at org.apache.hadoop.hbase.master.procedure.CreateTableProcedure.prepareCreate(CreateTableProcedure.java:233) at org.apache.hadoop.hbase.master.procedure.CreateTableProcedure.executeFromState(CreateTableProcedure.java:87) at org.apache.hadoop.hbase.master.procedure.CreateTableProcedure.executeFromState(CreateTableProcedure.java:51) at org.apache.hadoop.hbase.procedure2.StateMachineProcedure.execute(StateMachineProcedure.java:184) at org.apache.hadoop.hbase.procedure2.Procedure.doExecute(Procedure.java:845) at org.apache.hadoop.hbase.procedure2.ProcedureExecutor.execProcedure(ProcedureExecutor.java:1453) {code} The cause was that TestAsyncTable is parameterized while the testCheckAndMutateWithTimeRange uses the same table name without dropping the table after the first invocation finishes. This leads to second invocation failing with TableExistsException. -- This message was sent by Atlassian JIRA (v7.6.3#76005)