hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r686653 - in /hadoop/hbase/trunk/bin: HBase.rb hirb.rb
Date Sun, 17 Aug 2008 22:13:13 GMT
Author: stack
Date: Sun Aug 17 15:13:13 2008
New Revision: 686653

URL: http://svn.apache.org/viewvc?rev=686653&view=rev
Log:
Fix help doc continuation of long lines

Modified:
    hadoop/hbase/trunk/bin/HBase.rb
    hadoop/hbase/trunk/bin/hirb.rb

Modified: hadoop/hbase/trunk/bin/HBase.rb
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/bin/HBase.rb?rev=686653&r1=686652&r2=686653&view=diff
==============================================================================
--- hadoop/hbase/trunk/bin/HBase.rb (original)
+++ hadoop/hbase/trunk/bin/HBase.rb Sun Aug 17 15:13:13 2008
@@ -268,9 +268,8 @@
 
     def isMetaTable()
       tn = @table.getTableName()
-      return Bytes.equals(tn, HConstants::META_TABLE_NAME) or
-        Bytes.equals(tn, HConstants::META_TABLE_NAME)
-        
+      return Bytes.equals(tn, HConstants::META_TABLE_NAME) ||
+        Bytes.equals(tn, HConstants::ROOT_TABLE_NAME)
     end
 
     # Make a String of the passed cell.

Modified: hadoop/hbase/trunk/bin/hirb.rb
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/bin/hirb.rb?rev=686653&r1=686652&r2=686653&view=diff
==============================================================================
--- hadoop/hbase/trunk/bin/hirb.rb (original)
+++ hadoop/hbase/trunk/bin/hirb.rb Sun Aug 17 15:13:13 2008
@@ -131,7 +131,7 @@
            hbase> create 't1', {NAME => 'f1'}, {NAME => 'f2'}, {NAME => 'f3'}
            hbase> # The above in shorthand would be the following:
            hbase> create 't1', 'f1', 'f2', 'f3'
-           hbase> create 't1', {NAME => 'f1', VERSIONS => 1, TTL => 2592000,
\
+           hbase> create 't1', {NAME => 'f1', VERSIONS => 1, TTL => 2592000,
\\
              BLOCKCACHE => true}
 
  describe  Describe the named table: e.g. "hbase> describe 't1'"
@@ -161,7 +161,7 @@
            hbase> get 't1', 'r1', {COLUMN => 'c1'}
            hbase> get 't1', 'r1', {COLUMN => ['c1', 'c2', 'c3']}
            hbase> get 't1', 'r1', {COLUMN => 'c1', TIMESTAMP => ts1}
-           hbase> get 't1', 'r1', {COLUMN => 'c1', TIMESTAMP => ts1, \
+           hbase> get 't1', 'r1', {COLUMN => 'c1', TIMESTAMP => ts1, \\
              VERSIONS => 4}
 
  list      List all tables in hbase



Mime
View raw message