[
https://issues.apache.org/jira/browse/HBASE-7600?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13847426#comment-13847426
]
Liu Shaohui commented on HBASE-7600:
------------------------------------
[~lhofhansl]
Yes. We also encountered this problem in out test cluster.
I think the root of the problem is that there are two places (meta table and
zk) to check if a table exists, and the states of these two places may be no
consistent.
I have added this task to my list and try to fix it later.
Thanks.
> TestAdmin.testCreateBadTables is failing occasionally
> -----------------------------------------------------
>
> Key: HBASE-7600
> URL: https://issues.apache.org/jira/browse/HBASE-7600
> Project: HBase
> Issue Type: Bug
> Affects Versions: 0.94.4
> Reporter: Lars Hofhansl
> Assignee: Liu Shaohui
> Fix For: 0.98.0, 0.94.13, 0.96.1
>
> Attachments: 7600-trunk-v2.txt, 7600-v2.txt, HBASE-7600-0.94-v1.patch
>
>
> See in a 0.94 test run.
> Looks like in some cases it is possible to create two tables with the same
> name, which is worrisome.
> {code}
> java.lang.AssertionError: expected:<1> but was:<2>
> at org.junit.Assert.fail(Assert.java:93)
> at org.junit.Assert.failNotEquals(Assert.java:647)
> at org.junit.Assert.assertEquals(Assert.java:128)
> at org.junit.Assert.assertEquals(Assert.java:472)
> at org.junit.Assert.assertEquals(Assert.java:456)
> at
> org.apache.hadoop.hbase.client.TestAdmin.testCreateBadTables(TestAdmin.java:1091)
> {code}
--
This message was sent by Atlassian JIRA
(v6.1.4#6159)