HBASE-15289 Add details about how to get usage instructions for Import and Export tools
Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/23cfac32 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/23cfac32 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/23cfac32 Branch: refs/heads/hbase-12439 Commit: 23cfac32ace9c2323dde84f7d190c8e9a66fb9ad Parents: fea0dd4 Author: Misty Stanley-Jones <[email protected]> Authored: Thu Feb 18 13:29:09 2016 -0800 Committer: Misty Stanley-Jones <[email protected]> Committed: Fri Feb 19 13:43:48 2016 -0800 ---------------------------------------------------------------------- src/main/asciidoc/_chapters/ops_mgt.adoc | 5 +++++ 1 file changed, 5 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hbase/blob/23cfac32/src/main/asciidoc/_chapters/ops_mgt.adoc ---------------------------------------------------------------------- diff --git a/src/main/asciidoc/_chapters/ops_mgt.adoc b/src/main/asciidoc/_chapters/ops_mgt.adoc index 7e0e23d..66d7545 100644 --- a/src/main/asciidoc/_chapters/ops_mgt.adoc +++ b/src/main/asciidoc/_chapters/ops_mgt.adoc @@ -434,6 +434,9 @@ Invoke via: $ bin/hbase org.apache.hadoop.hbase.mapreduce.Export <tablename> <outputdir> [<versions> [<starttime> [<endtime>]]] ---- +NOTE: To see usage instructions, run the command with no options. Available options include +specifying column families and applying filters during the export. + By default, the `Export` tool only exports the newest version of a given cell, regardless of the number of versions stored. To export more than one version, replace *_<versions>_* with the desired number of versions. Note: caching for the input Scan is configured via `hbase.client.scanner.caching` in the job configuration. @@ -447,6 +450,8 @@ Invoke via: $ bin/hbase org.apache.hadoop.hbase.mapreduce.Import <tablename> <inputdir> ---- +NOTE: To see usage instructions, run the command with no options. + To import 0.94 exported files in a 0.96 cluster or onwards, you need to set system property "hbase.import.version" when running the import command as below: ----
