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 2010/07/20 07:31:15 UTC
svn commit: r965726 - in /hbase/trunk: CHANGES.txt
src/test/java/org/apache/hadoop/hbase/mapreduce/TestLoadIncrementalHFiles.java
Author: stack
Date: Tue Jul 20 05:31:14 2010
New Revision: 965726
URL: http://svn.apache.org/viewvc?rev=965726&view=rev
Log:
HBASE-2853 TestLoadIncrementalHFiles fails on TRUNK
Modified:
hbase/trunk/CHANGES.txt
hbase/trunk/src/test/java/org/apache/hadoop/hbase/mapreduce/TestLoadIncrementalHFiles.java
Modified: hbase/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hbase/trunk/CHANGES.txt?rev=965726&r1=965725&r2=965726&view=diff
==============================================================================
--- hbase/trunk/CHANGES.txt (original)
+++ hbase/trunk/CHANGES.txt Tue Jul 20 05:31:14 2010
@@ -444,6 +444,7 @@ Release 0.21.0 - Unreleased
(Nicolas Spiegelberg via Stack)
HBASE-2851 Remove testDynamicBloom() unit test
(Nicolas Spiegelberg via Stack)
+ HBASE-2853 TestLoadIncrementalHFiles fails on TRUNK
IMPROVEMENTS
Modified: hbase/trunk/src/test/java/org/apache/hadoop/hbase/mapreduce/TestLoadIncrementalHFiles.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/test/java/org/apache/hadoop/hbase/mapreduce/TestLoadIncrementalHFiles.java?rev=965726&r1=965725&r2=965726&view=diff
==============================================================================
--- hbase/trunk/src/test/java/org/apache/hadoop/hbase/mapreduce/TestLoadIncrementalHFiles.java (original)
+++ hbase/trunk/src/test/java/org/apache/hadoop/hbase/mapreduce/TestLoadIncrementalHFiles.java Tue Jul 20 05:31:14 2010
@@ -175,10 +175,11 @@ public class TestLoadIncrementalHFiles {
{
HFile.Writer writer = new HFile.Writer(fs, path, BLOCKSIZE, COMPRESSION,
KeyValue.KEY_COMPARATOR);
+ long now = System.currentTimeMillis();
try {
// subtract 2 since iterateOnSplits doesn't include boundary keys
for (byte[] key : Bytes.iterateOnSplits(startKey, endKey, numRows-2)) {
- KeyValue kv = new KeyValue(key, family, qualifier, key);
+ KeyValue kv = new KeyValue(key, family, qualifier, now, key);
writer.append(kv);
}
} finally {