[ 
https://issues.apache.org/jira/browse/HBASE-14345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Reid Chan updated HBASE-14345:
------------------------------
    Attachment: HBASE-14345.patch

> Consolidate printUsage in IntegrationTestLoadAndVerify
> ------------------------------------------------------
>
>                 Key: HBASE-14345
>                 URL: https://issues.apache.org/jira/browse/HBASE-14345
>             Project: HBase
>          Issue Type: Improvement
>          Components: integration tests
>            Reporter: Nick Dimiduk
>            Assignee: Reid Chan
>            Priority: Trivial
>              Labels: beginner
>         Attachments: HBASE-14345.patch, itlv.png
>
>
> Investigating the use of {{itlav}} is a little screwy. Subclasses are not 
> overriding the {{printUsage()}} methods correctly, so you have to pass 
> {{--help}} to get some info and no arguments to get the rest.
> {noformat}
> [hbase@ndimiduk-112rc2-7 ~]$ hbase 
> org.apache.hadoop.hbase.test.IntegrationTestLoadAndVerify --help
> usage: bin/hbase org.apache.hadoop.hbase.test.IntegrationTestLoadAndVerify 
> <options>
> Options:
>  -h,--help                 Show usage
>  -m,--monkey <arg>         Which chaos monkey to run
>  -monkeyProps <arg>        The properties file for specifying chaos monkey 
> properties.
>  -ncc,--noClusterCleanUp   Don't clean up the cluster at the end
> [hbase@ndimiduk-112rc2-7 ~]$ hbase 
> org.apache.hadoop.hbase.test.IntegrationTestLoadAndVerify
> IntegrationTestLoadAndVerify [-Doptions] <load|verify|loadAndVerify>
>   Loads a table with row dependencies and verifies the dependency chains
> Options
>   -Dloadmapper.table=<name>        Table to write/verify (default autogen)
>   -Dloadmapper.backrefs=<n>        Number of backreferences per row (default 
> 50)
>   -Dloadmapper.num_to_write=<n>    Number of rows per mapper (default 100,000 
> per mapper)
>   -Dloadmapper.deleteAfter=<bool>  Delete after a successful verify (default 
> true)
>   -Dloadmapper.numPresplits=<n>    Number of presplit regions to start with 
> (default 40)
>   -Dloadmapper.map.tasks=<n>       Number of map tasks for load (default 200)
>   -Dverify.reduce.tasks=<n>        Number of reduce tasks for verify (default 
> 35)
>   -Dverify.scannercaching=<n>      Number hbase scanner caching rows to read 
> (default 50)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to