public static interface MasterProtos.MasterService.Interface
Modifier and Type | Method and Description |
---|---|
void |
abortProcedure(com.google.protobuf.RpcController controller,
MasterProtos.AbortProcedureRequest request,
com.google.protobuf.RpcCallback<MasterProtos.AbortProcedureResponse> done)
rpc AbortProcedure(.AbortProcedureRequest) returns (.AbortProcedureResponse); |
void |
addColumn(com.google.protobuf.RpcController controller,
MasterProtos.AddColumnRequest request,
com.google.protobuf.RpcCallback<MasterProtos.AddColumnResponse> done)
rpc AddColumn(.AddColumnRequest) returns (.AddColumnResponse); |
void |
assignRegion(com.google.protobuf.RpcController controller,
MasterProtos.AssignRegionRequest request,
com.google.protobuf.RpcCallback<MasterProtos.AssignRegionResponse> done)
rpc AssignRegion(.AssignRegionRequest) returns (.AssignRegionResponse); |
void |
balance(com.google.protobuf.RpcController controller,
MasterProtos.BalanceRequest request,
com.google.protobuf.RpcCallback<MasterProtos.BalanceResponse> done)
rpc Balance(.BalanceRequest) returns (.BalanceResponse); |
void |
createNamespace(com.google.protobuf.RpcController controller,
MasterProtos.CreateNamespaceRequest request,
com.google.protobuf.RpcCallback<MasterProtos.CreateNamespaceResponse> done)
rpc CreateNamespace(.CreateNamespaceRequest) returns (.CreateNamespaceResponse); |
void |
createTable(com.google.protobuf.RpcController controller,
MasterProtos.CreateTableRequest request,
com.google.protobuf.RpcCallback<MasterProtos.CreateTableResponse> done)
rpc CreateTable(.CreateTableRequest) returns (.CreateTableResponse); |
void |
deleteColumn(com.google.protobuf.RpcController controller,
MasterProtos.DeleteColumnRequest request,
com.google.protobuf.RpcCallback<MasterProtos.DeleteColumnResponse> done)
rpc DeleteColumn(.DeleteColumnRequest) returns (.DeleteColumnResponse); |
void |
deleteNamespace(com.google.protobuf.RpcController controller,
MasterProtos.DeleteNamespaceRequest request,
com.google.protobuf.RpcCallback<MasterProtos.DeleteNamespaceResponse> done)
rpc DeleteNamespace(.DeleteNamespaceRequest) returns (.DeleteNamespaceResponse); |
void |
deleteSnapshot(com.google.protobuf.RpcController controller,
MasterProtos.DeleteSnapshotRequest request,
com.google.protobuf.RpcCallback<MasterProtos.DeleteSnapshotResponse> done)
rpc DeleteSnapshot(.DeleteSnapshotRequest) returns (.DeleteSnapshotResponse); |
void |
deleteTable(com.google.protobuf.RpcController controller,
MasterProtos.DeleteTableRequest request,
com.google.protobuf.RpcCallback<MasterProtos.DeleteTableResponse> done)
rpc DeleteTable(.DeleteTableRequest) returns (.DeleteTableResponse); |
void |
disableTable(com.google.protobuf.RpcController controller,
MasterProtos.DisableTableRequest request,
com.google.protobuf.RpcCallback<MasterProtos.DisableTableResponse> done)
rpc DisableTable(.DisableTableRequest) returns (.DisableTableResponse); |
void |
dispatchMergingRegions(com.google.protobuf.RpcController controller,
MasterProtos.DispatchMergingRegionsRequest request,
com.google.protobuf.RpcCallback<MasterProtos.DispatchMergingRegionsResponse> done)
rpc DispatchMergingRegions(.DispatchMergingRegionsRequest) returns (.DispatchMergingRegionsResponse); |
void |
enableCatalogJanitor(com.google.protobuf.RpcController controller,
MasterProtos.EnableCatalogJanitorRequest request,
com.google.protobuf.RpcCallback<MasterProtos.EnableCatalogJanitorResponse> done)
rpc EnableCatalogJanitor(.EnableCatalogJanitorRequest) returns (.EnableCatalogJanitorResponse); |
void |
enableTable(com.google.protobuf.RpcController controller,
MasterProtos.EnableTableRequest request,
com.google.protobuf.RpcCallback<MasterProtos.EnableTableResponse> done)
rpc EnableTable(.EnableTableRequest) returns (.EnableTableResponse); |
void |
execMasterService(com.google.protobuf.RpcController controller,
ClientProtos.CoprocessorServiceRequest request,
com.google.protobuf.RpcCallback<ClientProtos.CoprocessorServiceResponse> done)
rpc ExecMasterService(.CoprocessorServiceRequest) returns (.CoprocessorServiceResponse); |
void |
execProcedure(com.google.protobuf.RpcController controller,
MasterProtos.ExecProcedureRequest request,
com.google.protobuf.RpcCallback<MasterProtos.ExecProcedureResponse> done)
rpc ExecProcedure(.ExecProcedureRequest) returns (.ExecProcedureResponse); |
void |
execProcedureWithRet(com.google.protobuf.RpcController controller,
MasterProtos.ExecProcedureRequest request,
com.google.protobuf.RpcCallback<MasterProtos.ExecProcedureResponse> done)
rpc ExecProcedureWithRet(.ExecProcedureRequest) returns (.ExecProcedureResponse); |
void |
getClusterStatus(com.google.protobuf.RpcController controller,
MasterProtos.GetClusterStatusRequest request,
com.google.protobuf.RpcCallback<MasterProtos.GetClusterStatusResponse> done)
rpc GetClusterStatus(.GetClusterStatusRequest) returns (.GetClusterStatusResponse); |
void |
getCompletedSnapshots(com.google.protobuf.RpcController controller,
MasterProtos.GetCompletedSnapshotsRequest request,
com.google.protobuf.RpcCallback<MasterProtos.GetCompletedSnapshotsResponse> done)
rpc GetCompletedSnapshots(.GetCompletedSnapshotsRequest) returns (.GetCompletedSnapshotsResponse); |
void |
getLastMajorCompactionTimestamp(com.google.protobuf.RpcController controller,
MasterProtos.MajorCompactionTimestampRequest request,
com.google.protobuf.RpcCallback<MasterProtos.MajorCompactionTimestampResponse> done)
rpc getLastMajorCompactionTimestamp(.MajorCompactionTimestampRequest) returns (.MajorCompactionTimestampResponse); |
void |
getLastMajorCompactionTimestampForRegion(com.google.protobuf.RpcController controller,
MasterProtos.MajorCompactionTimestampForRegionRequest request,
com.google.protobuf.RpcCallback<MasterProtos.MajorCompactionTimestampResponse> done)
rpc getLastMajorCompactionTimestampForRegion(.MajorCompactionTimestampForRegionRequest) returns (.MajorCompactionTimestampResponse); |
void |
getNamespaceDescriptor(com.google.protobuf.RpcController controller,
MasterProtos.GetNamespaceDescriptorRequest request,
com.google.protobuf.RpcCallback<MasterProtos.GetNamespaceDescriptorResponse> done)
rpc GetNamespaceDescriptor(.GetNamespaceDescriptorRequest) returns (.GetNamespaceDescriptorResponse); |
void |
getProcedureResult(com.google.protobuf.RpcController controller,
MasterProtos.GetProcedureResultRequest request,
com.google.protobuf.RpcCallback<MasterProtos.GetProcedureResultResponse> done)
rpc getProcedureResult(.GetProcedureResultRequest) returns (.GetProcedureResultResponse); |
void |
getSchemaAlterStatus(com.google.protobuf.RpcController controller,
MasterProtos.GetSchemaAlterStatusRequest request,
com.google.protobuf.RpcCallback<MasterProtos.GetSchemaAlterStatusResponse> done)
rpc GetSchemaAlterStatus(.GetSchemaAlterStatusRequest) returns (.GetSchemaAlterStatusResponse); |
void |
getTableDescriptors(com.google.protobuf.RpcController controller,
MasterProtos.GetTableDescriptorsRequest request,
com.google.protobuf.RpcCallback<MasterProtos.GetTableDescriptorsResponse> done)
rpc GetTableDescriptors(.GetTableDescriptorsRequest) returns (.GetTableDescriptorsResponse); |
void |
getTableNames(com.google.protobuf.RpcController controller,
MasterProtos.GetTableNamesRequest request,
com.google.protobuf.RpcCallback<MasterProtos.GetTableNamesResponse> done)
rpc GetTableNames(.GetTableNamesRequest) returns (.GetTableNamesResponse); |
void |
isBalancerEnabled(com.google.protobuf.RpcController controller,
MasterProtos.IsBalancerEnabledRequest request,
com.google.protobuf.RpcCallback<MasterProtos.IsBalancerEnabledResponse> done)
rpc IsBalancerEnabled(.IsBalancerEnabledRequest) returns (.IsBalancerEnabledResponse); |
void |
isCatalogJanitorEnabled(com.google.protobuf.RpcController controller,
MasterProtos.IsCatalogJanitorEnabledRequest request,
com.google.protobuf.RpcCallback<MasterProtos.IsCatalogJanitorEnabledResponse> done)
rpc IsCatalogJanitorEnabled(.IsCatalogJanitorEnabledRequest) returns (.IsCatalogJanitorEnabledResponse); |
void |
isMasterRunning(com.google.protobuf.RpcController controller,
MasterProtos.IsMasterRunningRequest request,
com.google.protobuf.RpcCallback<MasterProtos.IsMasterRunningResponse> done)
rpc IsMasterRunning(.IsMasterRunningRequest) returns (.IsMasterRunningResponse); |
void |
isProcedureDone(com.google.protobuf.RpcController controller,
MasterProtos.IsProcedureDoneRequest request,
com.google.protobuf.RpcCallback<MasterProtos.IsProcedureDoneResponse> done)
rpc IsProcedureDone(.IsProcedureDoneRequest) returns (.IsProcedureDoneResponse); |
void |
isRestoreSnapshotDone(com.google.protobuf.RpcController controller,
MasterProtos.IsRestoreSnapshotDoneRequest request,
com.google.protobuf.RpcCallback<MasterProtos.IsRestoreSnapshotDoneResponse> done)
rpc IsRestoreSnapshotDone(.IsRestoreSnapshotDoneRequest) returns (.IsRestoreSnapshotDoneResponse); |
void |
isSnapshotDone(com.google.protobuf.RpcController controller,
MasterProtos.IsSnapshotDoneRequest request,
com.google.protobuf.RpcCallback<MasterProtos.IsSnapshotDoneResponse> done)
rpc IsSnapshotDone(.IsSnapshotDoneRequest) returns (.IsSnapshotDoneResponse); |
void |
listNamespaceDescriptors(com.google.protobuf.RpcController controller,
MasterProtos.ListNamespaceDescriptorsRequest request,
com.google.protobuf.RpcCallback<MasterProtos.ListNamespaceDescriptorsResponse> done)
rpc ListNamespaceDescriptors(.ListNamespaceDescriptorsRequest) returns (.ListNamespaceDescriptorsResponse); |
void |
listProcedures(com.google.protobuf.RpcController controller,
MasterProtos.ListProceduresRequest request,
com.google.protobuf.RpcCallback<MasterProtos.ListProceduresResponse> done)
rpc ListProcedures(.ListProceduresRequest) returns (.ListProceduresResponse); |
void |
listTableDescriptorsByNamespace(com.google.protobuf.RpcController controller,
MasterProtos.ListTableDescriptorsByNamespaceRequest request,
com.google.protobuf.RpcCallback<MasterProtos.ListTableDescriptorsByNamespaceResponse> done)
rpc ListTableDescriptorsByNamespace(.ListTableDescriptorsByNamespaceRequest) returns (.ListTableDescriptorsByNamespaceResponse); |
void |
listTableNamesByNamespace(com.google.protobuf.RpcController controller,
MasterProtos.ListTableNamesByNamespaceRequest request,
com.google.protobuf.RpcCallback<MasterProtos.ListTableNamesByNamespaceResponse> done)
rpc ListTableNamesByNamespace(.ListTableNamesByNamespaceRequest) returns (.ListTableNamesByNamespaceResponse); |
void |
modifyColumn(com.google.protobuf.RpcController controller,
MasterProtos.ModifyColumnRequest request,
com.google.protobuf.RpcCallback<MasterProtos.ModifyColumnResponse> done)
rpc ModifyColumn(.ModifyColumnRequest) returns (.ModifyColumnResponse); |
void |
modifyNamespace(com.google.protobuf.RpcController controller,
MasterProtos.ModifyNamespaceRequest request,
com.google.protobuf.RpcCallback<MasterProtos.ModifyNamespaceResponse> done)
rpc ModifyNamespace(.ModifyNamespaceRequest) returns (.ModifyNamespaceResponse); |
void |
modifyTable(com.google.protobuf.RpcController controller,
MasterProtos.ModifyTableRequest request,
com.google.protobuf.RpcCallback<MasterProtos.ModifyTableResponse> done)
rpc ModifyTable(.ModifyTableRequest) returns (.ModifyTableResponse); |
void |
moveRegion(com.google.protobuf.RpcController controller,
MasterProtos.MoveRegionRequest request,
com.google.protobuf.RpcCallback<MasterProtos.MoveRegionResponse> done)
rpc MoveRegion(.MoveRegionRequest) returns (.MoveRegionResponse); |
void |
offlineRegion(com.google.protobuf.RpcController controller,
MasterProtos.OfflineRegionRequest request,
com.google.protobuf.RpcCallback<MasterProtos.OfflineRegionResponse> done)
rpc OfflineRegion(.OfflineRegionRequest) returns (.OfflineRegionResponse); |
void |
restoreSnapshot(com.google.protobuf.RpcController controller,
MasterProtos.RestoreSnapshotRequest request,
com.google.protobuf.RpcCallback<MasterProtos.RestoreSnapshotResponse> done)
rpc RestoreSnapshot(.RestoreSnapshotRequest) returns (.RestoreSnapshotResponse); |
void |
runCatalogScan(com.google.protobuf.RpcController controller,
MasterProtos.RunCatalogScanRequest request,
com.google.protobuf.RpcCallback<MasterProtos.RunCatalogScanResponse> done)
rpc RunCatalogScan(.RunCatalogScanRequest) returns (.RunCatalogScanResponse); |
void |
setBalancerRunning(com.google.protobuf.RpcController controller,
MasterProtos.SetBalancerRunningRequest request,
com.google.protobuf.RpcCallback<MasterProtos.SetBalancerRunningResponse> done)
rpc SetBalancerRunning(.SetBalancerRunningRequest) returns (.SetBalancerRunningResponse); |
void |
setQuota(com.google.protobuf.RpcController controller,
MasterProtos.SetQuotaRequest request,
com.google.protobuf.RpcCallback<MasterProtos.SetQuotaResponse> done)
rpc SetQuota(.SetQuotaRequest) returns (.SetQuotaResponse); |
void |
shutdown(com.google.protobuf.RpcController controller,
MasterProtos.ShutdownRequest request,
com.google.protobuf.RpcCallback<MasterProtos.ShutdownResponse> done)
rpc Shutdown(.ShutdownRequest) returns (.ShutdownResponse); |
void |
snapshot(com.google.protobuf.RpcController controller,
MasterProtos.SnapshotRequest request,
com.google.protobuf.RpcCallback<MasterProtos.SnapshotResponse> done)
rpc Snapshot(.SnapshotRequest) returns (.SnapshotResponse); |
void |
stopMaster(com.google.protobuf.RpcController controller,
MasterProtos.StopMasterRequest request,
com.google.protobuf.RpcCallback<MasterProtos.StopMasterResponse> done)
rpc StopMaster(.StopMasterRequest) returns (.StopMasterResponse); |
void |
truncateTable(com.google.protobuf.RpcController controller,
MasterProtos.TruncateTableRequest request,
com.google.protobuf.RpcCallback<MasterProtos.TruncateTableResponse> done)
rpc truncateTable(.TruncateTableRequest) returns (.TruncateTableResponse); |
void |
unassignRegion(com.google.protobuf.RpcController controller,
MasterProtos.UnassignRegionRequest request,
com.google.protobuf.RpcCallback<MasterProtos.UnassignRegionResponse> done)
rpc UnassignRegion(.UnassignRegionRequest) returns (.UnassignRegionResponse); |
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
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.
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.
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.
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
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.
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.
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.
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.
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
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.
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.
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.
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
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
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)
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
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
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
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.
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.
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.
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.
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.
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
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.
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.
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
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.
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
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.
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.
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
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.
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.
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.
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.
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
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
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
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
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
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
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
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
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
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
void getProcedureResult(com.google.protobuf.RpcController controller, MasterProtos.GetProcedureResultRequest request, com.google.protobuf.RpcCallback<MasterProtos.GetProcedureResultResponse> done)
rpc getProcedureResult(.GetProcedureResultRequest) returns (.GetProcedureResultResponse);
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
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
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.