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
Modifier and TypeFieldDescriptionprotected org.apache.hadoop.hbase.client.Admin
static final HBaseClassTestRule
org.apache.hadoop.conf.Configuration
protected org.apache.hadoop.hbase.client.Connection
private static final byte[]
protected org.apache.hadoop.hbase.TableName
org.junit.rules.TestName
protected HBaseTestingUtility
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static org.apache.hadoop.conf.Configuration
private static org.apache.hadoop.conf.Configuration
private void
createTableWithDefaultConf
(org.apache.hadoop.hbase.TableName tableName) static final Collection<Object[]>
void
setUp()
void
tearDown()
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
-