You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2014/01/24 00:32:38 UTC

[jira] [Updated] (HBASE-10406) Column family option is not effective in IntegrationTestSendTraceRequests

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

Ted Yu updated HBASE-10406:
---------------------------

    Summary: Column family option is not effective in IntegrationTestSendTraceRequests  (was: Intermittent TestDistributedLogSplitting#testLogReplayForDisablingTable failure)

> Column family option is not effective in IntegrationTestSendTraceRequests
> -------------------------------------------------------------------------
>
>                 Key: HBASE-10406
>                 URL: https://issues.apache.org/jira/browse/HBASE-10406
>             Project: HBase
>          Issue Type: Test
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>
> If column family option (-f) is specified, the following error would occur:
> {code}
> 2014-01-23 23:21:20,347 [Thread-2] ERROR util.AbstractHBaseTool (AbstractHBaseTool.java:run(97)) - Error when parsing command-line arguemnts
> org.apache.commons.cli.UnrecognizedOptionException: Unrecognized option: -f
> 	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)
> {code}
> This is due to table option is used twice in the following code:
> {code}
>   protected void addOptions() {
>     addOptWithArg(TABLE_ARG, "The table name to target.  Will be created if not there already.");
>     addOptWithArg(TABLE_ARG, "The family to target");
> {code}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)