You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by ap...@apache.org on 2010/05/20 04:31:11 UTC

svn commit: r946512 - in /hbase/trunk: CHANGES.txt core/src/test/java/org/apache/hadoop/hbase/rest/model/TestColumnSchemaModel.java core/src/test/java/org/apache/hadoop/hbase/rest/model/TestTableSchemaModel.java

Author: apurtell
Date: Thu May 20 02:31:11 2010
New Revision: 946512

URL: http://svn.apache.org/viewvc?rev=946512&view=rev
Log:
HBASE-2582 TestTableSchemaModel not passing after commit of blooms

Modified:
    hbase/trunk/CHANGES.txt
    hbase/trunk/core/src/test/java/org/apache/hadoop/hbase/rest/model/TestColumnSchemaModel.java
    hbase/trunk/core/src/test/java/org/apache/hadoop/hbase/rest/model/TestTableSchemaModel.java

Modified: hbase/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hbase/trunk/CHANGES.txt?rev=946512&r1=946511&r2=946512&view=diff
==============================================================================
--- hbase/trunk/CHANGES.txt (original)
+++ hbase/trunk/CHANGES.txt Thu May 20 02:31:11 2010
@@ -345,7 +345,7 @@ Release 0.21.0 - Unreleased
                binary bytes (Benoît Sigoure via Stack)
    HBASE-2576  TestHRegion.testDelete_mixed() failing on hudson
    HBASE-2581  Bloom commit broke some tests... fix
-
+   HBASE-2582  TestTableSchemaModel not passing after commit of blooms
 
   IMPROVEMENTS
    HBASE-1760  Cleanup TODOs in HTable

Modified: hbase/trunk/core/src/test/java/org/apache/hadoop/hbase/rest/model/TestColumnSchemaModel.java
URL: http://svn.apache.org/viewvc/hbase/trunk/core/src/test/java/org/apache/hadoop/hbase/rest/model/TestColumnSchemaModel.java?rev=946512&r1=946511&r2=946512&view=diff
==============================================================================
--- hbase/trunk/core/src/test/java/org/apache/hadoop/hbase/rest/model/TestColumnSchemaModel.java (original)
+++ hbase/trunk/core/src/test/java/org/apache/hadoop/hbase/rest/model/TestColumnSchemaModel.java Thu May 20 02:31:11 2010
@@ -33,7 +33,7 @@ public class TestColumnSchemaModel exten
   protected static final String COLUMN_NAME = "testcolumn";
   protected static final boolean BLOCKCACHE = true;
   protected static final int BLOCKSIZE = 16384;
-  protected static final String BLOOMFILTER = "none";
+  protected static final String BLOOMFILTER = "NONE";
   protected static final String COMPRESSION = "GZ";
   protected static final boolean IN_MEMORY = false;
   protected static final int TTL = 86400;
@@ -42,7 +42,7 @@ public class TestColumnSchemaModel exten
   protected static final String AS_XML =
     "<ColumnSchema name=\"testcolumn\"" +
       " BLOCKSIZE=\"16384\"" +
-      " BLOOMFILTER=\"none\"" +
+      " BLOOMFILTER=\"NONE\"" +
       " BLOCKCACHE=\"true\"" +
       " COMPRESSION=\"GZ\"" +
       " VERSIONS=\"1\"" +

Modified: hbase/trunk/core/src/test/java/org/apache/hadoop/hbase/rest/model/TestTableSchemaModel.java
URL: http://svn.apache.org/viewvc/hbase/trunk/core/src/test/java/org/apache/hadoop/hbase/rest/model/TestTableSchemaModel.java?rev=946512&r1=946511&r2=946512&view=diff
==============================================================================
--- hbase/trunk/core/src/test/java/org/apache/hadoop/hbase/rest/model/TestTableSchemaModel.java (original)
+++ hbase/trunk/core/src/test/java/org/apache/hadoop/hbase/rest/model/TestTableSchemaModel.java Thu May 20 02:31:11 2010
@@ -49,18 +49,17 @@ public class TestTableSchemaModel extend
 
   private static final String AS_PB = 
     "Cgl0ZXN0VGFibGUSEAoHSVNfTUVUQRIFZmFsc2USEAoHSVNfUk9PVBIFZmFsc2USEQoIUkVBRE9O" +
-    "TFkSBWZhbHNlEhIKCUlOX01FTU9SWRIFZmFsc2UamAEKCnRlc3Rjb2x1bW4SEgoJQkxPQ0tTSVpF" +
-    "EgUxNjM4NBIUCgtCTE9PTUZJTFRFUhIFZmFsc2USEgoKQkxPQ0tDQUNIRRIEdHJ1ZRIRCgtDT01Q" +
-    "UkVTU0lPThICZ3oSDQoIVkVSU0lPTlMSATESDAoDVFRMEgU4NjQwMBISCglJTl9NRU1PUlkSBWZh" +
-    "bHNlGICjBSABKgJneiAAKAA=";
+    "TFkSBWZhbHNlGpcBCgp0ZXN0Y29sdW1uEhIKCUJMT0NLU0laRRIFMTYzODQSEwoLQkxPT01GSUxU" +
+    "RVISBE5PTkUSEgoKQkxPQ0tDQUNIRRIEdHJ1ZRIRCgtDT01QUkVTU0lPThICR1oSDQoIVkVSU0lP" +
+    "TlMSATESDAoDVFRMEgU4NjQwMBISCglJTl9NRU1PUlkSBWZhbHNlGICjBSABKgJHWigA";
 
   private JAXBContext context;
 
   public TestTableSchemaModel() throws JAXBException {
     super();
     context = JAXBContext.newInstance(
-        ColumnSchemaModel.class,
-        TableSchemaModel.class);
+      ColumnSchemaModel.class,
+      TableSchemaModel.class);
   }
 
   public static TableSchemaModel buildTestModel() {