hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-10406) Intermittent TestDistributedLogSplitting#testLogReplayForDisablingTable failure
Date Thu, 23 Jan 2014 23:30:39 GMT

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

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

    Description: 
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}

  was:
Here was the assertion failure:
{code} java.lang.AssertionError: expected:&lt;1000> but was:&lt;0> at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:743) at org.junit.Assert.assertEquals(Assert.java:118)
at org.junit.Assert.assertEquals(Assert.java:555) at org.junit.Assert.assertEquals(Assert.java:542)
at org.apache.hadoop.hbase.master.TestDistributedLogSplitting.testLogReplayForDisablingTable(TestDistributedLogSplitting.java:838)

{code}
This was due to the loop starting around line 823 not picking up any edits 


> Intermittent TestDistributedLogSplitting#testLogReplayForDisablingTable failure
> -------------------------------------------------------------------------------
>
>                 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)

Mime
View raw message