From d63f19b4041a4fed19a5c1dcf1ce8bd2816dc4d9 Mon Sep 17 00:00:00 2001 From: Benoit Sigoure Date: Mon, 14 Dec 2009 16:59:11 -0800 Subject: [PATCH] HBASE-2047 Fix an example command in the documentation. Signed-off-by: Benoit Sigoure --- src/java/overview.html | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/java/overview.html b/src/java/overview.html index 9c5ac4c..1a76288 100644 --- a/src/java/overview.html +++ b/src/java/overview.html @@ -293,7 +293,8 @@ doesn't take ZooKeeper with it.

For more information about setting up a ZooKeeper cluster on your own, see the ZooKeeper Getting Started Guide. -HBase currently uses ZooKeeper version 3.2.0, so any cluster setup with a 3.x.x version of ZooKeeper should work.

+HBase currently uses ZooKeeper version 3.2.0, so any cluster setup with a +3.x.x version of ZooKeeper should work.

Of note, if you have made HDFS client configuration on your Hadoop cluster, HBase will not see this configuration unless you do one of the following:

@@ -338,10 +339,10 @@ hbase> # To create a table named "mylittletable" with a column family of "myl hbase> create "mylittletable", "mylittlecolumnfamily" hbase> # To see the schema for you just created "mylittletable" table and its single "mylittlecolumnfamily", type hbase> describe "mylittletable" -hbase> # To add a row whose id is "x", to the column "mylittlecolumnfamily:x" with a value of 'x', do -hbase> put "mylittletable", "x" +hbase> # To add a row whose id is "myrow", to the column "mylittlecolumnfamily:x" with a value of 'v', do +hbase> put "mylittletable", "myrow", "mylittlecolumnfamily:x", "v" hbase> # To get the cell just added, do -hbase> get "mylittletable", "x" +hbase> get "mylittletable", "myrow" hbase> # To scan you new table, do hbase> scan "mylittletable" -- 1.6.6.rc2.5.g49666