public abstract static class MasterProtos.MasterService extends Object implements org.apache.hbase.thirdparty.com.google.protobuf.Service
hbase.pb.MasterService| Modifier and Type | Class and Description |
|---|---|
static interface |
MasterProtos.MasterService.BlockingInterface |
static interface |
MasterProtos.MasterService.Interface |
static class |
MasterProtos.MasterService.Stub |
| Modifier | Constructor and Description |
|---|---|
protected |
MasterService() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
abortProcedure(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.AbortProcedureRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.AbortProcedureResponse> done)
Abort a procedure
|
abstract void |
addColumn(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.AddColumnRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.AddColumnResponse> done)
Adds a column to the specified table.
|
abstract void |
addReplicationPeer(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
ReplicationProtos.AddReplicationPeerRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<ReplicationProtos.AddReplicationPeerResponse> done)
Add a replication peer
|
abstract void |
assignRegion(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.AssignRegionRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.AssignRegionResponse> done)
Assign a region to a server chosen at random.
|
abstract void |
balance(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.BalanceRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.BalanceResponse> done)
Run the balancer.
|
void |
callMethod(org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.MethodDescriptor method,
org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
org.apache.hbase.thirdparty.com.google.protobuf.Message request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<org.apache.hbase.thirdparty.com.google.protobuf.Message> done) |
abstract void |
clearDeadServers(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.ClearDeadServersRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.ClearDeadServersResponse> done)
clear dead servers from master
|
abstract void |
createNamespace(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.CreateNamespaceRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.CreateNamespaceResponse> done)
Creates a new namespace synchronously
|
abstract void |
createTable(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.CreateTableRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.CreateTableResponse> done)
Creates a new table asynchronously
|
abstract void |
decommissionRegionServers(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.DecommissionRegionServersRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.DecommissionRegionServersResponse> done)
Decommission region servers.
|
abstract void |
deleteColumn(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.DeleteColumnRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.DeleteColumnResponse> done)
Deletes a column from the specified table.
|
abstract void |
deleteNamespace(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.DeleteNamespaceRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.DeleteNamespaceResponse> done)
Deletes namespace synchronously
|
abstract void |
deleteSnapshot(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.DeleteSnapshotRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.DeleteSnapshotResponse> done)
Delete an existing snapshot.
|
abstract void |
deleteTable(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.DeleteTableRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.DeleteTableResponse> done)
Deletes a table
|
abstract void |
disableReplicationPeer(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
ReplicationProtos.DisableReplicationPeerRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<ReplicationProtos.DisableReplicationPeerResponse> done)
Disable a replication peer
|
abstract void |
disableTable(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.DisableTableRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.DisableTableResponse> done)
Take table offline
|
abstract void |
enableCatalogJanitor(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.EnableCatalogJanitorRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.EnableCatalogJanitorResponse> done)
Enable the catalog janitor on or off.
|
abstract void |
enableReplicationPeer(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
ReplicationProtos.EnableReplicationPeerRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<ReplicationProtos.EnableReplicationPeerResponse> done)
Enable a replication peer
|
abstract void |
enableTable(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.EnableTableRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.EnableTableResponse> done)
Puts the table on-line (only needed if table has been previously taken offline)
|
abstract void |
execMasterService(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
ClientProtos.CoprocessorServiceRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<ClientProtos.CoprocessorServiceResponse> done)
Call a master coprocessor endpoint
|
abstract void |
execProcedure(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.ExecProcedureRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.ExecProcedureResponse> done)
Execute a distributed procedure.
|
abstract void |
execProcedureWithRet(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.ExecProcedureRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.ExecProcedureResponse> done)
Execute a distributed procedure with return data.
|
abstract void |
getClusterStatus(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.GetClusterStatusRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.GetClusterStatusResponse> done)
Return cluster status.
|
abstract void |
getCompletedSnapshots(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.GetCompletedSnapshotsRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.GetCompletedSnapshotsResponse> done)
Get completed snapshots.
|
static org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.ServiceDescriptor |
getDescriptor() |
org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.ServiceDescriptor |
getDescriptorForType() |
abstract void |
getLastMajorCompactionTimestamp(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.MajorCompactionTimestampRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.MajorCompactionTimestampResponse> done)
Returns the timestamp of the last major compaction
|
abstract void |
getLastMajorCompactionTimestampForRegion(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.MajorCompactionTimestampForRegionRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.MajorCompactionTimestampResponse> done)
Returns the timestamp of the last major compaction
|
abstract void |
getLocks(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.GetLocksRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.GetLocksResponse> done)
rpc GetLocks(.hbase.pb.GetLocksRequest) returns (.hbase.pb.GetLocksResponse); |
abstract void |
getNamespaceDescriptor(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.GetNamespaceDescriptorRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.GetNamespaceDescriptorResponse> done)
Get a namespace descriptor by name
|
abstract void |
getProcedureResult(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.GetProcedureResultRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.GetProcedureResultResponse> done)
rpc getProcedureResult(.hbase.pb.GetProcedureResultRequest) returns (.hbase.pb.GetProcedureResultResponse); |
abstract void |
getProcedures(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.GetProceduresRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.GetProceduresResponse> done)
returns a list of procedures
|
abstract void |
getQuotaStates(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
QuotaProtos.GetQuotaStatesRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<QuotaProtos.GetQuotaStatesResponse> done)
Fetches the Master's view of quotas
|
abstract void |
getReplicationPeerConfig(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
ReplicationProtos.GetReplicationPeerConfigRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<ReplicationProtos.GetReplicationPeerConfigResponse> done)
Return peer config for a replication peer
|
org.apache.hbase.thirdparty.com.google.protobuf.Message |
getRequestPrototype(org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.MethodDescriptor method) |
org.apache.hbase.thirdparty.com.google.protobuf.Message |
getResponsePrototype(org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.MethodDescriptor method) |
abstract void |
getSchemaAlterStatus(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.GetSchemaAlterStatusRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.GetSchemaAlterStatusResponse> done)
Used by the client to get the number of regions that have received the updated schema
|
abstract void |
getSecurityCapabilities(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.SecurityCapabilitiesRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.SecurityCapabilitiesResponse> done)
Returns the security capabilities in effect on the cluster
|
abstract void |
getSpaceQuotaRegionSizes(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
QuotaProtos.GetSpaceQuotaRegionSizesRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<QuotaProtos.GetSpaceQuotaRegionSizesResponse> done)
Fetches the Master's view of space utilization
|
abstract void |
getTableDescriptors(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.GetTableDescriptorsRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.GetTableDescriptorsResponse> done)
Get list of TableDescriptors for requested tables.
|
abstract void |
getTableNames(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.GetTableNamesRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.GetTableNamesResponse> done)
Get the list of table names.
|
abstract void |
getTableState(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.GetTableStateRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.GetTableStateResponse> done)
returns table state
|
abstract void |
isBalancerEnabled(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.IsBalancerEnabledRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.IsBalancerEnabledResponse> done)
Query whether the Region Balancer is running.
|
abstract void |
isCatalogJanitorEnabled(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.IsCatalogJanitorEnabledRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.IsCatalogJanitorEnabledResponse> done)
Query whether the catalog janitor is enabled.
|
abstract void |
isCleanerChoreEnabled(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.IsCleanerChoreEnabledRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.IsCleanerChoreEnabledResponse> done)
Query whether the CleanerChore is enabled.
|
abstract void |
isMasterInMaintenanceMode(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.IsInMaintenanceModeRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.IsInMaintenanceModeResponse> done)
Query whether the Master is in maintenance mode.
|
abstract void |
isMasterRunning(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.IsMasterRunningRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.IsMasterRunningResponse> done)
return true if master is available
|
abstract void |
isNormalizerEnabled(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.IsNormalizerEnabledRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.IsNormalizerEnabledResponse> done)
Query whether region normalizer is enabled.
|
abstract void |
isProcedureDone(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.IsProcedureDoneRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.IsProcedureDoneResponse> done)
Determine if the procedure is done yet.
|
abstract void |
isSnapshotDone(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.IsSnapshotDoneRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.IsSnapshotDoneResponse> done)
Determine if the snapshot is done yet.
|
abstract void |
isSplitOrMergeEnabled(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.IsSplitOrMergeEnabledRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.IsSplitOrMergeEnabledResponse> done)
Query whether the split or merge switch is on/off.
|
abstract void |
listDecommissionedRegionServers(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.ListDecommissionedRegionServersRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.ListDecommissionedRegionServersResponse> done)
Returns a list of ServerNames marked as decommissioned.
|
abstract void |
listNamespaceDescriptors(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.ListNamespaceDescriptorsRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.ListNamespaceDescriptorsResponse> done)
returns a list of namespaces
|
abstract void |
listReplicationPeers(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
ReplicationProtos.ListReplicationPeersRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<ReplicationProtos.ListReplicationPeersResponse> done)
Returns a list of replication peers
|
abstract void |
listTableDescriptorsByNamespace(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.ListTableDescriptorsByNamespaceRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.ListTableDescriptorsByNamespaceResponse> done)
returns a list of tables for a given namespace
|
abstract void |
listTableNamesByNamespace(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.ListTableNamesByNamespaceRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.ListTableNamesByNamespaceResponse> done)
returns a list of tables for a given namespace
|
abstract void |
mergeTableRegions(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.MergeTableRegionsRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.MergeTableRegionsResponse> done)
Master merge the regions
|
abstract void |
modifyColumn(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.ModifyColumnRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.ModifyColumnResponse> done)
Modifies an existing column on the specified table.
|
abstract void |
modifyNamespace(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.ModifyNamespaceRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.ModifyNamespaceResponse> done)
Modify a namespace's metadata
|
abstract void |
modifyTable(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.ModifyTableRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.ModifyTableResponse> done)
Modify a table's metadata
|
abstract void |
moveRegion(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.MoveRegionRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.MoveRegionResponse> done)
Move the region region to the destination server.
|
static MasterProtos.MasterService.BlockingInterface |
newBlockingStub(org.apache.hbase.thirdparty.com.google.protobuf.BlockingRpcChannel channel) |
static org.apache.hbase.thirdparty.com.google.protobuf.BlockingService |
newReflectiveBlockingService(MasterProtos.MasterService.BlockingInterface impl) |
static org.apache.hbase.thirdparty.com.google.protobuf.Service |
newReflectiveService(MasterProtos.MasterService.Interface impl) |
static MasterProtos.MasterService.Stub |
newStub(org.apache.hbase.thirdparty.com.google.protobuf.RpcChannel channel) |
abstract void |
normalize(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.NormalizeRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.NormalizeResponse> done)
Run region normalizer.
|
abstract void |
offlineRegion(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.OfflineRegionRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.OfflineRegionResponse> done)
Offline a region from the assignment manager's in-memory state.
|
abstract void |
recommissionRegionServer(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.RecommissionRegionServerRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.RecommissionRegionServerResponse> done)
Re-commission region server.
|
abstract void |
removeReplicationPeer(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
ReplicationProtos.RemoveReplicationPeerRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<ReplicationProtos.RemoveReplicationPeerResponse> done)
Remove a replication peer
|
abstract void |
restoreSnapshot(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.RestoreSnapshotRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.RestoreSnapshotResponse> done)
Restore a snapshot
|
abstract void |
runCatalogScan(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.RunCatalogScanRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.RunCatalogScanResponse> done)
Get a run of the catalog janitor
|
abstract void |
runCleanerChore(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.RunCleanerChoreRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.RunCleanerChoreResponse> done)
Get a run of the CleanerChore
|
abstract void |
setBalancerRunning(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.SetBalancerRunningRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.SetBalancerRunningResponse> done)
Turn the load balancer on or off.
|
abstract void |
setCleanerChoreRunning(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.SetCleanerChoreRunningRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.SetCleanerChoreRunningResponse> done)
Enable the CleanerChore on or off.
|
abstract void |
setNormalizerRunning(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.SetNormalizerRunningRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.SetNormalizerRunningResponse> done)
Turn region normalizer on or off.
|
abstract void |
setQuota(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.SetQuotaRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.SetQuotaResponse> done)
Apply the new quota settings
|
abstract void |
setSplitOrMergeEnabled(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.SetSplitOrMergeEnabledRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.SetSplitOrMergeEnabledResponse> done)
Turn the split or merge switch on or off.
|
abstract void |
shutdown(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.ShutdownRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.ShutdownResponse> done)
Shutdown an HBase cluster.
|
abstract void |
snapshot(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.SnapshotRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.SnapshotResponse> done)
Create a snapshot for the given table.
|
abstract void |
splitRegion(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.SplitTableRegionRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.SplitTableRegionResponse> done)
Split region
|
abstract void |
stopMaster(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.StopMasterRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.StopMasterResponse> done)
Stop HBase Master only.
|
abstract void |
truncateTable(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.TruncateTableRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.TruncateTableResponse> done)
Truncate a table
|
abstract void |
unassignRegion(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.UnassignRegionRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.UnassignRegionResponse> done)
Unassign a region from current hosting regionserver.
|
abstract void |
updateReplicationPeerConfig(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
ReplicationProtos.UpdateReplicationPeerConfigRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<ReplicationProtos.UpdateReplicationPeerConfigResponse> done)
Update peer config for a replication peer
|
public static org.apache.hbase.thirdparty.com.google.protobuf.Service newReflectiveService(MasterProtos.MasterService.Interface impl)
public static org.apache.hbase.thirdparty.com.google.protobuf.BlockingService newReflectiveBlockingService(MasterProtos.MasterService.BlockingInterface impl)
public abstract void getSchemaAlterStatus(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.GetSchemaAlterStatusRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.GetSchemaAlterStatusResponse> done)
Used by the client to get the number of regions that have received the updated schema
rpc GetSchemaAlterStatus(.hbase.pb.GetSchemaAlterStatusRequest) returns (.hbase.pb.GetSchemaAlterStatusResponse);public abstract void getTableDescriptors(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.GetTableDescriptorsRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.GetTableDescriptorsResponse> done)
Get list of TableDescriptors for requested tables.
rpc GetTableDescriptors(.hbase.pb.GetTableDescriptorsRequest) returns (.hbase.pb.GetTableDescriptorsResponse);public abstract void getTableNames(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.GetTableNamesRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.GetTableNamesResponse> done)
Get the list of table names.
rpc GetTableNames(.hbase.pb.GetTableNamesRequest) returns (.hbase.pb.GetTableNamesResponse);public abstract void getClusterStatus(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.GetClusterStatusRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.GetClusterStatusResponse> done)
Return cluster status.
rpc GetClusterStatus(.hbase.pb.GetClusterStatusRequest) returns (.hbase.pb.GetClusterStatusResponse);public abstract void isMasterRunning(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.IsMasterRunningRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.IsMasterRunningResponse> done)
return true if master is available
rpc IsMasterRunning(.hbase.pb.IsMasterRunningRequest) returns (.hbase.pb.IsMasterRunningResponse);public abstract void addColumn(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.AddColumnRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.AddColumnResponse> done)
Adds a column to the specified table.
rpc AddColumn(.hbase.pb.AddColumnRequest) returns (.hbase.pb.AddColumnResponse);public abstract void deleteColumn(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.DeleteColumnRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.DeleteColumnResponse> done)
Deletes a column from the specified table. Table must be disabled.
rpc DeleteColumn(.hbase.pb.DeleteColumnRequest) returns (.hbase.pb.DeleteColumnResponse);public abstract void modifyColumn(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.ModifyColumnRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.ModifyColumnResponse> done)
Modifies an existing column on the specified table.
rpc ModifyColumn(.hbase.pb.ModifyColumnRequest) returns (.hbase.pb.ModifyColumnResponse);public abstract void moveRegion(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.MoveRegionRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.MoveRegionResponse> done)
Move the region region to the destination server.
rpc MoveRegion(.hbase.pb.MoveRegionRequest) returns (.hbase.pb.MoveRegionResponse);public abstract void mergeTableRegions(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.MergeTableRegionsRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.MergeTableRegionsResponse> done)
Master merge the regions
rpc MergeTableRegions(.hbase.pb.MergeTableRegionsRequest) returns (.hbase.pb.MergeTableRegionsResponse);public abstract void assignRegion(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.AssignRegionRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.AssignRegionResponse> done)
Assign a region to a server chosen at random.
rpc AssignRegion(.hbase.pb.AssignRegionRequest) returns (.hbase.pb.AssignRegionResponse);public abstract void unassignRegion(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.UnassignRegionRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.UnassignRegionResponse> done)
Unassign a region from current hosting regionserver. Region will then be assigned to a regionserver chosen at random. Region could be reassigned back to the same server. Use MoveRegion if you want to control the region movement.
rpc UnassignRegion(.hbase.pb.UnassignRegionRequest) returns (.hbase.pb.UnassignRegionResponse);public abstract void offlineRegion(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.OfflineRegionRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.OfflineRegionResponse> done)
Offline a region from the assignment manager's in-memory state. The region should be in a closed state and there will be no attempt to automatically reassign the region as in unassign. This is a special method, and should only be used by experts or hbck.
rpc OfflineRegion(.hbase.pb.OfflineRegionRequest) returns (.hbase.pb.OfflineRegionResponse);public abstract void splitRegion(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.SplitTableRegionRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.SplitTableRegionResponse> done)
Split region
rpc SplitRegion(.hbase.pb.SplitTableRegionRequest) returns (.hbase.pb.SplitTableRegionResponse);public abstract void deleteTable(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.DeleteTableRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.DeleteTableResponse> done)
Deletes a table
rpc DeleteTable(.hbase.pb.DeleteTableRequest) returns (.hbase.pb.DeleteTableResponse);public abstract void truncateTable(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.TruncateTableRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.TruncateTableResponse> done)
Truncate a table
rpc truncateTable(.hbase.pb.TruncateTableRequest) returns (.hbase.pb.TruncateTableResponse);public abstract void enableTable(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.EnableTableRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.EnableTableResponse> done)
Puts the table on-line (only needed if table has been previously taken offline)
rpc EnableTable(.hbase.pb.EnableTableRequest) returns (.hbase.pb.EnableTableResponse);public abstract void disableTable(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.DisableTableRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.DisableTableResponse> done)
Take table offline
rpc DisableTable(.hbase.pb.DisableTableRequest) returns (.hbase.pb.DisableTableResponse);public abstract void modifyTable(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.ModifyTableRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.ModifyTableResponse> done)
Modify a table's metadata
rpc ModifyTable(.hbase.pb.ModifyTableRequest) returns (.hbase.pb.ModifyTableResponse);public abstract void createTable(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.CreateTableRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.CreateTableResponse> done)
Creates a new table asynchronously
rpc CreateTable(.hbase.pb.CreateTableRequest) returns (.hbase.pb.CreateTableResponse);public abstract void shutdown(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.ShutdownRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.ShutdownResponse> done)
Shutdown an HBase cluster.
rpc Shutdown(.hbase.pb.ShutdownRequest) returns (.hbase.pb.ShutdownResponse);public abstract void stopMaster(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.StopMasterRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.StopMasterResponse> done)
Stop HBase Master only. Does not shutdown the cluster.
rpc StopMaster(.hbase.pb.StopMasterRequest) returns (.hbase.pb.StopMasterResponse);public abstract void isMasterInMaintenanceMode(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.IsInMaintenanceModeRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.IsInMaintenanceModeResponse> done)
Query whether the Master is in maintenance mode.
rpc IsMasterInMaintenanceMode(.hbase.pb.IsInMaintenanceModeRequest) returns (.hbase.pb.IsInMaintenanceModeResponse);public abstract void balance(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.BalanceRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.BalanceResponse> done)
Run the balancer. Will run the balancer and if regions to move, it will go ahead and do the reassignments. Can NOT run for various reasons. Check logs.
rpc Balance(.hbase.pb.BalanceRequest) returns (.hbase.pb.BalanceResponse);public abstract void setBalancerRunning(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.SetBalancerRunningRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.SetBalancerRunningResponse> done)
Turn the load balancer on or off. If synchronous is true, it waits until current balance() call, if outstanding, to return.
rpc SetBalancerRunning(.hbase.pb.SetBalancerRunningRequest) returns (.hbase.pb.SetBalancerRunningResponse);public abstract void isBalancerEnabled(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.IsBalancerEnabledRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.IsBalancerEnabledResponse> done)
Query whether the Region Balancer is running.
rpc IsBalancerEnabled(.hbase.pb.IsBalancerEnabledRequest) returns (.hbase.pb.IsBalancerEnabledResponse);public abstract void setSplitOrMergeEnabled(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.SetSplitOrMergeEnabledRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.SetSplitOrMergeEnabledResponse> done)
Turn the split or merge switch on or off. If synchronous is true, it waits until current operation call, if outstanding, to return.
rpc SetSplitOrMergeEnabled(.hbase.pb.SetSplitOrMergeEnabledRequest) returns (.hbase.pb.SetSplitOrMergeEnabledResponse);public abstract void isSplitOrMergeEnabled(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.IsSplitOrMergeEnabledRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.IsSplitOrMergeEnabledResponse> done)
Query whether the split or merge switch is on/off.
rpc IsSplitOrMergeEnabled(.hbase.pb.IsSplitOrMergeEnabledRequest) returns (.hbase.pb.IsSplitOrMergeEnabledResponse);public abstract void normalize(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.NormalizeRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.NormalizeResponse> done)
Run region normalizer. Can NOT run for various reasons. Check logs.
rpc Normalize(.hbase.pb.NormalizeRequest) returns (.hbase.pb.NormalizeResponse);public abstract void setNormalizerRunning(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.SetNormalizerRunningRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.SetNormalizerRunningResponse> done)
Turn region normalizer on or off.
rpc SetNormalizerRunning(.hbase.pb.SetNormalizerRunningRequest) returns (.hbase.pb.SetNormalizerRunningResponse);public abstract void isNormalizerEnabled(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.IsNormalizerEnabledRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.IsNormalizerEnabledResponse> done)
Query whether region normalizer is enabled.
rpc IsNormalizerEnabled(.hbase.pb.IsNormalizerEnabledRequest) returns (.hbase.pb.IsNormalizerEnabledResponse);public abstract void runCatalogScan(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.RunCatalogScanRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.RunCatalogScanResponse> done)
Get a run of the catalog janitor
rpc RunCatalogScan(.hbase.pb.RunCatalogScanRequest) returns (.hbase.pb.RunCatalogScanResponse);public abstract void enableCatalogJanitor(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.EnableCatalogJanitorRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.EnableCatalogJanitorResponse> done)
Enable the catalog janitor on or off.
rpc EnableCatalogJanitor(.hbase.pb.EnableCatalogJanitorRequest) returns (.hbase.pb.EnableCatalogJanitorResponse);public abstract void isCatalogJanitorEnabled(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.IsCatalogJanitorEnabledRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.IsCatalogJanitorEnabledResponse> done)
Query whether the catalog janitor is enabled.
rpc IsCatalogJanitorEnabled(.hbase.pb.IsCatalogJanitorEnabledRequest) returns (.hbase.pb.IsCatalogJanitorEnabledResponse);public abstract void runCleanerChore(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.RunCleanerChoreRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.RunCleanerChoreResponse> done)
Get a run of the CleanerChore
rpc RunCleanerChore(.hbase.pb.RunCleanerChoreRequest) returns (.hbase.pb.RunCleanerChoreResponse);public abstract void setCleanerChoreRunning(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.SetCleanerChoreRunningRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.SetCleanerChoreRunningResponse> done)
Enable the CleanerChore on or off.
rpc SetCleanerChoreRunning(.hbase.pb.SetCleanerChoreRunningRequest) returns (.hbase.pb.SetCleanerChoreRunningResponse);public abstract void isCleanerChoreEnabled(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.IsCleanerChoreEnabledRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.IsCleanerChoreEnabledResponse> done)
Query whether the CleanerChore is enabled.
rpc IsCleanerChoreEnabled(.hbase.pb.IsCleanerChoreEnabledRequest) returns (.hbase.pb.IsCleanerChoreEnabledResponse);public abstract void execMasterService(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
ClientProtos.CoprocessorServiceRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<ClientProtos.CoprocessorServiceResponse> done)
Call a master coprocessor endpoint
rpc ExecMasterService(.hbase.pb.CoprocessorServiceRequest) returns (.hbase.pb.CoprocessorServiceResponse);public abstract void snapshot(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.SnapshotRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.SnapshotResponse> done)
Create a snapshot for the given table.
rpc Snapshot(.hbase.pb.SnapshotRequest) returns (.hbase.pb.SnapshotResponse);public abstract void getCompletedSnapshots(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.GetCompletedSnapshotsRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.GetCompletedSnapshotsResponse> done)
Get completed snapshots. Returns a list of snapshot descriptors for completed snapshots
rpc GetCompletedSnapshots(.hbase.pb.GetCompletedSnapshotsRequest) returns (.hbase.pb.GetCompletedSnapshotsResponse);public abstract void deleteSnapshot(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.DeleteSnapshotRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.DeleteSnapshotResponse> done)
Delete an existing snapshot. This method can also be used to clean up an aborted snapshot.
rpc DeleteSnapshot(.hbase.pb.DeleteSnapshotRequest) returns (.hbase.pb.DeleteSnapshotResponse);public abstract void isSnapshotDone(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.IsSnapshotDoneRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.IsSnapshotDoneResponse> done)
Determine if the snapshot is done yet.
rpc IsSnapshotDone(.hbase.pb.IsSnapshotDoneRequest) returns (.hbase.pb.IsSnapshotDoneResponse);public abstract void restoreSnapshot(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.RestoreSnapshotRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.RestoreSnapshotResponse> done)
Restore a snapshot
rpc RestoreSnapshot(.hbase.pb.RestoreSnapshotRequest) returns (.hbase.pb.RestoreSnapshotResponse);public abstract void execProcedure(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.ExecProcedureRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.ExecProcedureResponse> done)
Execute a distributed procedure.
rpc ExecProcedure(.hbase.pb.ExecProcedureRequest) returns (.hbase.pb.ExecProcedureResponse);public abstract void execProcedureWithRet(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.ExecProcedureRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.ExecProcedureResponse> done)
Execute a distributed procedure with return data.
rpc ExecProcedureWithRet(.hbase.pb.ExecProcedureRequest) returns (.hbase.pb.ExecProcedureResponse);public abstract void isProcedureDone(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.IsProcedureDoneRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.IsProcedureDoneResponse> done)
Determine if the procedure is done yet.
rpc IsProcedureDone(.hbase.pb.IsProcedureDoneRequest) returns (.hbase.pb.IsProcedureDoneResponse);public abstract void modifyNamespace(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.ModifyNamespaceRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.ModifyNamespaceResponse> done)
Modify a namespace's metadata
rpc ModifyNamespace(.hbase.pb.ModifyNamespaceRequest) returns (.hbase.pb.ModifyNamespaceResponse);public abstract void createNamespace(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.CreateNamespaceRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.CreateNamespaceResponse> done)
Creates a new namespace synchronously
rpc CreateNamespace(.hbase.pb.CreateNamespaceRequest) returns (.hbase.pb.CreateNamespaceResponse);public abstract void deleteNamespace(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.DeleteNamespaceRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.DeleteNamespaceResponse> done)
Deletes namespace synchronously
rpc DeleteNamespace(.hbase.pb.DeleteNamespaceRequest) returns (.hbase.pb.DeleteNamespaceResponse);public abstract void getNamespaceDescriptor(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.GetNamespaceDescriptorRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.GetNamespaceDescriptorResponse> done)
Get a namespace descriptor by name
rpc GetNamespaceDescriptor(.hbase.pb.GetNamespaceDescriptorRequest) returns (.hbase.pb.GetNamespaceDescriptorResponse);public abstract void listNamespaceDescriptors(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.ListNamespaceDescriptorsRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.ListNamespaceDescriptorsResponse> done)
returns a list of namespaces
rpc ListNamespaceDescriptors(.hbase.pb.ListNamespaceDescriptorsRequest) returns (.hbase.pb.ListNamespaceDescriptorsResponse);public abstract void listTableDescriptorsByNamespace(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.ListTableDescriptorsByNamespaceRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.ListTableDescriptorsByNamespaceResponse> done)
returns a list of tables for a given namespace
rpc ListTableDescriptorsByNamespace(.hbase.pb.ListTableDescriptorsByNamespaceRequest) returns (.hbase.pb.ListTableDescriptorsByNamespaceResponse);public abstract void listTableNamesByNamespace(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.ListTableNamesByNamespaceRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.ListTableNamesByNamespaceResponse> done)
returns a list of tables for a given namespace
rpc ListTableNamesByNamespace(.hbase.pb.ListTableNamesByNamespaceRequest) returns (.hbase.pb.ListTableNamesByNamespaceResponse);public abstract void getTableState(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.GetTableStateRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.GetTableStateResponse> done)
returns table state
rpc GetTableState(.hbase.pb.GetTableStateRequest) returns (.hbase.pb.GetTableStateResponse);public abstract void setQuota(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.SetQuotaRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.SetQuotaResponse> done)
Apply the new quota settings
rpc SetQuota(.hbase.pb.SetQuotaRequest) returns (.hbase.pb.SetQuotaResponse);public abstract void getLastMajorCompactionTimestamp(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.MajorCompactionTimestampRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.MajorCompactionTimestampResponse> done)
Returns the timestamp of the last major compaction
rpc getLastMajorCompactionTimestamp(.hbase.pb.MajorCompactionTimestampRequest) returns (.hbase.pb.MajorCompactionTimestampResponse);public abstract void getLastMajorCompactionTimestampForRegion(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.MajorCompactionTimestampForRegionRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.MajorCompactionTimestampResponse> done)
Returns the timestamp of the last major compaction
rpc getLastMajorCompactionTimestampForRegion(.hbase.pb.MajorCompactionTimestampForRegionRequest) returns (.hbase.pb.MajorCompactionTimestampResponse);public abstract void getProcedureResult(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.GetProcedureResultRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.GetProcedureResultResponse> done)
rpc getProcedureResult(.hbase.pb.GetProcedureResultRequest) returns (.hbase.pb.GetProcedureResultResponse);public abstract void getSecurityCapabilities(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.SecurityCapabilitiesRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.SecurityCapabilitiesResponse> done)
Returns the security capabilities in effect on the cluster
rpc getSecurityCapabilities(.hbase.pb.SecurityCapabilitiesRequest) returns (.hbase.pb.SecurityCapabilitiesResponse);public abstract void abortProcedure(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.AbortProcedureRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.AbortProcedureResponse> done)
Abort a procedure
rpc AbortProcedure(.hbase.pb.AbortProcedureRequest) returns (.hbase.pb.AbortProcedureResponse);public abstract void getProcedures(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.GetProceduresRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.GetProceduresResponse> done)
returns a list of procedures
rpc GetProcedures(.hbase.pb.GetProceduresRequest) returns (.hbase.pb.GetProceduresResponse);public abstract void getLocks(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.GetLocksRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.GetLocksResponse> done)
rpc GetLocks(.hbase.pb.GetLocksRequest) returns (.hbase.pb.GetLocksResponse);public abstract void addReplicationPeer(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
ReplicationProtos.AddReplicationPeerRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<ReplicationProtos.AddReplicationPeerResponse> done)
Add a replication peer
rpc AddReplicationPeer(.hbase.pb.AddReplicationPeerRequest) returns (.hbase.pb.AddReplicationPeerResponse);public abstract void removeReplicationPeer(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
ReplicationProtos.RemoveReplicationPeerRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<ReplicationProtos.RemoveReplicationPeerResponse> done)
Remove a replication peer
rpc RemoveReplicationPeer(.hbase.pb.RemoveReplicationPeerRequest) returns (.hbase.pb.RemoveReplicationPeerResponse);public abstract void enableReplicationPeer(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
ReplicationProtos.EnableReplicationPeerRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<ReplicationProtos.EnableReplicationPeerResponse> done)
Enable a replication peer
rpc EnableReplicationPeer(.hbase.pb.EnableReplicationPeerRequest) returns (.hbase.pb.EnableReplicationPeerResponse);public abstract void disableReplicationPeer(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
ReplicationProtos.DisableReplicationPeerRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<ReplicationProtos.DisableReplicationPeerResponse> done)
Disable a replication peer
rpc DisableReplicationPeer(.hbase.pb.DisableReplicationPeerRequest) returns (.hbase.pb.DisableReplicationPeerResponse);public abstract void getReplicationPeerConfig(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
ReplicationProtos.GetReplicationPeerConfigRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<ReplicationProtos.GetReplicationPeerConfigResponse> done)
Return peer config for a replication peer
rpc GetReplicationPeerConfig(.hbase.pb.GetReplicationPeerConfigRequest) returns (.hbase.pb.GetReplicationPeerConfigResponse);public abstract void updateReplicationPeerConfig(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
ReplicationProtos.UpdateReplicationPeerConfigRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<ReplicationProtos.UpdateReplicationPeerConfigResponse> done)
Update peer config for a replication peer
rpc UpdateReplicationPeerConfig(.hbase.pb.UpdateReplicationPeerConfigRequest) returns (.hbase.pb.UpdateReplicationPeerConfigResponse);public abstract void listReplicationPeers(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
ReplicationProtos.ListReplicationPeersRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<ReplicationProtos.ListReplicationPeersResponse> done)
Returns a list of replication peers
rpc ListReplicationPeers(.hbase.pb.ListReplicationPeersRequest) returns (.hbase.pb.ListReplicationPeersResponse);public abstract void listDecommissionedRegionServers(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.ListDecommissionedRegionServersRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.ListDecommissionedRegionServersResponse> done)
Returns a list of ServerNames marked as decommissioned.
rpc ListDecommissionedRegionServers(.hbase.pb.ListDecommissionedRegionServersRequest) returns (.hbase.pb.ListDecommissionedRegionServersResponse);public abstract void decommissionRegionServers(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.DecommissionRegionServersRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.DecommissionRegionServersResponse> done)
Decommission region servers.
rpc DecommissionRegionServers(.hbase.pb.DecommissionRegionServersRequest) returns (.hbase.pb.DecommissionRegionServersResponse);public abstract void recommissionRegionServer(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.RecommissionRegionServerRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.RecommissionRegionServerResponse> done)
Re-commission region server.
rpc RecommissionRegionServer(.hbase.pb.RecommissionRegionServerRequest) returns (.hbase.pb.RecommissionRegionServerResponse);public abstract void getSpaceQuotaRegionSizes(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
QuotaProtos.GetSpaceQuotaRegionSizesRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<QuotaProtos.GetSpaceQuotaRegionSizesResponse> done)
Fetches the Master's view of space utilization
rpc GetSpaceQuotaRegionSizes(.hbase.pb.GetSpaceQuotaRegionSizesRequest) returns (.hbase.pb.GetSpaceQuotaRegionSizesResponse);public abstract void getQuotaStates(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
QuotaProtos.GetQuotaStatesRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<QuotaProtos.GetQuotaStatesResponse> done)
Fetches the Master's view of quotas
rpc GetQuotaStates(.hbase.pb.GetQuotaStatesRequest) returns (.hbase.pb.GetQuotaStatesResponse);public abstract void clearDeadServers(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
MasterProtos.ClearDeadServersRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<MasterProtos.ClearDeadServersResponse> done)
clear dead servers from master
rpc ClearDeadServers(.hbase.pb.ClearDeadServersRequest) returns (.hbase.pb.ClearDeadServersResponse);public static final org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.ServiceDescriptor getDescriptor()
public final org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.ServiceDescriptor getDescriptorForType()
getDescriptorForType in interface org.apache.hbase.thirdparty.com.google.protobuf.Servicepublic final void callMethod(org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.MethodDescriptor method,
org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
org.apache.hbase.thirdparty.com.google.protobuf.Message request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<org.apache.hbase.thirdparty.com.google.protobuf.Message> done)
callMethod in interface org.apache.hbase.thirdparty.com.google.protobuf.Servicepublic final org.apache.hbase.thirdparty.com.google.protobuf.Message getRequestPrototype(org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.MethodDescriptor method)
getRequestPrototype in interface org.apache.hbase.thirdparty.com.google.protobuf.Servicepublic final org.apache.hbase.thirdparty.com.google.protobuf.Message getResponsePrototype(org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.MethodDescriptor method)
getResponsePrototype in interface org.apache.hbase.thirdparty.com.google.protobuf.Servicepublic static MasterProtos.MasterService.Stub newStub(org.apache.hbase.thirdparty.com.google.protobuf.RpcChannel channel)
public static MasterProtos.MasterService.BlockingInterface newBlockingStub(org.apache.hbase.thirdparty.com.google.protobuf.BlockingRpcChannel channel)
Copyright © 2007–2019 Cloudera. All rights reserved.