From fb8a45ce309e9fbeb2bbef1c4a94eb43c3e0fd7e Mon Sep 17 00:00:00 2001 From: Michael Stack Date: Wed, 9 Jul 2008 22:56:18 +0000 Subject: [PATCH] HBASE-734 scan '.META.', {LIMIT => 10} crashes git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@675378 13f79535-47bb-0310-9956-ffa450edef68 --- bin/hirb.rb | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/bin/hirb.rb b/bin/hirb.rb index 5bf4ac036ec..e2ed95a11f9 100644 --- a/bin/hirb.rb +++ b/bin/hirb.rb @@ -167,21 +167,17 @@ HBASE SHELL COMMANDS: hbase> put 't1', 'r1', 'c1', ts1 scan Scan a table; pass table name and optionally an array of column - names OR an array of column names and a dictionary of scanner + names OR an array of column names AND a dictionary of scanner specifications. If you wish to include scanner specifications, you must also include an array of columns. Scanner specifications - may include one or more of following: LIMIT, STARTROW, STOPROW, or - TIMESTAMP. To scan all members of a column family, leave the + may include one or more of the following: LIMIT, STARTROW, STOPROW, + or TIMESTAMP. To scan all members of a column family, leave the qualifier empty as in 'col_family:'. Examples: - Correct: hbase> scan '.META.' hbase> scan '.META.', ['info:regioninfo'] hbase> scan 't1', ['c1', 'c2'], {LIMIT => 10, STARTROW => 'xyz'} - Incorrect: - hbase> scan 't1', {STARTROW => 'xyz'} - version Output this HBase version GENERAL NOTES: