hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean-Daniel Cryans (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-1967) [Transactional] client.TestTransactions.testPutPutScan fails sometimes
Date Tue, 10 Nov 2009 01:41:32 GMT

    [ 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.


Mime
View raw message