Class TestProcedureNonce
java.lang.Object
org.apache.hadoop.hbase.procedure2.TestProcedureNonce
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static class
static class
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private org.apache.hadoop.fs.FileSystem
private HBaseCommonTestingUtil
private static final org.slf4j.Logger
private org.apache.hadoop.fs.Path
private static final int
private static TestProcedureNonce.TestProcEnv
private static org.apache.hadoop.hbase.procedure2.ProcedureExecutor<TestProcedureNonce.TestProcEnv>
private static org.apache.hadoop.hbase.procedure2.store.ProcedureStore
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setUp()
void
tearDown()
void
void
private void
testConcurrentNonceRegistration
(boolean submitProcedure, long nonceGroup, long nonce) void
void
void
-
Field Details
-
CLASS_RULE
-
LOG
-
PROCEDURE_EXECUTOR_SLOTS
- See Also:
-
procEnv
-
procExecutor
private static org.apache.hadoop.hbase.procedure2.ProcedureExecutor<TestProcedureNonce.TestProcEnv> procExecutor -
procStore
-
htu
-
fs
-
logDir
-
-
Constructor Details
-
TestProcedureNonce
public TestProcedureNonce()
-
-
Method Details
-
setUp
- Throws:
IOException
-
tearDown
- Throws:
IOException
-
testCompletedProcWithSameNonce
- Throws:
Exception
-
testRunningProcWithSameNonce
- Throws:
Exception
-
testSetFailureResultForNonce
- Throws:
IOException
-
testConcurrentNonceRegistration
- Throws:
IOException
-
testConcurrentNonceRegistrationWithRollback
- Throws:
IOException
-
testConcurrentNonceRegistration
private void testConcurrentNonceRegistration(boolean submitProcedure, long nonceGroup, long nonce) throws IOException - Throws:
IOException
-