You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Todd Lipcon (JIRA)" <ji...@apache.org> on 2010/06/04 00:43:53 UTC

[jira] Created: (HBASE-2661) Add test case for row atomicity

Add test case for row atomicity
-------------------------------

                 Key: HBASE-2661
                 URL: https://issues.apache.org/jira/browse/HBASE-2661
             Project: HBase
          Issue Type: Test
          Components: regionserver, test
    Affects Versions: 0.21.0
            Reporter: Todd Lipcon
            Assignee: Todd Lipcon
             Fix For: 0.21.0


Here's a functional test case that verifies that rows are seen to be modified atomically.

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


[jira] Updated: (HBASE-2661) Add test case for row atomicity

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

Todd Lipcon updated HBASE-2661:
-------------------------------

    Attachment: hbase-2661.txt

Here's a test case for this. It runs as a junit test, but can also run from the command line against an actual cluster.

To test the test, I temporarily broke ReadWriteConsistencyControl so that it added 100 to the read point before returning it. The test failed as expected.

> Add test case for row atomicity
> -------------------------------
>
>                 Key: HBASE-2661
>                 URL: https://issues.apache.org/jira/browse/HBASE-2661
>             Project: HBase
>          Issue Type: Test
>          Components: regionserver, test
>    Affects Versions: 0.21.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>             Fix For: 0.21.0
>
>         Attachments: hbase-2661.txt
>
>
> Here's a functional test case that verifies that rows are seen to be modified atomically.

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


[jira] Commented: (HBASE-2661) Add test case for row atomicity

Posted by "Andrew Purtell (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-2661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12875684#action_12875684 ] 

Andrew Purtell commented on HBASE-2661:
---------------------------------------

+1

You going to commit this Todd?

MultithreadedTestUtil is nice. There are other tests which should be ported to use it.

> Add test case for row atomicity
> -------------------------------
>
>                 Key: HBASE-2661
>                 URL: https://issues.apache.org/jira/browse/HBASE-2661
>             Project: HBase
>          Issue Type: Test
>          Components: regionserver, test
>    Affects Versions: 0.21.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>             Fix For: 0.21.0
>
>         Attachments: hbase-2661.txt
>
>
> Here's a functional test case that verifies that rows are seen to be modified atomically.

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


[jira] Updated: (HBASE-2661) Add test case for row atomicity

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

Todd Lipcon updated HBASE-2661:
-------------------------------

          Status: Resolved  (was: Patch Available)
    Hadoop Flags: [Reviewed]
      Resolution: Fixed

Thanks for taking a look, Andrew. Committed to trunk. Would be happy to see other tests use the TestContext class, it was very handy for this one.

> Add test case for row atomicity
> -------------------------------
>
>                 Key: HBASE-2661
>                 URL: https://issues.apache.org/jira/browse/HBASE-2661
>             Project: HBase
>          Issue Type: Test
>          Components: regionserver, test
>    Affects Versions: 0.21.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>             Fix For: 0.21.0
>
>         Attachments: hbase-2661.txt
>
>
> Here's a functional test case that verifies that rows are seen to be modified atomically.

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


[jira] Updated: (HBASE-2661) Add test case for row atomicity

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

Todd Lipcon updated HBASE-2661:
-------------------------------

    Status: Patch Available  (was: Open)

> Add test case for row atomicity
> -------------------------------
>
>                 Key: HBASE-2661
>                 URL: https://issues.apache.org/jira/browse/HBASE-2661
>             Project: HBase
>          Issue Type: Test
>          Components: regionserver, test
>    Affects Versions: 0.21.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>             Fix For: 0.21.0
>
>         Attachments: hbase-2661.txt
>
>
> Here's a functional test case that verifies that rows are seen to be modified atomically.

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