You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2008/07/10 00:56:18 UTC
svn commit: r675378 - /hadoop/hbase/trunk/bin/hirb.rb
Author: stack
Date: Wed Jul 9 15:56:18 2008
New Revision: 675378
URL: http://svn.apache.org/viewvc?rev=675378&view=rev
Log:
HBASE-734 scan '.META.', {LIMIT => 10} crashes
Modified:
hadoop/hbase/trunk/bin/hirb.rb
Modified: hadoop/hbase/trunk/bin/hirb.rb
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/bin/hirb.rb?rev=675378&r1=675377&r2=675378&view=diff
==============================================================================
--- hadoop/hbase/trunk/bin/hirb.rb (original)
+++ hadoop/hbase/trunk/bin/hirb.rb Wed Jul 9 15:56:18 2008
@@ -167,21 +167,17 @@
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: