hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-10778) Unique keys accounting in MultiThreadedReader is incorrect
Date Mon, 17 Mar 2014 21:34:45 GMT

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

Ted Yu updated HBASE-10778:
---------------------------

    Attachment: 10778-v1.txt

The inner loop of runReader() should have the same termination condition as the outer loop.
readingRandomKeyStartIndex should be initialized between the outer and inner loops of runReader().

TestMiniClusterLoad* pass with patch.

> Unique keys accounting in MultiThreadedReader is incorrect
> ----------------------------------------------------------
>
>                 Key: HBASE-10778
>                 URL: https://issues.apache.org/jira/browse/HBASE-10778
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>         Attachments: 10778-v1.txt
>
>
> TestMiniClusterLoad* tests fail in 10070 branch.
> Here is one example:
> {code}
> ava.lang.AssertionError: expected:<0> but was:<7>
> 	at org.junit.Assert.fail(Assert.java:88)
> 	at org.junit.Assert.failNotEquals(Assert.java:743)
> 	at org.junit.Assert.assertEquals(Assert.java:118)
> 	at org.junit.Assert.assertEquals(Assert.java:555)
> 	at org.junit.Assert.assertEquals(Assert.java:542)
> 	at org.apache.hadoop.hbase.util.TestMiniClusterLoadSequential.runLoadTestOnExistingTable(TestMiniClusterLoadSequential.java:139)
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message