hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Subhas (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-14345) Consolidate printUsage in IntegrationTestLoadAndVerify
Date Tue, 01 Sep 2015 01:12:45 GMT

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

Subhas commented on HBASE-14345:

This is nothing to do with overriding printUsage() method. I was checking couple of other
classes of same package and I think the problem with the way this class written. This class
should have overridden addOptions() method and get the corresponding value in processOptions()
but this class is not doing that. I am trying to figure out how to pass optional loadmapper.table
parameter with out doing major change. 

> 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
>            Priority: Trivial
>              Labels: beginner
> 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
> 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
>   -Dloadmapper.deleteAfter=<bool>  Delete after a successful verify (default true)
>   -Dloadmapper.numPresplits=<n>    Number of presplit regions to start with (default
>   -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
> {noformat}

This message was sent by Atlassian JIRA

View raw message