hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-15150) Fix TestDurablity in branch-1.1
Date Thu, 21 Jan 2016 18:43:40 GMT

     [ https://issues.apache.org/jira/browse/HBASE-15150?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

stack updated HBASE-15150:
--------------------------
    Attachment: 15150v2.branch-1.1.patch

Thanks [~carp84] for figuring this issue. Proper fix is what was done in HBASE-15095; it just
needed to be put on the default path too...I should have noticed that about the HBASE-15095
when it was going in.

> Fix TestDurablity in branch-1.1
> -------------------------------
>
>                 Key: HBASE-15150
>                 URL: https://issues.apache.org/jira/browse/HBASE-15150
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Yu Li
>            Assignee: Yu Li
>             Fix For: 1.1.4
>
>         Attachments: 15150v2.branch-1.1.patch, HBASE-15150.branch-1.1.patch
>
>
> From [UT report|https://builds.apache.org/job/PreCommit-HBASE-Build/145/artifact/patchprocess/patch-unit-hbase-server-jdk1.7.0_79.txt]
of HBASE-15120 against branch-1.1, we could see below failure:
> {noformat}
> 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)
> {noformat}
> 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 HBASE-15031 introduced the {{hbase.increment.fast.but.narrow.consistency}}
flag which is *false* by default, but forget to set it in TestDurablity#testIncrementWithReturnResultsSetToFalse



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message