hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dima Spivak (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HBASE-12855) IntegrationTestsDriver doesn't support passing ChaosMonkey options
Date Thu, 01 Sep 2016 06:13:20 GMT

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

Dima Spivak resolved HBASE-12855.
---------------------------------
    Resolution: Won't Fix

I don't think the driver is the best way to run tests anyway, so not gonna look into this.

> IntegrationTestsDriver doesn't support passing ChaosMonkey options 
> -------------------------------------------------------------------
>
>                 Key: HBASE-12855
>                 URL: https://issues.apache.org/jira/browse/HBASE-12855
>             Project: HBase
>          Issue Type: Bug
>          Components: integration tests
>            Reporter: Dima Spivak
>            Assignee: Dima Spivak
>            Priority: Minor
>
> IntegrationTestsDriver gets unhappy if you pass in ChaosMonkey options via -m:
> {code}
> sudo -u hbase hbase org.apache.hadoop.hbase.IntegrationTestsDriver -r 'IntegrationTestIngest$'
-m calm
> 15/01/14 06:44:06 ERROR util.AbstractHBaseTool: Error when parsing command-line arguemnts
> org.apache.commons.cli.UnrecognizedOptionException: Unrecognized option: -m
> 	at org.apache.commons.cli.Parser.processOption(Parser.java:363)
> 	at org.apache.commons.cli.Parser.parse(Parser.java:199)
> 	at org.apache.commons.cli.Parser.parse(Parser.java:85)
> 	at org.apache.hadoop.hbase.util.AbstractHBaseTool.parseArgs(AbstractHBaseTool.java:135)
> 	at org.apache.hadoop.hbase.util.AbstractHBaseTool.run(AbstractHBaseTool.java:94)
> 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
> 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84)
> 	at org.apache.hadoop.hbase.IntegrationTestsDriver.main(IntegrationTestsDriver.java:46)
> usage: bin/hbase org.apache.hadoop.hbase.IntegrationTestsDriver <options>
> Options:
>  -h,--help          Show usage
>  -r,--regex <arg>   Java regex to use selecting tests to run: e.g. .*TestBig.*
>                     will select all tests that include TestBig in their name.
>                     Default: .*IntegrationTest.*
> {code}



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

Mime
View raw message