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] [Created] (HBASE-15764) Builtin help for "hbase backup" doesn't recognize the subcommand
Date Tue, 03 May 2016 23:50:12 GMT
Ted Yu created HBASE-15764:
------------------------------

             Summary: 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


[~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