Class TestReadOnlyControllerFlush
java.lang.Object
org.apache.hadoop.hbase.security.access.TestReadOnlyControllerFlush
@Tag("org.apache.hadoop.hbase.testclassification.SecurityTests") @Tag("org.apache.hadoop.hbase.testclassification.LargeTests")
public class TestReadOnlyControllerFlush
extends Object
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static SingleProcessHBaseClusterprivate static org.apache.hadoop.conf.Configurationprivate static org.apache.hadoop.hbase.client.Connectionprivate static org.apache.hadoop.hbase.master.HMasterprivate static org.apache.hadoop.hbase.regionserver.HRegionServerprivate static final byte[]private static final org.apache.hadoop.hbase.TableNameprivate final HBaseTestingUtilprivate static org.apache.hadoop.hbase.client.Table -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidprivate static voidprivate static voidvoidvoid
-
Field Details
-
TEST_UTIL
-
TEST_TABLE
-
TEST_FAMILY
-
hRegionServer
-
hMaster
-
conf
-
connection
-
cluster
-
testTable
-
-
Constructor Details
-
TestReadOnlyControllerFlush
public TestReadOnlyControllerFlush()
-
-
Method Details
-
beforeClass
- Throws:
Exception
-
afterClass
- Throws:
Exception
-
enableReadOnlyMode
-
disableReadOnlyMode
-
testFlushTableWithReadOnlyDisabled
- Throws:
IOException
-
testCannotFlushTableWithReadOnlyEnabled
@Test @Timeout(value=60L, unit=SECONDS) public void testCannotFlushTableWithReadOnlyEnabled() throws IOException- Throws:
IOException
-