Package org.apache.hadoop.hbase.client
Class TestServerLoadDurability
java.lang.Object
org.apache.hadoop.hbase.client.TestServerLoadDurability
@Tag("org.apache.hadoop.hbase.testclassification.MediumTests") @Tag("org.apache.hadoop.hbase.testclassification.ClientTests")
public class TestServerLoadDurability
extends Object
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.Adminprivate final org.apache.hadoop.conf.Configurationprotected org.apache.hadoop.hbase.client.Connectionprivate static final byte[]protected org.apache.hadoop.hbase.TableNameprotected 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 Stream<org.junit.jupiter.params.provider.Arguments>voidsetUp()voidtearDown()void
-
Field Details
-
FAMILY
-
conf
-
utility
-
conn
-
admin
-
tableName
-
-
Constructor Details
-
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
-