Class TestCreateTableProcedureDescriptorWriteFailure

java.lang.Object
org.apache.hadoop.hbase.master.procedure.TestCreateTableProcedureDescriptorWriteFailure

@Tag("org.apache.hadoop.hbase.testclassification.MasterTests") @Tag("org.apache.hadoop.hbase.testclassification.MediumTests") public class TestCreateTableProcedureDescriptorWriteFailure extends Object
Test for HBASE-30539: CreateTableProcedure must not move on to hbase:meta and region assignment when the table descriptor could not be written.

FSTableDescriptors.writeTableDescriptor retries 10 times. If every attempt fails it must throw, so that the create procedure stays in CREATE_TABLE_WRITE_FS_LAYOUT and retries, instead of publishing a table whose region servers can never load a descriptor ("Missing table descriptor for ...") and whose assign procedure retries forever.