hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r951756 - /hbase/trunk/src/test/java/org/apache/hadoop/hbase/mapreduce/TestHFileOutputFormat.java
Date Sat, 05 Jun 2010 19:52:01 GMT
Author: stack
Date: Sat Jun  5 19:52:01 2010
New Revision: 951756

URL: http://svn.apache.org/viewvc?rev=951756&view=rev
Log:
HBASE-2615 M/R on bulk imported tables

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

Modified: hbase/trunk/src/test/java/org/apache/hadoop/hbase/mapreduce/TestHFileOutputFormat.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/test/java/org/apache/hadoop/hbase/mapreduce/TestHFileOutputFormat.java?rev=951756&r1=951755&r2=951756&view=diff
==============================================================================
--- hbase/trunk/src/test/java/org/apache/hadoop/hbase/mapreduce/TestHFileOutputFormat.java
(original)
+++ hbase/trunk/src/test/java/org/apache/hadoop/hbase/mapreduce/TestHFileOutputFormat.java
Sat Jun  5 19:52:01 2010
@@ -168,7 +168,7 @@ public class TestHFileOutputFormat  {
 
       // Test 2. Now test passing a kv that has explicit ts.  It should not be
       // changed by call to record write.
-      kv = new KeyValue(b, b, b, System.currentTimeMillis(), b);
+      kv = new KeyValue(b, b, b, kv.getTimestamp() - 1, b);
       original = kv.clone();
       writer.write(new ImmutableBytesWritable(), kv);
       assertTrue(original.equals(kv));



Mime
View raw message