[
https://issues.apache.org/jira/browse/HBASE-4838?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13155596#comment-13155596
]
Lars Hofhansl commented on HBASE-4838:
--------------------------------------
This still fails:
{noformat}
testFilterAcrossMultipleRegions(org.apache.hadoop.hbase.client.TestFromClientSid
e) Time elapsed: 12.233 sec <<< FAILURE!
java.lang.AssertionError: expected:<17576> but was:<28064>
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.TestFromClientSide.assertRowCount(Test
FromClientSide.java:528)
at org.apache.hadoop.hbase.client.TestFromClientSide.testFilterAcrossMul
tipleRegions(TestFromClientSide.java:436)
{noformat}
I went through the entire diff between 0.92 with this patch and trunk. There is
nothing that sticks out that could be causing this.
This problem be easily reproduced by reducing the number of rows generated in
HBaseTestingUtility.loadTable(...) to (note: replace 'z' with 'a' and 'b'):
{noformat}
public int loadTable(final HTable t, final byte[] f) throws IOException {
t.setAutoFlush(false);
byte[] k = new byte[3];
int rowCount = 0;
for (byte b1 = 'a'; b1 <= 'a'; b1++) {
for (byte b2 = 'a'; b2 <= 'a'; b2++) {
for (byte b3 = 'a'; b3 <= 'b'; b3++) {
k[0] = b1;
k[1] = b2;
k[2] = b3;
Put put = new Put(k);
put.add(f, null, k);
t.put(put);
rowCount++;
}
}
}
t.flushCommits();
return rowCount;
}
{noformat}
this will only generate two rows for this test, which makes it easier to debug.
The same test then fails with:
{noformat}
java.lang.AssertionError: expected:<2> but was:<4>
...
{noformat}
Somehow it is scanning more rows after a split that it is supposed to repeating
some of the same rows. If somebody else wanted have a look at it, I could use
another pair of eyes.
> Port 2856 (TestAcidGuarantee is failing) to 0.92
> ------------------------------------------------
>
> Key: HBASE-4838
> URL: https://issues.apache.org/jira/browse/HBASE-4838
> Project: HBase
> Issue Type: Sub-task
> Reporter: Lars Hofhansl
> Assignee: Lars Hofhansl
> Fix For: 0.92.0
>
> Attachments: 4838-v1.txt
>
>
> Moving back port into a separate issue (as suggested by JonH), because this
> not trivial.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira