程序包 | 说明 |
---|---|
org.apache.hadoop.hbase.client |
Provides HBase Client
Table of Contents
Overview
Example API Usage
Overview
To administer HBase, create and drop tables, list and alter tables,
use
Admin . |
org.apache.hadoop.hbase.protobuf |
Holds classes generated from protobuf
src/main/protobuf definition files. |
限定符和类型 | 类和说明 |
---|---|
class |
BalancerDecision
History of balancer decisions taken for region movements.
|
class |
OnlineLogRecord
Slow/Large Log payload for hbase-client, to be used by Admin API get_slow_responses and
get_large_responses
|
限定符和类型 | 方法和说明 |
---|---|
List<LogEntry> |
HBaseAdmin.getLogEntries(Set<ServerName> serverNames,
String logType,
ServerType serverType,
int limit,
Map<String,Object> filterParams) |
List<LogEntry> |
Admin.getLogEntries(Set<ServerName> serverNames,
String logType,
ServerType serverType,
int limit,
Map<String,Object> filterParams)
Retrieve recent online records from HMaster / RegionServers.
|
限定符和类型 | 方法和说明 |
---|---|
static List<LogEntry> |
ProtobufUtil.getBalancerDecisionEntries(org.apache.hadoop.hbase.protobuf.generated.MasterProtos.BalancerDecisionsResponse response) |
static List<LogEntry> |
ProtobufUtil.toBalancerDecisionResponse(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.LogEntry logEntry) |
static List<LogEntry> |
ProtobufUtil.toSlowLogPayloads(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.LogEntry logEntry)
Convert AdminProtos#SlowLogResponses to list of
OnlineLogRecord |
Copyright © 2007–2022 The Apache Software Foundation. All rights reserved.