You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2008/06/27 16:47:38 UTC
svn commit: r672288 - in /hadoop/hbase/branches/0.1: CHANGES.txt
src/java/overview.html
Author: stack
Date: Fri Jun 27 07:47:38 2008
New Revision: 672288
URL: http://svn.apache.org/viewvc?rev=672288&view=rev
Log:
Add release date; add fix to client sample from Shiraz Memon
Modified:
hadoop/hbase/branches/0.1/CHANGES.txt
hadoop/hbase/branches/0.1/src/java/overview.html
Modified: hadoop/hbase/branches/0.1/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/hbase/branches/0.1/CHANGES.txt?rev=672288&r1=672287&r2=672288&view=diff
==============================================================================
--- hadoop/hbase/branches/0.1/CHANGES.txt (original)
+++ hadoop/hbase/branches/0.1/CHANGES.txt Fri Jun 27 07:47:38 2008
@@ -1,6 +1,6 @@
HBase Change Log
-Release 0.1.3 - Unreleased
+Release 0.1.3 - 07/25/2008
BUG FIXES
HBASE-644 DroppedSnapshotException but RegionServer doesn't restart
Modified: hadoop/hbase/branches/0.1/src/java/overview.html
URL: http://svn.apache.org/viewvc/hadoop/hbase/branches/0.1/src/java/overview.html?rev=672288&r1=672287&r2=672288&view=diff
==============================================================================
--- hadoop/hbase/branches/0.1/src/java/overview.html (original)
+++ hadoop/hbase/branches/0.1/src/java/overview.html Fri Jun 27 07:47:38 2008
@@ -172,13 +172,14 @@
</p>
<div style="background-color: #cccccc; padding: 2px">
-<code><pre>
-import org.apache.hadoop.hbase.HTable;
+<code><pre>import org.apache.hadoop.hbase.HTable;
import org.apache.hadoop.hbase.HBaseConfiguration;
import org.apache.hadoop.hbase.HStoreKey;
import org.apache.hadoop.hbase.HScannerInterface;
import org.apache.hadoop.io.Text;
import java.io.IOException;
+import java.util.SortedMap;
+import java.util.TreeMap;
public class MyClient {
@@ -242,11 +243,10 @@
while(scanner.next(row, columns)) {
// print out the row we found and the columns we were looking for
System.out.println("Found row: " + row.getRow() + " with value: " +
- new String(columns.get("myColumnFamily:columnQualifier1")));
+ new String((byte[]) columns.get(columns.firstKey())));
}
}
-}
-</pre></code>
+}</pre></code>
</div>
<p>There are many other methods for putting data into and getting data out of