You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Jean-Daniel Cryans (JIRA)" <ji...@apache.org> on 2009/11/10 02:41:32 UTC

[jira] Commented: (HBASE-1967) [Transactional] client.TestTransactions.testPutPutScan fails sometimes

    [ https://issues.apache.org/jira/browse/HBASE-1967?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12775241#action_12775241 ] 

Jean-Daniel Cryans commented on HBASE-1967:
-------------------------------------------

Committed in branch and trunk that fix:

{code}

     int row2Value = 199;
     table.put(transactionState, new Put(ROW2).add(FAMILY, QUAL_A, Bytes
         .toBytes(row2Value)));
+    try {
+      Thread.sleep(500);
+    } catch (InterruptedException ex) {
+      // just ignore
+    }

{code}

> [Transactional] client.TestTransactions.testPutPutScan fails sometimes
> ----------------------------------------------------------------------
>
>                 Key: HBASE-1967
>                 URL: https://issues.apache.org/jira/browse/HBASE-1967
>             Project: Hadoop HBase
>          Issue Type: Bug
>    Affects Versions: 0.20.1
>            Reporter: Jean-Daniel Cryans
>            Priority: Minor
>
> Testcase: testPutPutScan took 15.822 sec FAILED
> expected:<299> but was:<199>
> Not sure exactly how the test is supposed to work but it seems that sometimes the two Put are on the same timestamp so the value returned is 199. I will commit a temporary fix to branch in order to release 0.20.2

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.