From d63f19b4041a4fed19a5c1dcf1ce8bd2816dc4d9 Mon Sep 17 00:00:00 2001
From: Benoit Sigoure
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