From 142e36e7dec13e2b04bf4bc620671794ac8c980c Mon Sep 17 00:00:00 2001 From: Misty Stanley-Jones Date: Wed, 11 Mar 2015 13:20:06 +1000 Subject: [PATCH] HBASE-13196 Add info about default number of versions when using the export tool --- src/main/asciidoc/_chapters/ops_mgt.adoc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/asciidoc/_chapters/ops_mgt.adoc b/src/main/asciidoc/_chapters/ops_mgt.adoc index c7e6432a00a..7d0d6011875 100644 --- a/src/main/asciidoc/_chapters/ops_mgt.adoc +++ b/src/main/asciidoc/_chapters/ops_mgt.adoc @@ -412,6 +412,8 @@ Invoke via: $ bin/hbase org.apache.hadoop.hbase.mapreduce.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 *__* with the desired number of versions. + Note: caching for the input Scan is configured via `hbase.client.scanner.caching` in the job configuration. === Import @@ -580,6 +582,8 @@ It will run the mapreduce all in a single process but it will run faster if you $ bin/hbase org.apache.hadoop.hbase.mapreduce.RowCounter [ ...] ---- +RowCounter only counts one version per cell. + Note: caching for the input Scan is configured via `hbase.client.scanner.caching` in the job configuration. HBase ships another diagnostic mapreduce job called link:http://hbase.apache.org/apidocs/org/apache/hadoop/hbase/mapreduce/CellCounter.html[CellCounter].