You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Jonathan Hsieh (JIRA)" <ji...@apache.org> on 2012/04/27 02:10:50 UTC

[jira] [Issue Comment Edited] (HBASE-5887) Make TestAcidGuarantees usable for system testing.

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

Jonathan Hsieh edited comment on HBASE-5887 at 4/27/12 12:09 AM:
-----------------------------------------------------------------

Yes.  When you use the tool wrapper stuff you get parsers for that for free.

You could do something like this to override any of these values:

{code}
$ hbase org.apache.hadoop.hbase.TestAcidGuarantees -Dmillis=60000 -DnumWriters=25 -DnumGetters=10 -DnumScanners=5 -DnumUniqueRows=5
{code}

I should probably add a '\-h' or '\-?' option to prompt usage instructions.


                
      was (Author: jmhsieh):
    Yes.  When you use the tool wrapper stuff you get parsers for that for free.

You could do something like this to override any of these values:

{code}
$ hbase org.apache.hadoop.hbase.TestAcidGuarantees -Dmillis=60000 -DnumWriters=25 -DnumGetters=10 -DnumScanners=5 -DnumUniqueRows=5
{code}

I should probably add a '-h' or '-?' option to prompt usage instructions.


                  
> Make TestAcidGuarantees usable for system testing.
> --------------------------------------------------
>
>                 Key: HBASE-5887
>                 URL: https://issues.apache.org/jira/browse/HBASE-5887
>             Project: HBase
>          Issue Type: Improvement
>    Affects Versions: 0.92.0, 0.92.1, 0.94.0
>            Reporter: Jonathan Hsieh
>            Assignee: Jonathan Hsieh
>         Attachments: hbase-5887-92.patch, hbase-5887.patch
>
>
> Currently, the TestAcidGuarantees run via main() will always abort with an NPE because it digs into a non-existant HBaseTestingUtility for a flusher thread.  We should tool this up so that it works properly from the command line.  This would be a very useful long running test when used in conjunction with fault injections to verify row acid properties.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira