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
This commit is contained in:
Michael Stack 2008-07-09 22:56:18 +00:00
parent 3862e988c6
commit fb8a45ce30
1 changed files with 3 additions and 7 deletions

View File

@ -167,21 +167,17 @@ HBASE SHELL COMMANDS:
hbase> put 't1', 'r1', 'c1', ts1 hbase> put 't1', 'r1', 'c1', ts1
scan Scan a table; pass table name and optionally an array of column 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, specifications. If you wish to include scanner specifications,
you must also include an array of columns. Scanner specifications you must also include an array of columns. Scanner specifications
may include one or more of following: LIMIT, STARTROW, STOPROW, or may include one or more of the following: LIMIT, STARTROW, STOPROW,
TIMESTAMP. To scan all members of a column family, leave the or TIMESTAMP. To scan all members of a column family, leave the
qualifier empty as in 'col_family:'. Examples: qualifier empty as in 'col_family:'. Examples:
Correct:
hbase> scan '.META.' hbase> scan '.META.'
hbase> scan '.META.', ['info:regioninfo'] hbase> scan '.META.', ['info:regioninfo']
hbase> scan 't1', ['c1', 'c2'], {LIMIT => 10, STARTROW => 'xyz'} hbase> scan 't1', ['c1', 'c2'], {LIMIT => 10, STARTROW => 'xyz'}
Incorrect:
hbase> scan 't1', {STARTROW => 'xyz'}
version Output this HBase version version Output this HBase version
GENERAL NOTES: GENERAL NOTES: