hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e...@apache.org
Subject hbase git commit: HBASE-13717 TestBoundedRegionGroupingProvider#setMembershipDedups need to set HDFS diretory for WAL (Stephen Yuan Jiang)
Date Wed, 20 May 2015 02:14:43 GMT
Repository: hbase
Updated Branches:
  refs/heads/master 1fcee8697 -> 0ef4a1088


HBASE-13717 TestBoundedRegionGroupingProvider#setMembershipDedups need to set HDFS diretory
for WAL (Stephen Yuan Jiang)


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

Branch: refs/heads/master
Commit: 0ef4a1088224b6fa3a2c85ef1d4efba6b7b48673
Parents: 1fcee86
Author: Enis Soztutar <enis@apache.org>
Authored: Tue May 19 19:03:12 2015 -0700
Committer: Enis Soztutar <enis@apache.org>
Committed: Tue May 19 19:03:19 2015 -0700

----------------------------------------------------------------------
 .../hadoop/hbase/wal/TestBoundedRegionGroupingProvider.java      | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/0ef4a108/hbase-server/src/test/java/org/apache/hadoop/hbase/wal/TestBoundedRegionGroupingProvider.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/wal/TestBoundedRegionGroupingProvider.java
b/hbase-server/src/test/java/org/apache/hadoop/hbase/wal/TestBoundedRegionGroupingProvider.java
index 1c7813b..f4d38a0 100644
--- a/hbase-server/src/test/java/org/apache/hadoop/hbase/wal/TestBoundedRegionGroupingProvider.java
+++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/wal/TestBoundedRegionGroupingProvider.java
@@ -38,6 +38,7 @@ import org.apache.hadoop.hbase.HBaseTestingUtility;
 import org.apache.hadoop.hbase.testclassification.LargeTests;
 import org.apache.hadoop.hbase.testclassification.RegionServerTests;
 import org.apache.hadoop.hbase.util.Bytes;
+import org.apache.hadoop.hbase.util.FSUtils;
 import org.junit.After;
 import org.junit.AfterClass;
 import org.junit.Before;
@@ -159,6 +160,9 @@ public class TestBoundedRegionGroupingProvider {
     WALFactory wals = null;
     try {
       conf.setInt(NUM_REGION_GROUPS, temp*4);
+      // Set HDFS root directory for storing WAL
+      FSUtils.setRootDir(conf, TEST_UTIL.getDataTestDirOnTestFS());
+
       wals = new WALFactory(conf, null, currentTest.getMethodName());
       final Set<WAL> seen = new HashSet<WAL>(temp*4);
       final Random random = new Random();


Mime
View raw message