hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject hbase git commit: HBASE-19391 Calling HRegion#initializeRegionInternals from a region replica can still re-create a region directory; ADDEDNDUM to fix TestRegionOpen failure
Date Thu, 22 Feb 2018 17:27:57 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1 af1f7cf43 -> cadc2efd1


HBASE-19391 Calling HRegion#initializeRegionInternals from a region replica can still re-create
a region directory; ADDEDNDUM to fix TestRegionOpen failure


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

Branch: refs/heads/branch-1
Commit: cadc2efd1207d7d505c9fadaeca9338d21018f08
Parents: af1f7cf
Author: Michael Stack <stack@apache.org>
Authored: Thu Feb 22 09:14:35 2018 -0800
Committer: Michael Stack <stack@apache.org>
Committed: Thu Feb 22 09:27:46 2018 -0800

----------------------------------------------------------------------
 .../org/apache/hadoop/hbase/regionserver/TestRegionOpen.java     | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/cadc2efd/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestRegionOpen.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestRegionOpen.java
b/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestRegionOpen.java
index edb1d52..62aabce 100644
--- a/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestRegionOpen.java
+++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestRegionOpen.java
@@ -47,6 +47,7 @@ import org.apache.hadoop.hbase.util.Bytes;
 import org.apache.hadoop.hbase.util.FSUtils;
 import org.junit.AfterClass;
 import org.junit.BeforeClass;
+import org.junit.Ignore;
 import org.junit.Rule;
 import org.junit.Test;
 import org.junit.experimental.categories.Category;
@@ -97,7 +98,8 @@ public class TestRegionOpen {
     assertEquals(2, exec.getCompletedTaskCount());
   }
 
-  @Test(timeout = 60000)
+  @Ignore // Needs rewrite since HBASE-19391 which returns null out of createRegionOnFileSystem
+  @Test
   public void testNonExistentRegionReplica() throws Exception {
     final TableName tableName = TableName.valueOf(name.getMethodName());
     final byte[] FAMILYNAME = Bytes.toBytes("fam");


Mime
View raw message