From 23ca64f88fe20117a6ac7d561b8a256b69d8bb05 Mon Sep 17 00:00:00 2001 From: Antonios Chalkiopoulos Date: Fri, 22 Aug 2014 20:09:31 +0100 Subject: Fixing up tests --- .../java/parallelai/spyglass/hbase/GenerateTestingHTables.java | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/test/java/parallelai/spyglass') diff --git a/src/test/java/parallelai/spyglass/hbase/GenerateTestingHTables.java b/src/test/java/parallelai/spyglass/hbase/GenerateTestingHTables.java index c6e5c6e..62bcc0f 100644 --- a/src/test/java/parallelai/spyglass/hbase/GenerateTestingHTables.java +++ b/src/test/java/parallelai/spyglass/hbase/GenerateTestingHTables.java @@ -19,7 +19,6 @@ import org.apache.hadoop.hbase.client.Put; import org.apache.hadoop.hbase.client.Result; import org.apache.hadoop.hbase.client.ResultScanner; import org.apache.hadoop.hbase.client.Scan; -import org.apache.hadoop.hbase.io.hfile.Compression; import org.apache.hadoop.hbase.regionserver.StoreFile; import org.apache.hadoop.hbase.util.Bytes; import junit.framework.Assert; @@ -159,8 +158,7 @@ public class GenerateTestingHTables { .setCompressionType(Compression.Algorithm.NONE) .setInMemory(HColumnDescriptor.DEFAULT_IN_MEMORY) .setBlockCacheEnabled(HColumnDescriptor.DEFAULT_BLOCKCACHE) - .setTimeToLive(HColumnDescriptor.DEFAULT_TTL) - .setBloomFilterType(StoreFile.BloomType.NONE); + .setTimeToLive(HColumnDescriptor.DEFAULT_TTL); newTable.addFamily(meta); // Table2 @@ -170,8 +168,7 @@ public class GenerateTestingHTables { .setCompressionType(Compression.Algorithm.NONE) .setInMemory(HColumnDescriptor.DEFAULT_IN_MEMORY) .setBlockCacheEnabled(HColumnDescriptor.DEFAULT_BLOCKCACHE) - .setTimeToLive(HColumnDescriptor.DEFAULT_TTL) - .setBloomFilterType(StoreFile.BloomType.NONE); + .setTimeToLive(HColumnDescriptor.DEFAULT_TTL); // HColumnDescriptor prefix = new HColumnDescriptor("account".getBytes()); // newTable.addFamily(prefix); -- cgit v1.2.3