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
Nested ClassesModifier and TypeClassDescriptionprivate static classVersion of DFS that has HDFS-4525 in it. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate static org.apache.hadoop.fs.Pathprivate static final HBaseCommonTestingUtility -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidTest that isFileClosed makes us recover lease faster.voidTest 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
-
testIsFileClosed
Test that isFileClosed makes us recover lease faster.- Throws:
IOException
-