hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r679107 - in /hadoop/hbase/trunk: CHANGES.txt src/java/org/apache/hadoop/hbase/io/RowResult.java
Date Wed, 23 Jul 2008 15:06:04 GMT
Author: stack
Date: Wed Jul 23 08:06:03 2008
New Revision: 679107

URL: http://svn.apache.org/viewvc?rev=679107&view=rev
Log:
HBASE-763 ClassCastException from RowResult.get(String)

Modified:
    hadoop/hbase/trunk/CHANGES.txt
    hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/io/RowResult.java

Modified: hadoop/hbase/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/CHANGES.txt?rev=679107&r1=679106&r2=679107&view=diff
==============================================================================
--- hadoop/hbase/trunk/CHANGES.txt (original)
+++ hadoop/hbase/trunk/CHANGES.txt Wed Jul 23 08:06:03 2008
@@ -207,6 +207,8 @@
                (Jean-Daniel Cryans via Stack)
    HBASE-759   TestMetaUtils failing on hudson
    HBASE-761   IOE: Stream closed exception all over logs
+   HBASE-763   ClassCastException from RowResult.get(String)
+               (Andrew Purtell via Stack)
    
   IMPROVEMENTS
    HBASE-559   MR example job to count table rows

Modified: hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/io/RowResult.java
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/io/RowResult.java?rev=679107&r1=679106&r2=679107&view=diff
==============================================================================
--- hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/io/RowResult.java (original)
+++ hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/io/RowResult.java Wed Jul 23 08:06:03
2008
@@ -131,6 +131,13 @@
   }
   
   /**
+   * Get the Cell that corresponds to column, using a String key
+   */
+  public Cell get(String key) {
+    return get(Bytes.toBytes(key));
+  }
+
+  /**
    * Row entry.
    */
   public class Entry implements Map.Entry<byte [], Cell> {



Mime
View raw message