hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r678235 - in /hadoop/hbase/trunk: CHANGES.txt bin/hirb.rb
Date Sat, 19 Jul 2008 22:25:49 GMT
Author: stack
Date: Sat Jul 19 15:25:46 2008
New Revision: 678235

URL: http://svn.apache.org/viewvc?rev=678235&view=rev
Log:
HBASE-754 The JRuby shell documentation is wrong in "get" and "put"

Modified:
    hadoop/hbase/trunk/CHANGES.txt
    hadoop/hbase/trunk/bin/hirb.rb

Modified: hadoop/hbase/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/CHANGES.txt?rev=678235&r1=678234&r2=678235&view=diff
==============================================================================
--- hadoop/hbase/trunk/CHANGES.txt (original)
+++ hadoop/hbase/trunk/CHANGES.txt Sat Jul 19 15:25:46 2008
@@ -298,6 +298,9 @@
    HBASE-730   On startup, rinse STARTCODE and SERVER from .META.
                (Jean-Daniel Cryans via Stack)
    HBASE-738   overview.html in need of updating (Izaak Rubin via Stack)
+   HBASE-720   clean up inconsistencies around deletes (Izaak Rubin via Stack)
+   HBASE-754   The JRuby shell documentation is wrong in "get" and "put"
+               (Jean-Daniel Cryans via Stack)
 
   NEW FEATURES
    HBASE-47    Option to set TTL for columns in hbase

Modified: hadoop/hbase/trunk/bin/hirb.rb
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/bin/hirb.rb?rev=678235&r1=678234&r2=678235&view=diff
==============================================================================
--- hadoop/hbase/trunk/bin/hirb.rb (original)
+++ hadoop/hbase/trunk/bin/hirb.rb Sat Jul 19 15:25:46 2008
@@ -156,15 +156,16 @@
            hbase> get 't1', 'r1'
            hbase> get 't1', 'r1', {COLUMN => 'c1'}
            hbase> get 't1', 'r1', {COLUMN => ['c1', 'c2', 'c3']}
-           hbase> get 't1', 'r1', {TIMESTAMP => ts1, VERSIONS => 4}
+           hbase> get 't1', 'r1', {COLUMN => 'c1', TIMESTAMP => ts1}
+           hbase> get 't1', 'r1', {COLUMN => 'c1', TIMESTAMP => ts1, VERSIONS =
4}
 
  list      List all tables in hbase
 
- put       Put a cell value at specified table/row/column and optionally
+ put       Put a cell 'value' at specified table/row/column and optionally
            timestamp coordinates.  To put a cell value into table 't1' at
            row 'r1' under column 'c1' marked with the time 'ts1', do:
 
-           hbase> put 't1', 'r1', 'c1', ts1
+           hbase> put 't1', 'r1', 'c1', 'value', 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 



Mime
View raw message