hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From apurt...@apache.org
Subject svn commit: r785052 - /hadoop/hbase/trunk/src/test/org/apache/hadoop/hbase/HBaseTestCase.java
Date Tue, 16 Jun 2009 01:52:48 GMT
Author: apurtell
Date: Tue Jun 16 01:52:48 2009
New Revision: 785052

URL: http://svn.apache.org/viewvc?rev=785052&view=rev
Log:
HBASE-1526 mapreduce fixup; commit trivial fix for HBaseTestCase

Modified:
    hadoop/hbase/trunk/src/test/org/apache/hadoop/hbase/HBaseTestCase.java

Modified: hadoop/hbase/trunk/src/test/org/apache/hadoop/hbase/HBaseTestCase.java
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/src/test/org/apache/hadoop/hbase/HBaseTestCase.java?rev=785052&r1=785051&r2=785052&view=diff
==============================================================================
--- hadoop/hbase/trunk/src/test/org/apache/hadoop/hbase/HBaseTestCase.java (original)
+++ hadoop/hbase/trunk/src/test/org/apache/hadoop/hbase/HBaseTestCase.java Tue Jun 16 01:52:48
2009
@@ -295,7 +295,8 @@
               put.setTimeStamp(ts);
             }
             try {
-              put.add(Bytes.toBytes(column), null, t);
+              byte[][] split = KeyValue.parseColumn(Bytes.toBytes(column));
+              put.add(split[0], split[1], t);
               updater.put(put);
               count++;
             } catch (RuntimeException ex) {



Mime
View raw message