hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmhs...@apache.org
Subject hbase git commit: HBASE-13141 IntegrationTestAcidGuarantees returns incorrect values for getColumnFamilies
Date Tue, 03 Mar 2015 05:27:36 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1.0 4d4dc1e79 -> 0e8bb4351


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/0e8bb435
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/0e8bb435
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/0e8bb435

Branch: refs/heads/branch-1.0
Commit: 0e8bb435172e81a45bd742aee8a5cdc3e3bb7636
Parents: 4d4dc1e
Author: Jonathan M Hsieh <jmhsieh@apache.org>
Authored: Mon Mar 2 21:25:54 2015 -0800
Committer: Jonathan M Hsieh <jmhsieh@apache.org>
Committed: Mon Mar 2 21:25:54 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/0e8bb435/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