public abstract static class MasterProtos.MasterService extends Object implements com.google.protobuf.Service
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 |
MasterProtos.MasterService() |
Modifier and Type | Method and Description |
---|---|
abstract void |
abortProcedure(com.google.protobuf.RpcController controller,
MasterProtos.AbortProcedureRequest request,
com.google.protobuf.RpcCallback<MasterProtos.AbortProcedureResponse> done)
rpc AbortProcedure(.AbortProcedureRequest) returns (.AbortProcedureResponse); |
abstract void |
addColumn(com.google.protobuf.RpcController controller,
MasterProtos.AddColumnRequest request,
com.google.protobuf.RpcCallback<MasterProtos.AddColumnResponse> done)
rpc AddColumn(.AddColumnRequest) returns (.AddColumnResponse); |
abstract void |
assignRegion(com.google.protobuf.RpcController controller,
MasterProtos.AssignRegionRequest request,
com.google.protobuf.RpcCallback<MasterProtos.AssignRegionResponse> done)
rpc AssignRegion(.AssignRegionRequest) returns (.AssignRegionResponse); |
abstract void |
balance(com.google.protobuf.RpcController controller,
MasterProtos.BalanceRequest request,
com.google.protobuf.RpcCallback<MasterProtos.BalanceResponse> done)
rpc Balance(.BalanceRequest) returns (.BalanceResponse); |
void |
callMethod(com.google.protobuf.Descriptors.MethodDescriptor method,
com.google.protobuf.RpcController controller,
com.google.protobuf.Message request,
com.google.protobuf.RpcCallback<com.google.protobuf.Message> done) |
abstract void |
createNamespace(com.google.protobuf.RpcController controller,
MasterProtos.CreateNamespaceRequest request,
com.google.protobuf.RpcCallback<MasterProtos.CreateNamespaceResponse> done)
rpc CreateNamespace(.CreateNamespaceRequest) returns (.CreateNamespaceResponse); |
abstract void |
createTable(com.google.protobuf.RpcController controller,
MasterProtos.CreateTableRequest request,
com.google.protobuf.RpcCallback<MasterProtos.CreateTableResponse> done)
rpc CreateTable(.CreateTableRequest) returns (.CreateTableResponse); |
abstract void |
deleteColumn(com.google.protobuf.RpcController controller,
MasterProtos.DeleteColumnRequest request,
com.google.protobuf.RpcCallback<MasterProtos.DeleteColumnResponse> done)
rpc DeleteColumn(.DeleteColumnRequest) returns (.DeleteColumnResponse); |
abstract void |
deleteNamespace(com.google.protobuf.RpcController controller,
MasterProtos.DeleteNamespaceRequest request,
com.google.protobuf.RpcCallback<MasterProtos.DeleteNamespaceResponse> done)
rpc DeleteNamespace(.DeleteNamespaceRequest) returns (.DeleteNamespaceResponse); |
abstract void |
deleteSnapshot(com.google.protobuf.RpcController controller,
MasterProtos.DeleteSnapshotRequest request,
com.google.protobuf.RpcCallback<MasterProtos.DeleteSnapshotResponse> done)
rpc DeleteSnapshot(.DeleteSnapshotRequest) returns (.DeleteSnapshotResponse); |
abstract void |
deleteTable(com.google.protobuf.RpcController controller,
MasterProtos.DeleteTableRequest request,
com.google.protobuf.RpcCallback<MasterProtos.DeleteTableResponse> done)
rpc DeleteTable(.DeleteTableRequest) returns (.DeleteTableResponse); |
abstract void |
disableTable(com.google.protobuf.RpcController controller,
MasterProtos.DisableTableRequest request,
com.google.protobuf.RpcCallback<MasterProtos.DisableTableResponse> done)
rpc DisableTable(.DisableTableRequest) returns (.DisableTableResponse); |
abstract void |
dispatchMergingRegions(com.google.protobuf.RpcController controller,
MasterProtos.DispatchMergingRegionsRequest request,
com.google.protobuf.RpcCallback<MasterProtos.DispatchMergingRegionsResponse> done)
rpc DispatchMergingRegions(.DispatchMergingRegionsRequest) returns (.DispatchMergingRegionsResponse); |
abstract void |
enableCatalogJanitor(com.google.protobuf.RpcController controller,
MasterProtos.EnableCatalogJanitorRequest request,
com.google.protobuf.RpcCallback<MasterProtos.EnableCatalogJanitorResponse> done)
rpc EnableCatalogJanitor(.EnableCatalogJanitorRequest) returns (.EnableCatalogJanitorResponse); |
abstract void |
enableTable(com.google.protobuf.RpcController controller,
MasterProtos.EnableTableRequest request,
com.google.protobuf.RpcCallback<MasterProtos.EnableTableResponse> done)
rpc EnableTable(.EnableTableRequest) returns (.EnableTableResponse); |
abstract void |
execMasterService(com.google.protobuf.RpcController controller,
ClientProtos.CoprocessorServiceRequest request,
com.google.protobuf.RpcCallback<ClientProtos.CoprocessorServiceResponse> done)
rpc ExecMasterService(.CoprocessorServiceRequest) returns (.CoprocessorServiceResponse); |
abstract void |
execProcedure(com.google.protobuf.RpcController controller,
MasterProtos.ExecProcedureRequest request,
com.google.protobuf.RpcCallback<MasterProtos.ExecProcedureResponse> done)
rpc ExecProcedure(.ExecProcedureRequest) returns (.ExecProcedureResponse); |
abstract void |
execProcedureWithRet(com.google.protobuf.RpcController controller,
MasterProtos.ExecProcedureRequest request,
com.google.protobuf.RpcCallback<MasterProtos.ExecProcedureResponse> done)
rpc ExecProcedureWithRet(.ExecProcedureRequest) returns (.ExecProcedureResponse); |
abstract void |
getClusterStatus(com.google.protobuf.RpcController controller,
MasterProtos.GetClusterStatusRequest request,
com.google.protobuf.RpcCallback<MasterProtos.GetClusterStatusResponse> done)
rpc GetClusterStatus(.GetClusterStatusRequest) returns (.GetClusterStatusResponse); |
abstract void |
getCompletedSnapshots(com.google.protobuf.RpcController controller,
MasterProtos.GetCompletedSnapshotsRequest request,
com.google.protobuf.RpcCallback<MasterProtos.GetCompletedSnapshotsResponse> done)
rpc GetCompletedSnapshots(.GetCompletedSnapshotsRequest) returns (.GetCompletedSnapshotsResponse); |
static com.google.protobuf.Descriptors.ServiceDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.ServiceDescriptor |
getDescriptorForType() |
abstract void |
getLastMajorCompactionTimestamp(com.google.protobuf.RpcController controller,
MasterProtos.MajorCompactionTimestampRequest request,
com.google.protobuf.RpcCallback<MasterProtos.MajorCompactionTimestampResponse> done)
rpc getLastMajorCompactionTimestamp(.MajorCompactionTimestampRequest) returns (.MajorCompactionTimestampResponse); |
abstract void |
getLastMajorCompactionTimestampForRegion(com.google.protobuf.RpcController controller,
MasterProtos.MajorCompactionTimestampForRegionRequest request,
com.google.protobuf.RpcCallback<MasterProtos.MajorCompactionTimestampResponse> done)
rpc getLastMajorCompactionTimestampForRegion(.MajorCompactionTimestampForRegionRequest) returns (.MajorCompactionTimestampResponse); |
abstract void |
getNamespaceDescriptor(com.google.protobuf.RpcController controller,
MasterProtos.GetNamespaceDescriptorRequest request,
com.google.protobuf.RpcCallback<MasterProtos.GetNamespaceDescriptorResponse> done)
rpc GetNamespaceDescriptor(.GetNamespaceDescriptorRequest) returns (.GetNamespaceDescriptorResponse); |
abstract void |
getProcedureResult(com.google.protobuf.RpcController controller,
MasterProtos.GetProcedureResultRequest request,
com.google.protobuf.RpcCallback<MasterProtos.GetProcedureResultResponse> done)
rpc getProcedureResult(.GetProcedureResultRequest) returns (.GetProcedureResultResponse); |
com.google.protobuf.Message |
getRequestPrototype(com.google.protobuf.Descriptors.MethodDescriptor method) |
com.google.protobuf.Message |
getResponsePrototype(com.google.protobuf.Descriptors.MethodDescriptor method) |
abstract void |
getSchemaAlterStatus(com.google.protobuf.RpcController controller,
MasterProtos.GetSchemaAlterStatusRequest request,
com.google.protobuf.RpcCallback<MasterProtos.GetSchemaAlterStatusResponse> done)
rpc GetSchemaAlterStatus(.GetSchemaAlterStatusRequest) returns (.GetSchemaAlterStatusResponse); |
abstract void |
getTableDescriptors(com.google.protobuf.RpcController controller,
MasterProtos.GetTableDescriptorsRequest request,
com.google.protobuf.RpcCallback<MasterProtos.GetTableDescriptorsResponse> done)
rpc GetTableDescriptors(.GetTableDescriptorsRequest) returns (.GetTableDescriptorsResponse); |
abstract void |
getTableNames(com.google.protobuf.RpcController controller,
MasterProtos.GetTableNamesRequest request,
com.google.protobuf.RpcCallback<MasterProtos.GetTableNamesResponse> done)
rpc GetTableNames(.GetTableNamesRequest) returns (.GetTableNamesResponse); |
abstract void |
isBalancerEnabled(com.google.protobuf.RpcController controller,
MasterProtos.IsBalancerEnabledRequest request,
com.google.protobuf.RpcCallback<MasterProtos.IsBalancerEnabledResponse> done)
rpc IsBalancerEnabled(.IsBalancerEnabledRequest) returns (.IsBalancerEnabledResponse); |
abstract void |
isCatalogJanitorEnabled(com.google.protobuf.RpcController controller,
MasterProtos.IsCatalogJanitorEnabledRequest request,
com.google.protobuf.RpcCallback<MasterProtos.IsCatalogJanitorEnabledResponse> done)
rpc IsCatalogJanitorEnabled(.IsCatalogJanitorEnabledRequest) returns (.IsCatalogJanitorEnabledResponse); |
abstract void |
isMasterRunning(com.google.protobuf.RpcController controller,
MasterProtos.IsMasterRunningRequest request,
com.google.protobuf.RpcCallback<MasterProtos.IsMasterRunningResponse> done)
rpc IsMasterRunning(.IsMasterRunningRequest) returns (.IsMasterRunningResponse); |
abstract void |
isProcedureDone(com.google.protobuf.RpcController controller,
MasterProtos.IsProcedureDoneRequest request,
com.google.protobuf.RpcCallback<MasterProtos.IsProcedureDoneResponse> done)
rpc IsProcedureDone(.IsProcedureDoneRequest) returns (.IsProcedureDoneResponse); |
abstract void |
isRestoreSnapshotDone(com.google.protobuf.RpcController controller,
MasterProtos.IsRestoreSnapshotDoneRequest request,
com.google.protobuf.RpcCallback<MasterProtos.IsRestoreSnapshotDoneResponse> done)
rpc IsRestoreSnapshotDone(.IsRestoreSnapshotDoneRequest) returns (.IsRestoreSnapshotDoneResponse); |
abstract void |
isSnapshotDone(com.google.protobuf.RpcController controller,
MasterProtos.IsSnapshotDoneRequest request,
com.google.protobuf.RpcCallback<MasterProtos.IsSnapshotDoneResponse> done)
rpc IsSnapshotDone(.IsSnapshotDoneRequest) returns (.IsSnapshotDoneResponse); |
abstract void |
listNamespaceDescriptors(com.google.protobuf.RpcController controller,
MasterProtos.ListNamespaceDescriptorsRequest request,
com.google.protobuf.RpcCallback<MasterProtos.ListNamespaceDescriptorsResponse> done)
rpc ListNamespaceDescriptors(.ListNamespaceDescriptorsRequest) returns (.ListNamespaceDescriptorsResponse); |
abstract void |
listProcedures(com.google.protobuf.RpcController controller,
MasterProtos.ListProceduresRequest request,
com.google.protobuf.RpcCallback<MasterProtos.ListProceduresResponse> done)
rpc ListProcedures(.ListProceduresRequest) returns (.ListProceduresResponse); |
abstract void |
listTableDescriptorsByNamespace(com.google.protobuf.RpcController controller,
MasterProtos.ListTableDescriptorsByNamespaceRequest request,
com.google.protobuf.RpcCallback<MasterProtos.ListTableDescriptorsByNamespaceResponse> done)
rpc ListTableDescriptorsByNamespace(.ListTableDescriptorsByNamespaceRequest) returns (.ListTableDescriptorsByNamespaceResponse); |
abstract void |
listTableNamesByNamespace(com.google.protobuf.RpcController controller,
MasterProtos.ListTableNamesByNamespaceRequest request,
com.google.protobuf.RpcCallback<MasterProtos.ListTableNamesByNamespaceResponse> done)
rpc ListTableNamesByNamespace(.ListTableNamesByNamespaceRequest) returns (.ListTableNamesByNamespaceResponse); |
abstract void |
modifyColumn(com.google.protobuf.RpcController controller,
MasterProtos.ModifyColumnRequest request,
com.google.protobuf.RpcCallback<MasterProtos.ModifyColumnResponse> done)
rpc ModifyColumn(.ModifyColumnRequest) returns (.ModifyColumnResponse); |
abstract void |
modifyNamespace(com.google.protobuf.RpcController controller,
MasterProtos.ModifyNamespaceRequest request,
com.google.protobuf.RpcCallback<MasterProtos.ModifyNamespaceResponse> done)
rpc ModifyNamespace(.ModifyNamespaceRequest) returns (.ModifyNamespaceResponse); |
abstract void |
modifyTable(com.google.protobuf.RpcController controller,
MasterProtos.ModifyTableRequest request,
com.google.protobuf.RpcCallback<MasterProtos.ModifyTableResponse> done)
rpc ModifyTable(.ModifyTableRequest) returns (.ModifyTableResponse); |
abstract void |
moveRegion(com.google.protobuf.RpcController controller,
MasterProtos.MoveRegionRequest request,
com.google.protobuf.RpcCallback<MasterProtos.MoveRegionResponse> done)
rpc MoveRegion(.MoveRegionRequest) returns (.MoveRegionResponse); |
static MasterProtos.MasterService.BlockingInterface |
newBlockingStub(com.google.protobuf.BlockingRpcChannel channel) |
static com.google.protobuf.BlockingService |
newReflectiveBlockingService(MasterProtos.MasterService.BlockingInterface impl) |
static com.google.protobuf.Service |
newReflectiveService(MasterProtos.MasterService.Interface impl) |
static MasterProtos.MasterService.Stub |
newStub(com.google.protobuf.RpcChannel channel) |
abstract void |
offlineRegion(com.google.protobuf.RpcController controller,
MasterProtos.OfflineRegionRequest request,
com.google.protobuf.RpcCallback<MasterProtos.OfflineRegionResponse> done)
rpc OfflineRegion(.OfflineRegionRequest) returns (.OfflineRegionResponse); |
abstract void |
restoreSnapshot(com.google.protobuf.RpcController controller,
MasterProtos.RestoreSnapshotRequest request,
com.google.protobuf.RpcCallback<MasterProtos.RestoreSnapshotResponse> done)
rpc RestoreSnapshot(.RestoreSnapshotRequest) returns (.RestoreSnapshotResponse); |
abstract void |
runCatalogScan(com.google.protobuf.RpcController controller,
MasterProtos.RunCatalogScanRequest request,
com.google.protobuf.RpcCallback<MasterProtos.RunCatalogScanResponse> done)
rpc RunCatalogScan(.RunCatalogScanRequest) returns (.RunCatalogScanResponse); |
abstract void |
setBalancerRunning(com.google.protobuf.RpcController controller,
MasterProtos.SetBalancerRunningRequest request,
com.google.protobuf.RpcCallback<MasterProtos.SetBalancerRunningResponse> done)
rpc SetBalancerRunning(.SetBalancerRunningRequest) returns (.SetBalancerRunningResponse); |
abstract void |
setQuota(com.google.protobuf.RpcController controller,
MasterProtos.SetQuotaRequest request,
com.google.protobuf.RpcCallback<MasterProtos.SetQuotaResponse> done)
rpc SetQuota(.SetQuotaRequest) returns (.SetQuotaResponse); |
abstract void |
shutdown(com.google.protobuf.RpcController controller,
MasterProtos.ShutdownRequest request,
com.google.protobuf.RpcCallback<MasterProtos.ShutdownResponse> done)
rpc Shutdown(.ShutdownRequest) returns (.ShutdownResponse); |
abstract void |
snapshot(com.google.protobuf.RpcController controller,
MasterProtos.SnapshotRequest request,
com.google.protobuf.RpcCallback<MasterProtos.SnapshotResponse> done)
rpc Snapshot(.SnapshotRequest) returns (.SnapshotResponse); |
abstract void |
stopMaster(com.google.protobuf.RpcController controller,
MasterProtos.StopMasterRequest request,
com.google.protobuf.RpcCallback<MasterProtos.StopMasterResponse> done)
rpc StopMaster(.StopMasterRequest) returns (.StopMasterResponse); |
abstract void |
truncateTable(com.google.protobuf.RpcController controller,
MasterProtos.TruncateTableRequest request,
com.google.protobuf.RpcCallback<MasterProtos.TruncateTableResponse> done)
rpc truncateTable(.TruncateTableRequest) returns (.TruncateTableResponse); |
abstract void |
unassignRegion(com.google.protobuf.RpcController controller,
MasterProtos.UnassignRegionRequest request,
com.google.protobuf.RpcCallback<MasterProtos.UnassignRegionResponse> done)
rpc UnassignRegion(.UnassignRegionRequest) returns (.UnassignRegionResponse); |
public static com.google.protobuf.Service newReflectiveService(MasterProtos.MasterService.Interface impl)
public static com.google.protobuf.BlockingService newReflectiveBlockingService(MasterProtos.MasterService.BlockingInterface impl)
public abstract void getSchemaAlterStatus(com.google.protobuf.RpcController controller, MasterProtos.GetSchemaAlterStatusRequest request, com.google.protobuf.RpcCallback<MasterProtos.GetSchemaAlterStatusResponse> done)
rpc GetSchemaAlterStatus(.GetSchemaAlterStatusRequest) returns (.GetSchemaAlterStatusResponse);
Used by the client to get the number of regions that have received the updated schema
public abstract void getTableDescriptors(com.google.protobuf.RpcController controller, MasterProtos.GetTableDescriptorsRequest request, com.google.protobuf.RpcCallback<MasterProtos.GetTableDescriptorsResponse> done)
rpc GetTableDescriptors(.GetTableDescriptorsRequest) returns (.GetTableDescriptorsResponse);
Get list of TableDescriptors for requested tables.
public abstract void getTableNames(com.google.protobuf.RpcController controller, MasterProtos.GetTableNamesRequest request, com.google.protobuf.RpcCallback<MasterProtos.GetTableNamesResponse> done)
rpc GetTableNames(.GetTableNamesRequest) returns (.GetTableNamesResponse);
Get the list of table names.
public abstract void getClusterStatus(com.google.protobuf.RpcController controller, MasterProtos.GetClusterStatusRequest request, com.google.protobuf.RpcCallback<MasterProtos.GetClusterStatusResponse> done)
rpc GetClusterStatus(.GetClusterStatusRequest) returns (.GetClusterStatusResponse);
Return cluster status.
public abstract void isMasterRunning(com.google.protobuf.RpcController controller, MasterProtos.IsMasterRunningRequest request, com.google.protobuf.RpcCallback<MasterProtos.IsMasterRunningResponse> done)
rpc IsMasterRunning(.IsMasterRunningRequest) returns (.IsMasterRunningResponse);
return true if master is available
public abstract void addColumn(com.google.protobuf.RpcController controller, MasterProtos.AddColumnRequest request, com.google.protobuf.RpcCallback<MasterProtos.AddColumnResponse> done)
rpc AddColumn(.AddColumnRequest) returns (.AddColumnResponse);
Adds a column to the specified table.
public abstract void deleteColumn(com.google.protobuf.RpcController controller, MasterProtos.DeleteColumnRequest request, com.google.protobuf.RpcCallback<MasterProtos.DeleteColumnResponse> done)
rpc DeleteColumn(.DeleteColumnRequest) returns (.DeleteColumnResponse);
Deletes a column from the specified table. Table must be disabled.
public abstract void modifyColumn(com.google.protobuf.RpcController controller, MasterProtos.ModifyColumnRequest request, com.google.protobuf.RpcCallback<MasterProtos.ModifyColumnResponse> done)
rpc ModifyColumn(.ModifyColumnRequest) returns (.ModifyColumnResponse);
Modifies an existing column on the specified table.
public abstract void moveRegion(com.google.protobuf.RpcController controller, MasterProtos.MoveRegionRequest request, com.google.protobuf.RpcCallback<MasterProtos.MoveRegionResponse> done)
rpc MoveRegion(.MoveRegionRequest) returns (.MoveRegionResponse);
Move the region region to the destination server.
public abstract void dispatchMergingRegions(com.google.protobuf.RpcController controller, MasterProtos.DispatchMergingRegionsRequest request, com.google.protobuf.RpcCallback<MasterProtos.DispatchMergingRegionsResponse> done)
rpc DispatchMergingRegions(.DispatchMergingRegionsRequest) returns (.DispatchMergingRegionsResponse);
Master dispatch merging the regions
public abstract void assignRegion(com.google.protobuf.RpcController controller, MasterProtos.AssignRegionRequest request, com.google.protobuf.RpcCallback<MasterProtos.AssignRegionResponse> done)
rpc AssignRegion(.AssignRegionRequest) returns (.AssignRegionResponse);
Assign a region to a server chosen at random.
public abstract void unassignRegion(com.google.protobuf.RpcController controller, MasterProtos.UnassignRegionRequest request, com.google.protobuf.RpcCallback<MasterProtos.UnassignRegionResponse> done)
rpc UnassignRegion(.UnassignRegionRequest) returns (.UnassignRegionResponse);
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.
public abstract void offlineRegion(com.google.protobuf.RpcController controller, MasterProtos.OfflineRegionRequest request, com.google.protobuf.RpcCallback<MasterProtos.OfflineRegionResponse> done)
rpc OfflineRegion(.OfflineRegionRequest) returns (.OfflineRegionResponse);
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.
public abstract void deleteTable(com.google.protobuf.RpcController controller, MasterProtos.DeleteTableRequest request, com.google.protobuf.RpcCallback<MasterProtos.DeleteTableResponse> done)
rpc DeleteTable(.DeleteTableRequest) returns (.DeleteTableResponse);
Deletes a table
public abstract void truncateTable(com.google.protobuf.RpcController controller, MasterProtos.TruncateTableRequest request, com.google.protobuf.RpcCallback<MasterProtos.TruncateTableResponse> done)
rpc truncateTable(.TruncateTableRequest) returns (.TruncateTableResponse);
Truncate a table
public abstract void enableTable(com.google.protobuf.RpcController controller, MasterProtos.EnableTableRequest request, com.google.protobuf.RpcCallback<MasterProtos.EnableTableResponse> done)
rpc EnableTable(.EnableTableRequest) returns (.EnableTableResponse);
Puts the table on-line (only needed if table has been previously taken offline)
public abstract void disableTable(com.google.protobuf.RpcController controller, MasterProtos.DisableTableRequest request, com.google.protobuf.RpcCallback<MasterProtos.DisableTableResponse> done)
rpc DisableTable(.DisableTableRequest) returns (.DisableTableResponse);
Take table offline
public abstract void modifyTable(com.google.protobuf.RpcController controller, MasterProtos.ModifyTableRequest request, com.google.protobuf.RpcCallback<MasterProtos.ModifyTableResponse> done)
rpc ModifyTable(.ModifyTableRequest) returns (.ModifyTableResponse);
Modify a table's metadata
public abstract void createTable(com.google.protobuf.RpcController controller, MasterProtos.CreateTableRequest request, com.google.protobuf.RpcCallback<MasterProtos.CreateTableResponse> done)
rpc CreateTable(.CreateTableRequest) returns (.CreateTableResponse);
Creates a new table asynchronously
public abstract void shutdown(com.google.protobuf.RpcController controller, MasterProtos.ShutdownRequest request, com.google.protobuf.RpcCallback<MasterProtos.ShutdownResponse> done)
rpc Shutdown(.ShutdownRequest) returns (.ShutdownResponse);
Shutdown an HBase cluster.
public abstract void stopMaster(com.google.protobuf.RpcController controller, MasterProtos.StopMasterRequest request, com.google.protobuf.RpcCallback<MasterProtos.StopMasterResponse> done)
rpc StopMaster(.StopMasterRequest) returns (.StopMasterResponse);
Stop HBase Master only. Does not shutdown the cluster.
public abstract void balance(com.google.protobuf.RpcController controller, MasterProtos.BalanceRequest request, com.google.protobuf.RpcCallback<MasterProtos.BalanceResponse> done)
rpc Balance(.BalanceRequest) returns (.BalanceResponse);
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.
public abstract void setBalancerRunning(com.google.protobuf.RpcController controller, MasterProtos.SetBalancerRunningRequest request, com.google.protobuf.RpcCallback<MasterProtos.SetBalancerRunningResponse> done)
rpc SetBalancerRunning(.SetBalancerRunningRequest) returns (.SetBalancerRunningResponse);
Turn the load balancer on or off. If synchronous is true, it waits until current balance() call, if outstanding, to return.
public abstract void isBalancerEnabled(com.google.protobuf.RpcController controller, MasterProtos.IsBalancerEnabledRequest request, com.google.protobuf.RpcCallback<MasterProtos.IsBalancerEnabledResponse> done)
rpc IsBalancerEnabled(.IsBalancerEnabledRequest) returns (.IsBalancerEnabledResponse);
Query whether the Region Balancer is running.
public abstract void runCatalogScan(com.google.protobuf.RpcController controller, MasterProtos.RunCatalogScanRequest request, com.google.protobuf.RpcCallback<MasterProtos.RunCatalogScanResponse> done)
rpc RunCatalogScan(.RunCatalogScanRequest) returns (.RunCatalogScanResponse);
Get a run of the catalog janitor
public abstract void enableCatalogJanitor(com.google.protobuf.RpcController controller, MasterProtos.EnableCatalogJanitorRequest request, com.google.protobuf.RpcCallback<MasterProtos.EnableCatalogJanitorResponse> done)
rpc EnableCatalogJanitor(.EnableCatalogJanitorRequest) returns (.EnableCatalogJanitorResponse);
Enable the catalog janitor on or off.
public abstract void isCatalogJanitorEnabled(com.google.protobuf.RpcController controller, MasterProtos.IsCatalogJanitorEnabledRequest request, com.google.protobuf.RpcCallback<MasterProtos.IsCatalogJanitorEnabledResponse> done)
rpc IsCatalogJanitorEnabled(.IsCatalogJanitorEnabledRequest) returns (.IsCatalogJanitorEnabledResponse);
Query whether the catalog janitor is enabled.
public abstract void execMasterService(com.google.protobuf.RpcController controller, ClientProtos.CoprocessorServiceRequest request, com.google.protobuf.RpcCallback<ClientProtos.CoprocessorServiceResponse> done)
rpc ExecMasterService(.CoprocessorServiceRequest) returns (.CoprocessorServiceResponse);
Call a master coprocessor endpoint
public abstract void snapshot(com.google.protobuf.RpcController controller, MasterProtos.SnapshotRequest request, com.google.protobuf.RpcCallback<MasterProtos.SnapshotResponse> done)
rpc Snapshot(.SnapshotRequest) returns (.SnapshotResponse);
Create a snapshot for the given table.
public abstract void getCompletedSnapshots(com.google.protobuf.RpcController controller, MasterProtos.GetCompletedSnapshotsRequest request, com.google.protobuf.RpcCallback<MasterProtos.GetCompletedSnapshotsResponse> done)
rpc GetCompletedSnapshots(.GetCompletedSnapshotsRequest) returns (.GetCompletedSnapshotsResponse);
Get completed snapshots. Returns a list of snapshot descriptors for completed snapshots
public abstract void deleteSnapshot(com.google.protobuf.RpcController controller, MasterProtos.DeleteSnapshotRequest request, com.google.protobuf.RpcCallback<MasterProtos.DeleteSnapshotResponse> done)
rpc DeleteSnapshot(.DeleteSnapshotRequest) returns (.DeleteSnapshotResponse);
Delete an existing snapshot. This method can also be used to clean up an aborted snapshot.
public abstract void isSnapshotDone(com.google.protobuf.RpcController controller, MasterProtos.IsSnapshotDoneRequest request, com.google.protobuf.RpcCallback<MasterProtos.IsSnapshotDoneResponse> done)
rpc IsSnapshotDone(.IsSnapshotDoneRequest) returns (.IsSnapshotDoneResponse);
Determine if the snapshot is done yet.
public abstract void restoreSnapshot(com.google.protobuf.RpcController controller, MasterProtos.RestoreSnapshotRequest request, com.google.protobuf.RpcCallback<MasterProtos.RestoreSnapshotResponse> done)
rpc RestoreSnapshot(.RestoreSnapshotRequest) returns (.RestoreSnapshotResponse);
Restore a snapshot
public abstract void isRestoreSnapshotDone(com.google.protobuf.RpcController controller, MasterProtos.IsRestoreSnapshotDoneRequest request, com.google.protobuf.RpcCallback<MasterProtos.IsRestoreSnapshotDoneResponse> done)
rpc IsRestoreSnapshotDone(.IsRestoreSnapshotDoneRequest) returns (.IsRestoreSnapshotDoneResponse);
Determine if the snapshot restore is done yet.
public abstract void execProcedure(com.google.protobuf.RpcController controller, MasterProtos.ExecProcedureRequest request, com.google.protobuf.RpcCallback<MasterProtos.ExecProcedureResponse> done)
rpc ExecProcedure(.ExecProcedureRequest) returns (.ExecProcedureResponse);
Execute a distributed procedure.
public abstract void execProcedureWithRet(com.google.protobuf.RpcController controller, MasterProtos.ExecProcedureRequest request, com.google.protobuf.RpcCallback<MasterProtos.ExecProcedureResponse> done)
rpc ExecProcedureWithRet(.ExecProcedureRequest) returns (.ExecProcedureResponse);
Execute a distributed procedure with return data.
public abstract void isProcedureDone(com.google.protobuf.RpcController controller, MasterProtos.IsProcedureDoneRequest request, com.google.protobuf.RpcCallback<MasterProtos.IsProcedureDoneResponse> done)
rpc IsProcedureDone(.IsProcedureDoneRequest) returns (.IsProcedureDoneResponse);
Determine if the procedure is done yet.
public abstract void modifyNamespace(com.google.protobuf.RpcController controller, MasterProtos.ModifyNamespaceRequest request, com.google.protobuf.RpcCallback<MasterProtos.ModifyNamespaceResponse> done)
rpc ModifyNamespace(.ModifyNamespaceRequest) returns (.ModifyNamespaceResponse);
Modify a namespace's metadata
public abstract void createNamespace(com.google.protobuf.RpcController controller, MasterProtos.CreateNamespaceRequest request, com.google.protobuf.RpcCallback<MasterProtos.CreateNamespaceResponse> done)
rpc CreateNamespace(.CreateNamespaceRequest) returns (.CreateNamespaceResponse);
Creates a new namespace synchronously
public abstract void deleteNamespace(com.google.protobuf.RpcController controller, MasterProtos.DeleteNamespaceRequest request, com.google.protobuf.RpcCallback<MasterProtos.DeleteNamespaceResponse> done)
rpc DeleteNamespace(.DeleteNamespaceRequest) returns (.DeleteNamespaceResponse);
Deletes namespace synchronously
public abstract void getNamespaceDescriptor(com.google.protobuf.RpcController controller, MasterProtos.GetNamespaceDescriptorRequest request, com.google.protobuf.RpcCallback<MasterProtos.GetNamespaceDescriptorResponse> done)
rpc GetNamespaceDescriptor(.GetNamespaceDescriptorRequest) returns (.GetNamespaceDescriptorResponse);
Get a namespace descriptor by name
public abstract void listNamespaceDescriptors(com.google.protobuf.RpcController controller, MasterProtos.ListNamespaceDescriptorsRequest request, com.google.protobuf.RpcCallback<MasterProtos.ListNamespaceDescriptorsResponse> done)
rpc ListNamespaceDescriptors(.ListNamespaceDescriptorsRequest) returns (.ListNamespaceDescriptorsResponse);
returns a list of namespaces
public abstract void listTableDescriptorsByNamespace(com.google.protobuf.RpcController controller, MasterProtos.ListTableDescriptorsByNamespaceRequest request, com.google.protobuf.RpcCallback<MasterProtos.ListTableDescriptorsByNamespaceResponse> done)
rpc ListTableDescriptorsByNamespace(.ListTableDescriptorsByNamespaceRequest) returns (.ListTableDescriptorsByNamespaceResponse);
returns a list of tables for a given namespace
public abstract void listTableNamesByNamespace(com.google.protobuf.RpcController controller, MasterProtos.ListTableNamesByNamespaceRequest request, com.google.protobuf.RpcCallback<MasterProtos.ListTableNamesByNamespaceResponse> done)
rpc ListTableNamesByNamespace(.ListTableNamesByNamespaceRequest) returns (.ListTableNamesByNamespaceResponse);
returns a list of tables for a given namespace
public abstract void setQuota(com.google.protobuf.RpcController controller, MasterProtos.SetQuotaRequest request, com.google.protobuf.RpcCallback<MasterProtos.SetQuotaResponse> done)
rpc SetQuota(.SetQuotaRequest) returns (.SetQuotaResponse);
Apply the new quota settings
public abstract void getLastMajorCompactionTimestamp(com.google.protobuf.RpcController controller, MasterProtos.MajorCompactionTimestampRequest request, com.google.protobuf.RpcCallback<MasterProtos.MajorCompactionTimestampResponse> done)
rpc getLastMajorCompactionTimestamp(.MajorCompactionTimestampRequest) returns (.MajorCompactionTimestampResponse);
Returns the timestamp of the last major compaction
public abstract void getLastMajorCompactionTimestampForRegion(com.google.protobuf.RpcController controller, MasterProtos.MajorCompactionTimestampForRegionRequest request, com.google.protobuf.RpcCallback<MasterProtos.MajorCompactionTimestampResponse> done)
rpc getLastMajorCompactionTimestampForRegion(.MajorCompactionTimestampForRegionRequest) returns (.MajorCompactionTimestampResponse);
Returns the timestamp of the last major compaction
public abstract void getProcedureResult(com.google.protobuf.RpcController controller, MasterProtos.GetProcedureResultRequest request, com.google.protobuf.RpcCallback<MasterProtos.GetProcedureResultResponse> done)
rpc getProcedureResult(.GetProcedureResultRequest) returns (.GetProcedureResultResponse);
public abstract void abortProcedure(com.google.protobuf.RpcController controller, MasterProtos.AbortProcedureRequest request, com.google.protobuf.RpcCallback<MasterProtos.AbortProcedureResponse> done)
rpc AbortProcedure(.AbortProcedureRequest) returns (.AbortProcedureResponse);
Abort a procedure
public abstract void listProcedures(com.google.protobuf.RpcController controller, MasterProtos.ListProceduresRequest request, com.google.protobuf.RpcCallback<MasterProtos.ListProceduresResponse> done)
rpc ListProcedures(.ListProceduresRequest) returns (.ListProceduresResponse);
returns a list of procedures
public static final com.google.protobuf.Descriptors.ServiceDescriptor getDescriptor()
public final com.google.protobuf.Descriptors.ServiceDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Service
public final void callMethod(com.google.protobuf.Descriptors.MethodDescriptor method, com.google.protobuf.RpcController controller, com.google.protobuf.Message request, com.google.protobuf.RpcCallback<com.google.protobuf.Message> done)
callMethod
in interface com.google.protobuf.Service
public final com.google.protobuf.Message getRequestPrototype(com.google.protobuf.Descriptors.MethodDescriptor method)
getRequestPrototype
in interface com.google.protobuf.Service
public final com.google.protobuf.Message getResponsePrototype(com.google.protobuf.Descriptors.MethodDescriptor method)
getResponsePrototype
in interface com.google.protobuf.Service
public static MasterProtos.MasterService.Stub newStub(com.google.protobuf.RpcChannel channel)
public static MasterProtos.MasterService.BlockingInterface newBlockingStub(com.google.protobuf.BlockingRpcChannel channel)
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.