Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-7600

TestAdmin.testCreateBadTables is failing occasionally

VotersStop watchingWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.94.4
    • 0.98.0, 0.94.13, 0.96.1
    • None
    • None
    • Reviewed

    Description

      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.

      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)
      

      Attachments

        1. 7600-trunk-v2.txt
          1 kB
          Lars Hofhansl
        2. 7600-v2.txt
          1.0 kB
          Lars Hofhansl
        3. HBASE-7600-0.94-v1.patch
          1 kB
          Shaohui Liu

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            liushaohui Shaohui Liu
            larsh Lars Hofhansl
            Votes:
            0 Vote for this issue
            Watchers:
            6 Stop watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment