程序包 | 说明 |
---|---|
org.apache.hadoop.hbase | |
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 . |
限定符和类型 | 类和说明 |
---|---|
class |
ClusterStatus
已过时。
As of release 2.0.0, this will be removed in HBase 3.0.0
Use
ClusterMetrics instead. |
限定符和类型 | 方法和说明 |
---|---|
ClusterMetrics |
ClusterMetricsBuilder.build() |
static ClusterMetrics |
ClusterMetricsBuilder.toClusterMetrics(org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.ClusterStatus proto) |
限定符和类型 | 方法和说明 |
---|---|
static org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.ClusterStatus |
ClusterMetricsBuilder.toClusterStatus(ClusterMetrics metrics) |
构造器和说明 |
---|
ClusterStatus(ClusterMetrics metrics)
已过时。
|
限定符和类型 | 方法和说明 |
---|---|
default ClusterMetrics |
Admin.getClusterMetrics()
Get whole cluster metrics, containing status about:
hbase version
cluster id
primary/backup master(s)
master's coprocessors
live/dead regionservers
balancer
regions in transition
|
ClusterMetrics |
Admin.getClusterMetrics(EnumSet<ClusterMetrics.Option> options)
Get cluster status with a set of
ClusterMetrics.Option to get desired status. |
ClusterMetrics |
HBaseAdmin.getClusterMetrics(EnumSet<ClusterMetrics.Option> options) |
限定符和类型 | 方法和说明 |
---|---|
CompletableFuture<ClusterMetrics> |
AsyncAdmin.getClusterMetrics() |
CompletableFuture<ClusterMetrics> |
AsyncAdmin.getClusterMetrics(EnumSet<ClusterMetrics.Option> options) |
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.