Package org.apache.hadoop.hbase.wal
Class TestWALOpenAfterDNRollingStart
java.lang.Object
org.apache.hadoop.hbase.wal.TestWALOpenAfterDNRollingStart
-
Field Summary
Modifier and TypeFieldDescriptionprivate static long
static final HBaseClassTestRule
private static long
private static final HBaseTestingUtil
-
Constructor Summary
-
Method Summary
-
Field Details
-
CLASS_RULE
-
TEST_UTIL
-
DN_RESTART_INTERVAL
-
CHECK_LOW_REPLICATION_INTERVAL
-
walProvider
-
-
Constructor Details
-
TestWALOpenAfterDNRollingStart
public TestWALOpenAfterDNRollingStart()
-
-
Method Details
-
data
-
setUpBeforeClass
- Throws:
Exception
-
setUp
- Throws:
IOException
InterruptedException
-
tearDown
- Throws:
Exception
-
tearDownAfterClass
- Throws:
Exception
-
test
see HBASE-18132 This is a test case of failing open a wal(for replication for example) after all datanode restarted (rolling upgrade, for example). Before this patch, low replication detection is only used when syncing wal. But if the wal haven't had any entry whiten, it will never know all the replica of the wal is broken(because of dn restarting). And this wal can never be open- Throws:
Exception
-