Class TestReadOnlyController
java.lang.Object
org.apache.hadoop.hbase.security.access.TestReadOnlyController
@Tag("org.apache.hadoop.hbase.testclassification.SecurityTests") @Tag("org.apache.hadoop.hbase.testclassification.LargeTests")
public class TestReadOnlyController
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 org.slf4j.Loggerprivate 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 voidprivate static voidvoidvoidvoidvoidvoid
-
Field Details
-
LOG
-
TEST_UTIL
-
TEST_TABLE
-
TEST_FAMILY
-
hRegionServer
-
hMaster
-
conf
-
connection
-
cluster
-
testTable
-
-
Constructor Details
-
TestReadOnlyController
public TestReadOnlyController()
-
-
Method Details
-
beforeClass
- Throws:
Exception
-
afterClass
- Throws:
Exception
-
enableReadOnlyMode
-
disableReadOnlyMode
-
notifyObservers
-
testCannotCreateTableWithReadOnlyEnabled
- Throws:
IOException
-
testPutWithReadOnlyDisabled
- Throws:
IOException
-
testCannotPutWithReadOnlyEnabled
- Throws:
IOException
-
testBatchPutWithReadOnlyDisabled
- Throws:
IOExceptionInterruptedException
-
testCannotBatchPutWithReadOnlyEnabled
- Throws:
IOExceptionInterruptedException
-