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

Fix TestDurablity in branch-1.1

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1.4, 1.0.4
    • Component/s: test
    • Labels:
      None

      Description

      From UT report of HBASE-15120 against branch-1.1, we could see below failure:

      testIncrementWithReturnResultsSetToFalse(org.apache.hadoop.hbase.regionserver.wal.TestDurability)  Time elapsed: 0.111 sec  <<< FAILURE!
      java.lang.AssertionError: expected null, but was:<keyvalues={row1/family:col1/1452864457248/Put/vlen=8/seqid=4}>
      	at org.junit.Assert.fail(Assert.java:88)
      	at org.junit.Assert.failNotNull(Assert.java:755)
      	at org.junit.Assert.assertNull(Assert.java:737)
      	at org.junit.Assert.assertNull(Assert.java:747)
      	at org.apache.hadoop.hbase.regionserver.wal.TestDurability.testIncrementWithReturnResultsSetToFalse(TestDurability.java:215)
      

      Checking the history, this should be a regression caused by HBASE-15031, and confirmed the UT could pass before commit c5cfea4e37a.

      Reason of the failure is isReturnResult=false on slow path (HRegion#slowButConsistentIncrement) is not respected

        Attachments

        1. 15150v2.branch-1.1.patch
          0.9 kB
          Michael Stack
        2. HBASE-15150.branch-1.1.patch
          1 kB
          Yu Li

          Issue Links

            Activity

              People

              • Assignee:
                liyu Yu Li
                Reporter:
                liyu Yu Li
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: