From c17ecdb4204eca1401bd323ecb49d6fa2b959db4 Mon Sep 17 00:00:00 2001 From: Michael Stack Date: Sun, 17 Aug 2008 22:13:13 +0000 Subject: [PATCH] Fix help doc continuation of long lines git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@686653 13f79535-47bb-0310-9956-ffa450edef68 --- bin/HBase.rb | 5 ++--- bin/hirb.rb | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/bin/HBase.rb b/bin/HBase.rb index 305ce321532..276095c63be 100644 --- a/bin/HBase.rb +++ b/bin/HBase.rb @@ -268,9 +268,8 @@ module HBase 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. diff --git a/bin/hirb.rb b/bin/hirb.rb index 9e5a1dbdd43..7a49f391636 100644 --- a/bin/hirb.rb +++ b/bin/hirb.rb @@ -131,7 +131,7 @@ HBASE SHELL COMMANDS: 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 SHELL COMMANDS: 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