[
https://issues.apache.org/jira/browse/HBASE-12892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14286545#comment-14286545
]
Elliott Clark commented on HBASE-12892:
---------------------------------------
usage message looks like:
{code}
15:29:11 elliott@elliott-mbp hbase HBASE-12892 bin/hbase snapshot
2015-01-21 15:31:21,156 ERROR [main] util.AbstractHBaseTool: Required option
-name is missing
2015-01-21 15:31:21,157 ERROR [main] util.AbstractHBaseTool: Required option
-table is missing
usage: bin/hbase org.apache.hadoop.hbase.snapshot.CreateSnapshot <options>
Options:
-h,--help Show usage
-n,--name <arg> The name of the created snapshot
-s,--snapshot_type <arg> Snapshot Type. FLUSH is default. Posible values are
[DISABLED, FLUSH, SKIPFLUSH]
-t,--table <arg> The name of the table
{code}
> Add a class to allow taking a snapshot from the command line
> ------------------------------------------------------------
>
> Key: HBASE-12892
> URL: https://issues.apache.org/jira/browse/HBASE-12892
> Project: HBase
> Issue Type: Bug
> Affects Versions: 2.0.0
> Reporter: Elliott Clark
> Assignee: Elliott Clark
> Fix For: 1.0.0, 2.0.0, 0.98.10
>
> Attachments: HBASE-12892-v1.patch, HBASE-12892.patch
>
>
> It's easier to automate taking a snapshot from the command line than from the
> hbase shell. We should provide a command that can be called to snapshot a
> table.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)