You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Nick Dimiduk (JIRA)" <ji...@apache.org> on 2015/08/05 02:36:05 UTC

[jira] [Commented] (HBASE-13613) Add test to verify DDL operations from admin when the master is restarted

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

Nick Dimiduk commented on HBASE-13613:
--------------------------------------

Now when i run, I see

{noformat}
$ mvn clean test -Dtest=TestMasterRestartWithProcedures
...
Running org.apache.hadoop.hbase.master.procedure.TestMasterRestartWithProcedures
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 188.423 sec <<< FAILURE! - in org.apache.hadoop.hbase.master.procedure.TestMasterRestartWithProcedures
testMasterProcsWithMasterRestarting(org.apache.hadoop.hbase.master.procedure.TestMasterRestartWithProcedures)  Time elapsed: 187.858 sec  <<< ERROR!
java.lang.Exception: test timed out after 180000 milliseconds
        at java.lang.Object.wait(Native Method)
        at org.apache.hadoop.hbase.client.RpcRetryingCallerImpl.callWithRetries(RpcRetryingCallerImpl.java:160)
        at org.apache.hadoop.hbase.client.HBaseAdmin.executeCallable(HBaseAdmin.java:3989)
        at org.apache.hadoop.hbase.client.HBaseAdmin.access$500(HBaseAdmin.java:186)
        at org.apache.hadoop.hbase.client.HBaseAdmin$ProcedureFuture.getProcedureResult(HBaseAdmin.java:4364)
        at org.apache.hadoop.hbase.client.HBaseAdmin$ProcedureFuture.waitProcedureResult(HBaseAdmin.java:4316)
        at org.apache.hadoop.hbase.client.HBaseAdmin$ProcedureFuture.get(HBaseAdmin.java:4272)
        at org.apache.hadoop.hbase.client.HBaseAdmin.createTable(HBaseAdmin.java:567)
        at org.apache.hadoop.hbase.master.procedure.TestMasterRestartWithProcedures$1.call(TestMasterRestartWithProcedures.java:106)
        at org.apache.hadoop.hbase.master.procedure.TestMasterRestartWithProcedures$1.call(TestMasterRestartWithProcedures.java:101)
        at org.apache.hadoop.hbase.master.procedure.TestMasterRestartWithProcedures.runRollbackableOperation(TestMasterRestartWithProcedures.java:171)
        at org.apache.hadoop.hbase.master.procedure.TestMasterRestartWithProcedures.testMasterProcsWithMasterRestarting(TestMasterRestartWithProcedures.java:101)
{noformat}

> Add test to verify DDL operations from admin when the master is restarted
> -------------------------------------------------------------------------
>
>                 Key: HBASE-13613
>                 URL: https://issues.apache.org/jira/browse/HBASE-13613
>             Project: HBase
>          Issue Type: Sub-task
>          Components: proc-v2, test
>    Affects Versions: 2.0.0, 1.1.0, 1.2.0
>            Reporter: Matteo Bertozzi
>            Assignee: Matteo Bertozzi
>            Priority: Minor
>             Fix For: 2.0.0, 1.1.2, 1.3.0, 1.2.1
>
>         Attachments: HBASE-13613-v0.patch, org.apache.hadoop.hbase.master.procedure.TestMasterRestartWithProcedures-output.txt
>
>
> Following an offline conversation with [~syuanjiang] we should add back TestMasterRestartWithProcedures. 
> more or less it is similar to HBASE-13470 but running in a controlled unit-test form. it is exercising the kill in a random point of execution + wal replay of the procedure.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)