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:31:32 UTC

[jira] Created: (HBASE-1967) [Transtional] client.TestTransactions.testPutPutScan fails sometimes

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


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

Posted by "Clint Morgan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-1967?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Clint Morgan reassigned HBASE-1967:
-----------------------------------

    Assignee: Clint Morgan

> [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
>            Assignee: Clint Morgan
>            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.


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

Posted by "Jean-Daniel Cryans (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-1967?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Daniel Cryans updated HBASE-1967:
--------------------------------------

    Summary: [Transactional] client.TestTransactions.testPutPutScan fails sometimes  (was: [Transtional] client.TestTransactions.testPutPutScan fails sometimes)

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


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

Posted by "Jean-Daniel Cryans (JIRA)" <ji...@apache.org>.
    [ 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.