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