Author: jdcryans
Date: Tue Dec 15 01:30:59 2009
New Revision: 890598
URL: http://svn.apache.org/viewvc?rev=890598&view=rev
Log:
HBASE-2047 Example command in the "Getting Started"
documentation doesn't work (Benoit Sigoure via JD)
Modified:
hadoop/hbase/branches/0.20/CHANGES.txt
hadoop/hbase/branches/0.20/src/java/overview.html
Modified: hadoop/hbase/branches/0.20/CHANGES.txt
URL:
http://svn.apache.org/viewvc/hadoop/hbase/branches/0.20/CHANGES.txt?rev=890598&r1=890597&r2=890598&view=diff
==============================================================================
--- hadoop/hbase/branches/0.20/CHANGES.txt (original)
+++ hadoop/hbase/branches/0.20/CHANGES.txt Tue Dec 15 01:30:59 2009
@@ -16,6 +16,8 @@
HBASE-2034 [Bulk load tools] loadtable.rb calls an undefined method
`descendingIterator' (Ching-Shen Chen via Stack)
HBASE-2043 Shell's scan broken
+ HBASE-2047 Example command in the "Getting Started"
+ documentation doesn't work (Benoit Sigoure via JD)
IMPROVEMENTS
HBASE-1961 HBase EC2 scripts
Modified: hadoop/hbase/branches/0.20/src/java/overview.html
URL:
http://svn.apache.org/viewvc/hadoop/hbase/branches/0.20/src/java/overview.html?rev=890598&r1=890597&r2=890598&view=diff
==============================================================================
--- hadoop/hbase/branches/0.20/src/java/overview.html (original)
+++ hadoop/hbase/branches/0.20/src/java/overview.html Tue Dec 15 01:30:59 2009
@@ -296,7 +296,8 @@
<p>For more information about setting up a ZooKeeper cluster on your own, see
the ZooKeeper <a
href="http://hadoop.apache.org/zookeeper/docs/current/zookeeperStarted.html">Getting
Started Guide</a>.
-HBase currently uses ZooKeeper version 3.2.0, so any cluster setup with a
3.x.x version of ZooKeeper should work.</p>
+HBase currently uses ZooKeeper version 3.2.0, so any cluster setup with a
+3.x.x version of ZooKeeper should work.</p>
<p>Of note, if you have made <em>HDFS client configuration</em> on your Hadoop
cluster, HBase will not
see this configuration unless you do one of the following:</p>
@@ -341,10 +342,10 @@
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"
</pre>