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

Lars Hofhansl commented on HBASE-7600:
--------------------------------------

Actually this fix has an interesting side effect.
Sometimes an HBase cluster is wiped by just removing the HDFS data. If the ZK 
state stays around we can now no longer create tables for which there exists a 
znode already. Before this patch that was possible. So the element of surprised 
has increased.

> 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)

Reply via email to