Package org.apache.hadoop.hbase.client
Class TestServerLoadDurability
java.lang.Object
org.apache.hadoop.hbase.client.TestServerLoadDurability
HBASE-19496 noticed that the RegionLoad/ServerLoad may be corrupted if rpc server reuses the
bytebuffer backed, so this test call the Admin#getLastMajorCompactionTimestamp() to invoke
HMaster to iterate all stored server/region loads.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.apache.hadoop.hbase.client.Adminstatic final HBaseClassTestRuleorg.apache.hadoop.conf.Configurationprotected org.apache.hadoop.hbase.client.Connectionprivate static final byte[]protected org.apache.hadoop.hbase.TableNameorg.junit.rules.TestNameprotected HBaseTestingUtil -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static org.apache.hadoop.conf.Configurationprivate static org.apache.hadoop.conf.Configurationprivate voidcreateTableWithDefaultConf(org.apache.hadoop.hbase.TableName tableName) static final Collection<Object[]>voidsetUp()voidtearDown()void
-
Field Details
-
CLASS_RULE
-
FAMILY
-
conf
-
utility
-
conn
-
admin
-
testName
-
tableName
-
-
Constructor Details
-
TestServerLoadDurability
public TestServerLoadDurability()
-
-
Method Details
-
parameters
-
createConfigurationForSimpleRpcServer
-
createConfigurationForNettyRpcServer
-
setUp
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
testCompactionTimestamps
- Throws:
Exception
-
createTableWithDefaultConf
private void createTableWithDefaultConf(org.apache.hadoop.hbase.TableName tableName) throws IOException - Throws:
IOException
-