hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeffrey Zhong (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-9776) Test Load And Verify Fails with TableNotEnabledException
Date Tue, 15 Oct 2013 23:41:43 GMT

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

Jeffrey Zhong commented on HBASE-9776:
--------------------------------------

Yes, the disableTable is not idempotent operations because the subsequent retry fails while
we can't remove the enable state check because we use it to sync operations like: one is trying
to do schema changes and the other is trying to delete the same table. 

My plan is to use HBaseTestingUtility#deleteTable instead to let the application client to
eat the exception if happens and proceed with delete because we're in clean up phase.

> Test Load And Verify Fails with TableNotEnabledException
> --------------------------------------------------------
>
>                 Key: HBASE-9776
>                 URL: https://issues.apache.org/jira/browse/HBASE-9776
>             Project: HBase
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 0.96.0
>            Reporter: Jeffrey Zhong
>            Assignee: Jeffrey Zhong
>            Priority: Minor
>
> Occasionally IntegrationTestLoadAndVerify failed with the following error. This is caused
by RPC retry and the first attempt actually went through successfully and the second retry
attempt fails because the table is disabled by the first attempt.
> {code}
> 2013-10-10 19:55:54,339|beaver.machine|INFO|org.apache.hadoop.hbase.TableNotEnabledException:
org.apache.hadoop.hbase.TableNotEnabledException: IntegrationTestLoadAndVerify
> 2013-10-10 19:55:54,340|beaver.machine|INFO|at org.apache.hadoop.hbase.master.handler.DisableTableHandler.prepare(DisableTableHandler.java:100)
> 2013-10-10 19:55:54,341|beaver.machine|INFO|at org.apache.hadoop.hbase.master.HMaster.disableTable(HMaster.java:1979)
> 2013-10-10 19:55:54,342|beaver.machine|INFO|at org.apache.hadoop.hbase.master.HMaster.disableTable(HMaster.java:1990)
> {code}



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message