Package org.apache.hadoop.hbase.util
Class TestRecoverLeaseFSUtils
java.lang.Object
org.apache.hadoop.hbase.util.TestRecoverLeaseFSUtils
Test our recoverLease loop against mocked up filesystem.
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static interface
private static class
Version of DFS that has HDFS-4525 in it.private static class
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static org.apache.hadoop.fs.Path
private static final HBaseCommonTestingUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Test that isFileClosed makes us recover lease faster.void
void
Test that we can use reflection to access LeaseRecoverable methods.void
Test recover lease eventually succeeding.
-
Field Details
-
CLASS_RULE
-
HTU
-
FILE
-
-
Constructor Details
-
TestRecoverLeaseFSUtils
public TestRecoverLeaseFSUtils()
-
-
Method Details
-
testRecoverLease
Test recover lease eventually succeeding.- Throws:
IOException
-
testLeaseRecoverable
Test that we can use reflection to access LeaseRecoverable methods.- Throws:
IOException
-
testIsFileClosed
Test that isFileClosed makes us recover lease faster.- Throws:
IOException
-
testIsLeaseRecoverable
-