hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmhs...@apache.org
Subject [1/2] hbase git commit: HBASE-13141 IntegrationTestAcidGuarantees returns incorrect values for getColumnFamilies
Date Tue, 03 Mar 2015 12:43:44 GMT
Repository: hbase
Updated Branches:
  refs/heads/hbase-11339 a1e9ce3d8 -> d66f88134


HBASE-13141 IntegrationTestAcidGuarantees returns incorrect values for getColumnFamilies


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/cf4f4fcb
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/cf4f4fcb
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/cf4f4fcb

Branch: refs/heads/hbase-11339
Commit: cf4f4fcbb37fd80572aa11f01b9255a5a3a613c2
Parents: a1e9ce3
Author: Jonathan M Hsieh <jmhsieh@apache.org>
Authored: Mon Mar 2 21:25:47 2015 -0800
Committer: Jonathan M Hsieh <jmhsieh@apache.org>
Committed: Tue Mar 3 04:41:27 2015 -0800

----------------------------------------------------------------------
 .../apache/hadoop/hbase/IntegrationTestAcidGuarantees.java    | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/cf4f4fcb/hbase-it/src/test/java/org/apache/hadoop/hbase/IntegrationTestAcidGuarantees.java
----------------------------------------------------------------------
diff --git a/hbase-it/src/test/java/org/apache/hadoop/hbase/IntegrationTestAcidGuarantees.java
b/hbase-it/src/test/java/org/apache/hadoop/hbase/IntegrationTestAcidGuarantees.java
index acece95..7250eb3 100644
--- a/hbase-it/src/test/java/org/apache/hadoop/hbase/IntegrationTestAcidGuarantees.java
+++ b/hbase-it/src/test/java/org/apache/hadoop/hbase/IntegrationTestAcidGuarantees.java
@@ -21,6 +21,7 @@ import com.google.common.collect.Sets;
 import org.apache.hadoop.conf.Configuration;
 import org.apache.hadoop.hbase.regionserver.ConstantSizeRegionSplitPolicy;
 import org.apache.hadoop.hbase.testclassification.IntegrationTests;
+import org.apache.hadoop.hbase.util.Bytes;
 import org.apache.hadoop.util.ToolRunner;
 import org.junit.Test;
 import org.junit.experimental.categories.Category;
@@ -83,9 +84,9 @@ public class IntegrationTestAcidGuarantees extends IntegrationTestBase {
 
   @Override
   protected Set<String> getColumnFamilies() {
-    return Sets.newHashSet(String.valueOf(TestAcidGuarantees.FAMILY_A),
-            String.valueOf(TestAcidGuarantees.FAMILY_B),
-            String.valueOf(TestAcidGuarantees.FAMILY_C));
+    return Sets.newHashSet(Bytes.toString(TestAcidGuarantees.FAMILY_A),
+            Bytes.toString(TestAcidGuarantees.FAMILY_B),
+            Bytes.toString(TestAcidGuarantees.FAMILY_C));
   }
 
   // ***** Actual integration tests


Mime
View raw message