hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Enis Soztutar (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-15764) Builtin help for "hbase backup" doesn't recognize the subcommand
Date Wed, 04 May 2016 01:27:12 GMT

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

Enis Soztutar commented on HBASE-15764:
---------------------------------------

+1. 

> Builtin help for "hbase backup" doesn't recognize the subcommand
> ----------------------------------------------------------------
>
>                 Key: HBASE-15764
>                 URL: https://issues.apache.org/jira/browse/HBASE-15764
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>              Labels: backup
>         Attachments: 15764.v1.patch
>
>
> [~cartershanklin] reported this problem.
> No arguments:
> {code}
> [vagrant@hdp250-hbase ~]$ hbase backup set
> 2016-05-03 23:08:25,999 ERROR [main] util.AbstractHBaseTool: Error running command-line
tool
> java.io.IOException: command line format
> 	at org.apache.hadoop.hbase.backup.impl.BackupCommands$BackupSetCommand.execute(BackupCommands.java:453)
> 	at org.apache.hadoop.hbase.backup.BackupDriver.parseAndRun(BackupDriver.java:107)
> 	at org.apache.hadoop.hbase.backup.BackupDriver.doWork(BackupDriver.java:122)
> 	at org.apache.hadoop.hbase.util.AbstractHBaseTool.run(AbstractHBaseTool.java:112)
> 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:76)
> 	at org.apache.hadoop.hbase.backup.BackupDriver.main(BackupDriver.java:127)
> {code}
> Wrong guess:
> {code}
> [vagrant@hdp250-hbase ~]$ hbase backup set create
> 2016-05-03 23:08:29,210 ERROR [main] util.AbstractHBaseTool: Error running command-line
tool
> java.io.IOException: Unknown command for 'set' :create
> 	at org.apache.hadoop.hbase.backup.impl.BackupCommands$BackupSetCommand.getCommand(BackupCommands.java:555)
> 	at org.apache.hadoop.hbase.backup.impl.BackupCommands$BackupSetCommand.execute(BackupCommands.java:457)
> 	at org.apache.hadoop.hbase.backup.BackupDriver.parseAndRun(BackupDriver.java:107)
> 	at org.apache.hadoop.hbase.backup.BackupDriver.doWork(BackupDriver.java:122)
> 	at org.apache.hadoop.hbase.util.AbstractHBaseTool.run(AbstractHBaseTool.java:112)
> 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:76)
> 	at org.apache.hadoop.hbase.backup.BackupDriver.main(BackupDriver.java:127)
> {code}
> Incomplete arguments:
> {code}
> [vagrant@hdp250-hbase ~]$ hbase backup set add
> ERROR: Wrong args
> {code}
> This was caused by miscalculation in the offset of the command line argument user is
seeking help on.



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

Mime
View raw message