Class TestRefreshMetaProcedureIntegration
java.lang.Object
org.apache.hadoop.hbase.master.procedure.TestRefreshMetaProcedureIntegration
@Tag("org.apache.hadoop.hbase.testclassification.MasterTests") @Tag("org.apache.hadoop.hbase.testclassification.LargeTests")
public class TestRefreshMetaProcedureIntegration
extends Object
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate org.apache.hadoop.hbase.client.Adminprivate org.apache.hadoop.hbase.master.HMasterprivate org.apache.hadoop.hbase.procedure2.ProcedureExecutor<org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv>private org.apache.hadoop.hbase.regionserver.HRegionServerprivate static final HBaseTestingUtil -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidcreateTableInFilesystem(org.apache.hadoop.hbase.TableName tableName) private voidcreateTableWithData(org.apache.hadoop.hbase.TableName tableName) private voiddeleteTableFromFilesystem(org.apache.hadoop.hbase.TableName tableName) private voidprivate voidsetReadOnlyMode(boolean isReadOnly) voidsetup()voidtearDown()voidvoidvoidprivate voidwaitForProcedureCompletion(Long procId)
-
Field Details
-
TEST_UTIL
-
admin
-
procExecutor
private org.apache.hadoop.hbase.procedure2.ProcedureExecutor<org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv> procExecutor -
master
-
regionServer
-
-
Constructor Details
-
TestRefreshMetaProcedureIntegration
public TestRefreshMetaProcedureIntegration()
-
-
Method Details
-
setup
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
testRestoreMissingRegionInMeta
- Throws:
Exception
-
testPhantomTableCleanup
- Throws:
Exception
-
testRestoreTableStateForOrphanRegions
- Throws:
Exception
-
createTableInFilesystem
private void createTableInFilesystem(org.apache.hadoop.hbase.TableName tableName) throws IOException - Throws:
IOException
-
deleteTableFromFilesystem
private void deleteTableFromFilesystem(org.apache.hadoop.hbase.TableName tableName) throws IOException - Throws:
IOException
-
createTableWithData
- Throws:
Exception
-
waitForProcedureCompletion
-
setReadOnlyMode
-
notifyConfigurationObservers
-