Modifier | Constructor and Description |
---|---|
private |
TestUtils() |
Modifier and Type | Method and Description |
---|---|
private static void |
assertRecordInClientMode(org.apache.hadoop.hbase.hbtop.Record record,
long readRequestCountPerSecond,
long writeCountRequestPerSecond,
long filteredReadRequestsCount) |
private static void |
assertRecordInNamespaceMode(org.apache.hadoop.hbase.hbtop.Record record,
long requestCountPerSecond,
long readRequestCountPerSecond,
long filteredReadRequestCountPerSecond,
long writeCountRequestPerSecond,
org.apache.hadoop.hbase.Size storeFileSize,
org.apache.hadoop.hbase.Size uncompressedStoreFileSize,
int numStoreFiles,
org.apache.hadoop.hbase.Size memStoreSize,
int regionCount) |
private static void |
assertRecordInRegionMode(org.apache.hadoop.hbase.hbtop.Record record,
String namespace,
String startCode,
String replicaId,
String table,
String region,
String regionServer,
String longRegionServer,
long requestCountPerSecond,
long readRequestCountPerSecond,
long filteredReadRequestCountPerSecond,
long writeCountRequestPerSecond,
org.apache.hadoop.hbase.Size storeFileSize,
org.apache.hadoop.hbase.Size uncompressedStoreFileSize,
int numStoreFiles,
org.apache.hadoop.hbase.Size memStoreSize,
float locality,
String startKey,
long compactingCellCount,
long compactedCellCount,
float compactionProgress,
String lastMajorCompactionTime) |
private static void |
assertRecordInRegionServerMode(org.apache.hadoop.hbase.hbtop.Record record,
String longRegionServer,
long requestCountPerSecond,
long readRequestCountPerSecond,
long filteredReadRequestCountPerSecond,
long writeCountRequestPerSecond,
org.apache.hadoop.hbase.Size storeFileSize,
org.apache.hadoop.hbase.Size uncompressedStoreFileSize,
int numStoreFiles,
org.apache.hadoop.hbase.Size memStoreSize,
int regionCount,
org.apache.hadoop.hbase.Size usedHeapSize,
org.apache.hadoop.hbase.Size maxHeapSize) |
private static void |
assertRecordInTableMode(org.apache.hadoop.hbase.hbtop.Record record,
long requestCountPerSecond,
long readRequestCountPerSecond,
long filteredReadRequestCountPerSecond,
long writeCountRequestPerSecond,
org.apache.hadoop.hbase.Size storeFileSize,
org.apache.hadoop.hbase.Size uncompressedStoreFileSize,
int numStoreFiles,
org.apache.hadoop.hbase.Size memStoreSize,
int regionCount) |
private static void |
assertRecordInUserMode(org.apache.hadoop.hbase.hbtop.Record record,
long readRequestCountPerSecond,
long writeCountRequestPerSecond,
long filteredReadRequestsCount) |
static void |
assertRecordsInClientMode(List<org.apache.hadoop.hbase.hbtop.Record> records) |
static void |
assertRecordsInNamespaceMode(List<org.apache.hadoop.hbase.hbtop.Record> records) |
static void |
assertRecordsInRegionMode(List<org.apache.hadoop.hbase.hbtop.Record> records) |
static void |
assertRecordsInRegionServerMode(List<org.apache.hadoop.hbase.hbtop.Record> records) |
static void |
assertRecordsInTableMode(List<org.apache.hadoop.hbase.hbtop.Record> records) |
static void |
assertRecordsInUserMode(List<org.apache.hadoop.hbase.hbtop.Record> records) |
static void |
assertSummary(org.apache.hadoop.hbase.hbtop.screen.top.Summary summary) |
static org.apache.hadoop.hbase.ClusterMetrics |
createDummyClusterMetrics() |
private static org.apache.hadoop.hbase.RegionMetrics |
createRegionMetrics(String regionName,
long readRequestCount,
long filteredReadRequestCount,
long writeRequestCount,
org.apache.hadoop.hbase.Size storeFileSize,
org.apache.hadoop.hbase.Size uncompressedStoreFileSize,
int storeFileCount,
org.apache.hadoop.hbase.Size memStoreSize,
float locality,
long compactedCellCount,
long compactingCellCount,
String lastMajorCompactionTime) |
private static org.apache.hadoop.hbase.ServerMetrics |
createServerMetrics(org.apache.hadoop.hbase.ServerName serverName,
long reportTimestamp,
org.apache.hadoop.hbase.Size usedHeapSize,
org.apache.hadoop.hbase.Size maxHeapSize,
long requestCountPerSecond,
List<org.apache.hadoop.hbase.RegionMetrics> regionMetricsList,
List<org.apache.hadoop.hbase.UserMetrics> userMetricsList) |
private static org.apache.hadoop.hbase.UserMetrics |
createUserMetrics(String user,
long readRequestCount,
long writeRequestCount,
long filteredReadRequestsCount) |
private TestUtils()
public static org.apache.hadoop.hbase.ClusterMetrics createDummyClusterMetrics()
private static org.apache.hadoop.hbase.UserMetrics createUserMetrics(String user, long readRequestCount, long writeRequestCount, long filteredReadRequestsCount)
private static org.apache.hadoop.hbase.RegionMetrics createRegionMetrics(String regionName, long readRequestCount, long filteredReadRequestCount, long writeRequestCount, org.apache.hadoop.hbase.Size storeFileSize, org.apache.hadoop.hbase.Size uncompressedStoreFileSize, int storeFileCount, org.apache.hadoop.hbase.Size memStoreSize, float locality, long compactedCellCount, long compactingCellCount, String lastMajorCompactionTime)
private static org.apache.hadoop.hbase.ServerMetrics createServerMetrics(org.apache.hadoop.hbase.ServerName serverName, long reportTimestamp, org.apache.hadoop.hbase.Size usedHeapSize, org.apache.hadoop.hbase.Size maxHeapSize, long requestCountPerSecond, List<org.apache.hadoop.hbase.RegionMetrics> regionMetricsList, List<org.apache.hadoop.hbase.UserMetrics> userMetricsList)
public static void assertRecordsInRegionMode(List<org.apache.hadoop.hbase.hbtop.Record> records)
private static void assertRecordInRegionMode(org.apache.hadoop.hbase.hbtop.Record record, String namespace, String startCode, String replicaId, String table, String region, String regionServer, String longRegionServer, long requestCountPerSecond, long readRequestCountPerSecond, long filteredReadRequestCountPerSecond, long writeCountRequestPerSecond, org.apache.hadoop.hbase.Size storeFileSize, org.apache.hadoop.hbase.Size uncompressedStoreFileSize, int numStoreFiles, org.apache.hadoop.hbase.Size memStoreSize, float locality, String startKey, long compactingCellCount, long compactedCellCount, float compactionProgress, String lastMajorCompactionTime)
public static void assertRecordsInNamespaceMode(List<org.apache.hadoop.hbase.hbtop.Record> records)
private static void assertRecordInNamespaceMode(org.apache.hadoop.hbase.hbtop.Record record, long requestCountPerSecond, long readRequestCountPerSecond, long filteredReadRequestCountPerSecond, long writeCountRequestPerSecond, org.apache.hadoop.hbase.Size storeFileSize, org.apache.hadoop.hbase.Size uncompressedStoreFileSize, int numStoreFiles, org.apache.hadoop.hbase.Size memStoreSize, int regionCount)
public static void assertRecordsInTableMode(List<org.apache.hadoop.hbase.hbtop.Record> records)
public static void assertRecordsInUserMode(List<org.apache.hadoop.hbase.hbtop.Record> records)
public static void assertRecordsInClientMode(List<org.apache.hadoop.hbase.hbtop.Record> records)
private static void assertRecordInUserMode(org.apache.hadoop.hbase.hbtop.Record record, long readRequestCountPerSecond, long writeCountRequestPerSecond, long filteredReadRequestsCount)
private static void assertRecordInClientMode(org.apache.hadoop.hbase.hbtop.Record record, long readRequestCountPerSecond, long writeCountRequestPerSecond, long filteredReadRequestsCount)
private static void assertRecordInTableMode(org.apache.hadoop.hbase.hbtop.Record record, long requestCountPerSecond, long readRequestCountPerSecond, long filteredReadRequestCountPerSecond, long writeCountRequestPerSecond, org.apache.hadoop.hbase.Size storeFileSize, org.apache.hadoop.hbase.Size uncompressedStoreFileSize, int numStoreFiles, org.apache.hadoop.hbase.Size memStoreSize, int regionCount)
public static void assertRecordsInRegionServerMode(List<org.apache.hadoop.hbase.hbtop.Record> records)
private static void assertRecordInRegionServerMode(org.apache.hadoop.hbase.hbtop.Record record, String longRegionServer, long requestCountPerSecond, long readRequestCountPerSecond, long filteredReadRequestCountPerSecond, long writeCountRequestPerSecond, org.apache.hadoop.hbase.Size storeFileSize, org.apache.hadoop.hbase.Size uncompressedStoreFileSize, int numStoreFiles, org.apache.hadoop.hbase.Size memStoreSize, int regionCount, org.apache.hadoop.hbase.Size usedHeapSize, org.apache.hadoop.hbase.Size maxHeapSize)
public static void assertSummary(org.apache.hadoop.hbase.hbtop.screen.top.Summary summary)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.