@InterfaceAudience.Private public class MasterRpcServices extends RSRpcServices implements org.apache.hadoop.hbase.protobuf.generated.MasterProtos.MasterService.BlockingInterface, org.apache.hadoop.hbase.protobuf.generated.RegionServerStatusProtos.RegionServerStatusService.BlockingInterface
Modifier and Type | Class and Description |
---|---|
(package private) static class |
MasterRpcServices.BalanceSwitchMode |
Modifier and Type | Field and Description |
---|---|
private static org.apache.commons.logging.Log |
LOG |
private HMaster |
master |
REGION_SERVER_RPC_SCHEDULER_FACTORY_CLASS
Constructor and Description |
---|
MasterRpcServices(HMaster m) |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.AbortProcedureResponse |
abortProcedure(com.google.protobuf.RpcController rpcController,
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.AbortProcedureRequest request) |
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.AddColumnResponse |
addColumn(com.google.protobuf.RpcController controller,
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.AddColumnRequest req) |
private org.apache.hadoop.hbase.protobuf.generated.RegionServerStatusProtos.RegionServerStartupResponse.Builder |
addConfig(org.apache.hadoop.hbase.protobuf.generated.RegionServerStatusProtos.RegionServerStartupResponse.Builder resp,
String key) |
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.AssignRegionResponse |
assignRegion(com.google.protobuf.RpcController controller,
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.AssignRegionRequest req) |
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.BalanceResponse |
balance(com.google.protobuf.RpcController controller,
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.BalanceRequest request) |
private org.apache.hadoop.hbase.protobuf.generated.RegionServerStatusProtos.RegionServerStartupResponse.Builder |
createConfigurationSubset() |
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.CreateNamespaceResponse |
createNamespace(com.google.protobuf.RpcController controller,
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.CreateNamespaceRequest request) |
protected PriorityFunction |
createPriority() |
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.CreateTableResponse |
createTable(com.google.protobuf.RpcController controller,
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.CreateTableRequest req) |
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.DeleteColumnResponse |
deleteColumn(com.google.protobuf.RpcController controller,
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.DeleteColumnRequest req) |
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.DeleteNamespaceResponse |
deleteNamespace(com.google.protobuf.RpcController controller,
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.DeleteNamespaceRequest request) |
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.DeleteSnapshotResponse |
deleteSnapshot(com.google.protobuf.RpcController controller,
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.DeleteSnapshotRequest request)
Execute Delete Snapshot operation.
|
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.DeleteTableResponse |
deleteTable(com.google.protobuf.RpcController controller,
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.DeleteTableRequest request) |
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.DisableTableResponse |
disableTable(com.google.protobuf.RpcController controller,
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.DisableTableRequest request) |
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.DispatchMergingRegionsResponse |
dispatchMergingRegions(com.google.protobuf.RpcController c,
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.DispatchMergingRegionsRequest request) |
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.EnableCatalogJanitorResponse |
enableCatalogJanitor(com.google.protobuf.RpcController c,
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.EnableCatalogJanitorRequest req) |
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.EnableTableResponse |
enableTable(com.google.protobuf.RpcController controller,
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.EnableTableRequest request) |
org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResponse |
execMasterService(com.google.protobuf.RpcController controller,
org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceRequest request) |
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.ExecProcedureResponse |
execProcedure(com.google.protobuf.RpcController controller,
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.ExecProcedureRequest request)
Triggers an asynchronous attempt to run a distributed procedure.
|
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.ExecProcedureResponse |
execProcedureWithRet(com.google.protobuf.RpcController controller,
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.ExecProcedureRequest request)
Triggers a synchronous attempt to run a distributed procedure and sets
return data in response.
|
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.GetClusterStatusResponse |
getClusterStatus(com.google.protobuf.RpcController controller,
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.GetClusterStatusRequest req) |
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.GetCompletedSnapshotsResponse |
getCompletedSnapshots(com.google.protobuf.RpcController controller,
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.GetCompletedSnapshotsRequest request)
List the currently available/stored snapshots.
|
org.apache.hadoop.hbase.protobuf.generated.RegionServerStatusProtos.GetLastFlushedSequenceIdResponse |
getLastFlushedSequenceId(com.google.protobuf.RpcController controller,
org.apache.hadoop.hbase.protobuf.generated.RegionServerStatusProtos.GetLastFlushedSequenceIdRequest request) |
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.MajorCompactionTimestampResponse |
getLastMajorCompactionTimestamp(com.google.protobuf.RpcController controller,
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.MajorCompactionTimestampRequest request) |
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.MajorCompactionTimestampResponse |
getLastMajorCompactionTimestampForRegion(com.google.protobuf.RpcController controller,
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.MajorCompactionTimestampForRegionRequest request) |
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.GetNamespaceDescriptorResponse |
getNamespaceDescriptor(com.google.protobuf.RpcController controller,
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.GetNamespaceDescriptorRequest request) |
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.GetProcedureResultResponse |
getProcedureResult(com.google.protobuf.RpcController controller,
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.GetProcedureResultRequest request) |
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.GetSchemaAlterStatusResponse |
getSchemaAlterStatus(com.google.protobuf.RpcController controller,
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.GetSchemaAlterStatusRequest req)
Get the number of regions of the table that have been updated by the alter.
|
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.SecurityCapabilitiesResponse |
getSecurityCapabilities(com.google.protobuf.RpcController controller,
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.SecurityCapabilitiesRequest request)
Returns the security capabilities in effect on the cluster
|
protected List<RpcServer.BlockingServiceAndInterface> |
getServices() |
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.GetTableDescriptorsResponse |
getTableDescriptors(com.google.protobuf.RpcController c,
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.GetTableDescriptorsRequest req)
Get list of TableDescriptors for requested tables.
|
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.GetTableNamesResponse |
getTableNames(com.google.protobuf.RpcController controller,
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.GetTableNamesRequest req)
Get list of userspace table names
|
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsBalancerEnabledResponse |
isBalancerEnabled(com.google.protobuf.RpcController controller,
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsBalancerEnabledRequest request) |
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsCatalogJanitorEnabledResponse |
isCatalogJanitorEnabled(com.google.protobuf.RpcController c,
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsCatalogJanitorEnabledRequest req) |
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningResponse |
isMasterRunning(com.google.protobuf.RpcController c,
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningRequest req) |
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsNormalizerEnabledResponse |
isNormalizerEnabled(com.google.protobuf.RpcController controller,
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsNormalizerEnabledRequest request) |
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsProcedureDoneResponse |
isProcedureDone(com.google.protobuf.RpcController controller,
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsProcedureDoneRequest request)
Checks if the specified procedure is done.
|
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsRestoreSnapshotDoneResponse |
isRestoreSnapshotDone(com.google.protobuf.RpcController controller,
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsRestoreSnapshotDoneRequest request)
Returns the status of the requested snapshot restore/clone operation.
|
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsSnapshotDoneResponse |
isSnapshotDone(com.google.protobuf.RpcController controller,
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsSnapshotDoneRequest request)
Checks if the specified snapshot is done.
|
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.ListNamespaceDescriptorsResponse |
listNamespaceDescriptors(com.google.protobuf.RpcController c,
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.ListNamespaceDescriptorsRequest request) |
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.ListProceduresResponse |
listProcedures(com.google.protobuf.RpcController rpcController,
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.ListProceduresRequest request) |
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.ListTableDescriptorsByNamespaceResponse |
listTableDescriptorsByNamespace(com.google.protobuf.RpcController c,
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.ListTableDescriptorsByNamespaceRequest request) |
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.ListTableNamesByNamespaceResponse |
listTableNamesByNamespace(com.google.protobuf.RpcController c,
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.ListTableNamesByNamespaceRequest request) |
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.ModifyColumnResponse |
modifyColumn(com.google.protobuf.RpcController controller,
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.ModifyColumnRequest req) |
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.ModifyNamespaceResponse |
modifyNamespace(com.google.protobuf.RpcController controller,
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.ModifyNamespaceRequest request) |
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.ModifyTableResponse |
modifyTable(com.google.protobuf.RpcController controller,
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.ModifyTableRequest req) |
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.MoveRegionResponse |
moveRegion(com.google.protobuf.RpcController controller,
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.MoveRegionRequest req) |
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.NormalizeResponse |
normalize(com.google.protobuf.RpcController controller,
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.NormalizeRequest request) |
boolean |
normalizerSwitch(boolean on)
Sets normalizer on/off flag in ZK.
|
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.OfflineRegionResponse |
offlineRegion(com.google.protobuf.RpcController controller,
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.OfflineRegionRequest request)
Offline specified region from master's in-memory state.
|
org.apache.hadoop.hbase.protobuf.generated.RegionServerStatusProtos.RegionServerReportResponse |
regionServerReport(com.google.protobuf.RpcController controller,
org.apache.hadoop.hbase.protobuf.generated.RegionServerStatusProtos.RegionServerReportRequest request) |
org.apache.hadoop.hbase.protobuf.generated.RegionServerStatusProtos.RegionServerStartupResponse |
regionServerStartup(com.google.protobuf.RpcController controller,
org.apache.hadoop.hbase.protobuf.generated.RegionServerStatusProtos.RegionServerStartupRequest request) |
org.apache.hadoop.hbase.protobuf.generated.RegionServerStatusProtos.ReportRegionStateTransitionResponse |
reportRegionStateTransition(com.google.protobuf.RpcController c,
org.apache.hadoop.hbase.protobuf.generated.RegionServerStatusProtos.ReportRegionStateTransitionRequest req) |
org.apache.hadoop.hbase.protobuf.generated.RegionServerStatusProtos.ReportRSFatalErrorResponse |
reportRSFatalError(com.google.protobuf.RpcController controller,
org.apache.hadoop.hbase.protobuf.generated.RegionServerStatusProtos.ReportRSFatalErrorRequest request) |
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.RestoreSnapshotResponse |
restoreSnapshot(com.google.protobuf.RpcController controller,
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.RestoreSnapshotRequest request)
Execute Restore/Clone snapshot operation.
|
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.RunCatalogScanResponse |
runCatalogScan(com.google.protobuf.RpcController c,
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.RunCatalogScanRequest req) |
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.SetBalancerRunningResponse |
setBalancerRunning(com.google.protobuf.RpcController c,
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.SetBalancerRunningRequest req) |
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.SetNormalizerRunningResponse |
setNormalizerRunning(com.google.protobuf.RpcController controller,
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.SetNormalizerRunningRequest request) |
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.SetQuotaResponse |
setQuota(com.google.protobuf.RpcController c,
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.SetQuotaRequest req) |
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.ShutdownResponse |
shutdown(com.google.protobuf.RpcController controller,
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.ShutdownRequest request) |
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.SnapshotResponse |
snapshot(com.google.protobuf.RpcController controller,
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.SnapshotRequest request)
Triggers an asynchronous attempt to take a snapshot.
|
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.StopMasterResponse |
stopMaster(com.google.protobuf.RpcController controller,
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.StopMasterRequest request) |
(package private) boolean |
switchBalancer(boolean b,
MasterRpcServices.BalanceSwitchMode mode)
Assigns balancer switch according to BalanceSwitchMode
|
(package private) boolean |
synchronousBalanceSwitch(boolean b) |
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.TruncateTableResponse |
truncateTable(com.google.protobuf.RpcController controller,
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.TruncateTableRequest request) |
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.UnassignRegionResponse |
unassignRegion(com.google.protobuf.RpcController controller,
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.UnassignRegionRequest req) |
bulkLoadHFile, checkOOME, checkOpen, closeRegion, compactRegion, execRegionServerService, execService, exitIfOOME, flushRegion, get, getConfiguration, getDeadline, getHostname, getOnlineRegion, getPriority, getPriority, getRegionInfo, getScanDetailsWithId, getServerInfo, getSocketAddress, getStoreFile, mergeRegions, multi, mutate, onConfigurationChange, openRegion, replay, replicateWALEntry, rollWALWriter, scan, splitRegion, stopServer, updateConfiguration, updateFavoredNodes, warmupRegion
private static final org.apache.commons.logging.Log LOG
private final HMaster master
public MasterRpcServices(HMaster m) throws IOException
IOException
private org.apache.hadoop.hbase.protobuf.generated.RegionServerStatusProtos.RegionServerStartupResponse.Builder createConfigurationSubset()
private org.apache.hadoop.hbase.protobuf.generated.RegionServerStatusProtos.RegionServerStartupResponse.Builder addConfig(org.apache.hadoop.hbase.protobuf.generated.RegionServerStatusProtos.RegionServerStartupResponse.Builder resp, String key)
protected PriorityFunction createPriority()
createPriority
in class RSRpcServices
boolean switchBalancer(boolean b, MasterRpcServices.BalanceSwitchMode mode) throws IOException
b
- new balancer switchmode
- BalanceSwitchModeIOException
boolean synchronousBalanceSwitch(boolean b) throws IOException
IOException
public boolean normalizerSwitch(boolean on)
protected List<RpcServer.BlockingServiceAndInterface> getServices()
getServices
in class RSRpcServices
public org.apache.hadoop.hbase.protobuf.generated.RegionServerStatusProtos.GetLastFlushedSequenceIdResponse getLastFlushedSequenceId(com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.RegionServerStatusProtos.GetLastFlushedSequenceIdRequest request) throws com.google.protobuf.ServiceException
getLastFlushedSequenceId
in interface org.apache.hadoop.hbase.protobuf.generated.RegionServerStatusProtos.RegionServerStatusService.BlockingInterface
com.google.protobuf.ServiceException
public org.apache.hadoop.hbase.protobuf.generated.RegionServerStatusProtos.RegionServerReportResponse regionServerReport(com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.RegionServerStatusProtos.RegionServerReportRequest request) throws com.google.protobuf.ServiceException
regionServerReport
in interface org.apache.hadoop.hbase.protobuf.generated.RegionServerStatusProtos.RegionServerStatusService.BlockingInterface
com.google.protobuf.ServiceException
public org.apache.hadoop.hbase.protobuf.generated.RegionServerStatusProtos.RegionServerStartupResponse regionServerStartup(com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.RegionServerStatusProtos.RegionServerStartupRequest request) throws com.google.protobuf.ServiceException
regionServerStartup
in interface org.apache.hadoop.hbase.protobuf.generated.RegionServerStatusProtos.RegionServerStatusService.BlockingInterface
com.google.protobuf.ServiceException
public org.apache.hadoop.hbase.protobuf.generated.RegionServerStatusProtos.ReportRSFatalErrorResponse reportRSFatalError(com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.RegionServerStatusProtos.ReportRSFatalErrorRequest request) throws com.google.protobuf.ServiceException
reportRSFatalError
in interface org.apache.hadoop.hbase.protobuf.generated.RegionServerStatusProtos.RegionServerStatusService.BlockingInterface
com.google.protobuf.ServiceException
public org.apache.hadoop.hbase.protobuf.generated.MasterProtos.AddColumnResponse addColumn(com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.MasterProtos.AddColumnRequest req) throws com.google.protobuf.ServiceException
addColumn
in interface org.apache.hadoop.hbase.protobuf.generated.MasterProtos.MasterService.BlockingInterface
com.google.protobuf.ServiceException
public org.apache.hadoop.hbase.protobuf.generated.MasterProtos.AssignRegionResponse assignRegion(com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.MasterProtos.AssignRegionRequest req) throws com.google.protobuf.ServiceException
assignRegion
in interface org.apache.hadoop.hbase.protobuf.generated.MasterProtos.MasterService.BlockingInterface
com.google.protobuf.ServiceException
public org.apache.hadoop.hbase.protobuf.generated.MasterProtos.BalanceResponse balance(com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.MasterProtos.BalanceRequest request) throws com.google.protobuf.ServiceException
balance
in interface org.apache.hadoop.hbase.protobuf.generated.MasterProtos.MasterService.BlockingInterface
com.google.protobuf.ServiceException
public org.apache.hadoop.hbase.protobuf.generated.MasterProtos.CreateNamespaceResponse createNamespace(com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.MasterProtos.CreateNamespaceRequest request) throws com.google.protobuf.ServiceException
createNamespace
in interface org.apache.hadoop.hbase.protobuf.generated.MasterProtos.MasterService.BlockingInterface
com.google.protobuf.ServiceException
public org.apache.hadoop.hbase.protobuf.generated.MasterProtos.CreateTableResponse createTable(com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.MasterProtos.CreateTableRequest req) throws com.google.protobuf.ServiceException
createTable
in interface org.apache.hadoop.hbase.protobuf.generated.MasterProtos.MasterService.BlockingInterface
com.google.protobuf.ServiceException
public org.apache.hadoop.hbase.protobuf.generated.MasterProtos.DeleteColumnResponse deleteColumn(com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.MasterProtos.DeleteColumnRequest req) throws com.google.protobuf.ServiceException
deleteColumn
in interface org.apache.hadoop.hbase.protobuf.generated.MasterProtos.MasterService.BlockingInterface
com.google.protobuf.ServiceException
public org.apache.hadoop.hbase.protobuf.generated.MasterProtos.DeleteNamespaceResponse deleteNamespace(com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.MasterProtos.DeleteNamespaceRequest request) throws com.google.protobuf.ServiceException
deleteNamespace
in interface org.apache.hadoop.hbase.protobuf.generated.MasterProtos.MasterService.BlockingInterface
com.google.protobuf.ServiceException
public org.apache.hadoop.hbase.protobuf.generated.MasterProtos.DeleteSnapshotResponse deleteSnapshot(com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.MasterProtos.DeleteSnapshotRequest request) throws com.google.protobuf.ServiceException
deleteSnapshot
in interface org.apache.hadoop.hbase.protobuf.generated.MasterProtos.MasterService.BlockingInterface
com.google.protobuf.ServiceException
- wrapping SnapshotDoesNotExistException if specified snapshot did not
exist.public org.apache.hadoop.hbase.protobuf.generated.MasterProtos.DeleteTableResponse deleteTable(com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.MasterProtos.DeleteTableRequest request) throws com.google.protobuf.ServiceException
deleteTable
in interface org.apache.hadoop.hbase.protobuf.generated.MasterProtos.MasterService.BlockingInterface
com.google.protobuf.ServiceException
public org.apache.hadoop.hbase.protobuf.generated.MasterProtos.TruncateTableResponse truncateTable(com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.MasterProtos.TruncateTableRequest request) throws com.google.protobuf.ServiceException
truncateTable
in interface org.apache.hadoop.hbase.protobuf.generated.MasterProtos.MasterService.BlockingInterface
com.google.protobuf.ServiceException
public org.apache.hadoop.hbase.protobuf.generated.MasterProtos.DisableTableResponse disableTable(com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.MasterProtos.DisableTableRequest request) throws com.google.protobuf.ServiceException
disableTable
in interface org.apache.hadoop.hbase.protobuf.generated.MasterProtos.MasterService.BlockingInterface
com.google.protobuf.ServiceException
public org.apache.hadoop.hbase.protobuf.generated.MasterProtos.DispatchMergingRegionsResponse dispatchMergingRegions(com.google.protobuf.RpcController c, org.apache.hadoop.hbase.protobuf.generated.MasterProtos.DispatchMergingRegionsRequest request) throws com.google.protobuf.ServiceException
dispatchMergingRegions
in interface org.apache.hadoop.hbase.protobuf.generated.MasterProtos.MasterService.BlockingInterface
com.google.protobuf.ServiceException
public org.apache.hadoop.hbase.protobuf.generated.MasterProtos.EnableCatalogJanitorResponse enableCatalogJanitor(com.google.protobuf.RpcController c, org.apache.hadoop.hbase.protobuf.generated.MasterProtos.EnableCatalogJanitorRequest req) throws com.google.protobuf.ServiceException
enableCatalogJanitor
in interface org.apache.hadoop.hbase.protobuf.generated.MasterProtos.MasterService.BlockingInterface
com.google.protobuf.ServiceException
public org.apache.hadoop.hbase.protobuf.generated.MasterProtos.EnableTableResponse enableTable(com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.MasterProtos.EnableTableRequest request) throws com.google.protobuf.ServiceException
enableTable
in interface org.apache.hadoop.hbase.protobuf.generated.MasterProtos.MasterService.BlockingInterface
com.google.protobuf.ServiceException
public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResponse execMasterService(com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceRequest request) throws com.google.protobuf.ServiceException
execMasterService
in interface org.apache.hadoop.hbase.protobuf.generated.MasterProtos.MasterService.BlockingInterface
com.google.protobuf.ServiceException
public org.apache.hadoop.hbase.protobuf.generated.MasterProtos.ExecProcedureResponse execProcedure(com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.MasterProtos.ExecProcedureRequest request) throws com.google.protobuf.ServiceException
execProcedure
in interface org.apache.hadoop.hbase.protobuf.generated.MasterProtos.MasterService.BlockingInterface
com.google.protobuf.ServiceException
public org.apache.hadoop.hbase.protobuf.generated.MasterProtos.ExecProcedureResponse execProcedureWithRet(com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.MasterProtos.ExecProcedureRequest request) throws com.google.protobuf.ServiceException
execProcedureWithRet
in interface org.apache.hadoop.hbase.protobuf.generated.MasterProtos.MasterService.BlockingInterface
com.google.protobuf.ServiceException
public org.apache.hadoop.hbase.protobuf.generated.MasterProtos.GetClusterStatusResponse getClusterStatus(com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.MasterProtos.GetClusterStatusRequest req) throws com.google.protobuf.ServiceException
getClusterStatus
in interface org.apache.hadoop.hbase.protobuf.generated.MasterProtos.MasterService.BlockingInterface
com.google.protobuf.ServiceException
public org.apache.hadoop.hbase.protobuf.generated.MasterProtos.GetCompletedSnapshotsResponse getCompletedSnapshots(com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.MasterProtos.GetCompletedSnapshotsRequest request) throws com.google.protobuf.ServiceException
getCompletedSnapshots
in interface org.apache.hadoop.hbase.protobuf.generated.MasterProtos.MasterService.BlockingInterface
com.google.protobuf.ServiceException
public org.apache.hadoop.hbase.protobuf.generated.MasterProtos.GetNamespaceDescriptorResponse getNamespaceDescriptor(com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.MasterProtos.GetNamespaceDescriptorRequest request) throws com.google.protobuf.ServiceException
getNamespaceDescriptor
in interface org.apache.hadoop.hbase.protobuf.generated.MasterProtos.MasterService.BlockingInterface
com.google.protobuf.ServiceException
public org.apache.hadoop.hbase.protobuf.generated.MasterProtos.GetSchemaAlterStatusResponse getSchemaAlterStatus(com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.MasterProtos.GetSchemaAlterStatusRequest req) throws com.google.protobuf.ServiceException
getSchemaAlterStatus
in interface org.apache.hadoop.hbase.protobuf.generated.MasterProtos.MasterService.BlockingInterface
com.google.protobuf.ServiceException
public org.apache.hadoop.hbase.protobuf.generated.MasterProtos.GetTableDescriptorsResponse getTableDescriptors(com.google.protobuf.RpcController c, org.apache.hadoop.hbase.protobuf.generated.MasterProtos.GetTableDescriptorsRequest req) throws com.google.protobuf.ServiceException
getTableDescriptors
in interface org.apache.hadoop.hbase.protobuf.generated.MasterProtos.MasterService.BlockingInterface
c
- Unused (set to null).req
- GetTableDescriptorsRequest that contains:
- tableNames: requested tables, or if empty, all are requestedcom.google.protobuf.ServiceException
public org.apache.hadoop.hbase.protobuf.generated.MasterProtos.GetTableNamesResponse getTableNames(com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.MasterProtos.GetTableNamesRequest req) throws com.google.protobuf.ServiceException
getTableNames
in interface org.apache.hadoop.hbase.protobuf.generated.MasterProtos.MasterService.BlockingInterface
controller
- Unused (set to null).req
- GetTableNamesRequestcom.google.protobuf.ServiceException
public org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsCatalogJanitorEnabledResponse isCatalogJanitorEnabled(com.google.protobuf.RpcController c, org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsCatalogJanitorEnabledRequest req) throws com.google.protobuf.ServiceException
isCatalogJanitorEnabled
in interface org.apache.hadoop.hbase.protobuf.generated.MasterProtos.MasterService.BlockingInterface
com.google.protobuf.ServiceException
public org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningResponse isMasterRunning(com.google.protobuf.RpcController c, org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningRequest req) throws com.google.protobuf.ServiceException
isMasterRunning
in interface org.apache.hadoop.hbase.protobuf.generated.MasterProtos.MasterService.BlockingInterface
com.google.protobuf.ServiceException
public org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsProcedureDoneResponse isProcedureDone(com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsProcedureDoneRequest request) throws com.google.protobuf.ServiceException
isProcedureDone
in interface org.apache.hadoop.hbase.protobuf.generated.MasterProtos.MasterService.BlockingInterface
com.google.protobuf.ServiceException
- if invalid procedure, or
a failed procedure with progress failure reason.public org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsRestoreSnapshotDoneResponse isRestoreSnapshotDone(com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsRestoreSnapshotDoneRequest request) throws com.google.protobuf.ServiceException
isRestoreSnapshotDone
in interface org.apache.hadoop.hbase.protobuf.generated.MasterProtos.MasterService.BlockingInterface
com.google.protobuf.ServiceException
- if the operation failed.public org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsSnapshotDoneResponse isSnapshotDone(com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsSnapshotDoneRequest request) throws com.google.protobuf.ServiceException
isSnapshotDone
in interface org.apache.hadoop.hbase.protobuf.generated.MasterProtos.MasterService.BlockingInterface
com.google.protobuf.ServiceException
- wrapping UnknownSnapshotException if invalid snapshot, or
a wrapped HBaseSnapshotException with progress failure reason.public org.apache.hadoop.hbase.protobuf.generated.MasterProtos.GetProcedureResultResponse getProcedureResult(com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.MasterProtos.GetProcedureResultRequest request) throws com.google.protobuf.ServiceException
getProcedureResult
in interface org.apache.hadoop.hbase.protobuf.generated.MasterProtos.MasterService.BlockingInterface
com.google.protobuf.ServiceException
public org.apache.hadoop.hbase.protobuf.generated.MasterProtos.AbortProcedureResponse abortProcedure(com.google.protobuf.RpcController rpcController, org.apache.hadoop.hbase.protobuf.generated.MasterProtos.AbortProcedureRequest request) throws com.google.protobuf.ServiceException
abortProcedure
in interface org.apache.hadoop.hbase.protobuf.generated.MasterProtos.MasterService.BlockingInterface
com.google.protobuf.ServiceException
public org.apache.hadoop.hbase.protobuf.generated.MasterProtos.ListProceduresResponse listProcedures(com.google.protobuf.RpcController rpcController, org.apache.hadoop.hbase.protobuf.generated.MasterProtos.ListProceduresRequest request) throws com.google.protobuf.ServiceException
listProcedures
in interface org.apache.hadoop.hbase.protobuf.generated.MasterProtos.MasterService.BlockingInterface
com.google.protobuf.ServiceException
public org.apache.hadoop.hbase.protobuf.generated.MasterProtos.ListNamespaceDescriptorsResponse listNamespaceDescriptors(com.google.protobuf.RpcController c, org.apache.hadoop.hbase.protobuf.generated.MasterProtos.ListNamespaceDescriptorsRequest request) throws com.google.protobuf.ServiceException
listNamespaceDescriptors
in interface org.apache.hadoop.hbase.protobuf.generated.MasterProtos.MasterService.BlockingInterface
com.google.protobuf.ServiceException
public org.apache.hadoop.hbase.protobuf.generated.MasterProtos.ListTableDescriptorsByNamespaceResponse listTableDescriptorsByNamespace(com.google.protobuf.RpcController c, org.apache.hadoop.hbase.protobuf.generated.MasterProtos.ListTableDescriptorsByNamespaceRequest request) throws com.google.protobuf.ServiceException
listTableDescriptorsByNamespace
in interface org.apache.hadoop.hbase.protobuf.generated.MasterProtos.MasterService.BlockingInterface
com.google.protobuf.ServiceException
public org.apache.hadoop.hbase.protobuf.generated.MasterProtos.ListTableNamesByNamespaceResponse listTableNamesByNamespace(com.google.protobuf.RpcController c, org.apache.hadoop.hbase.protobuf.generated.MasterProtos.ListTableNamesByNamespaceRequest request) throws com.google.protobuf.ServiceException
listTableNamesByNamespace
in interface org.apache.hadoop.hbase.protobuf.generated.MasterProtos.MasterService.BlockingInterface
com.google.protobuf.ServiceException
public org.apache.hadoop.hbase.protobuf.generated.MasterProtos.ModifyColumnResponse modifyColumn(com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.MasterProtos.ModifyColumnRequest req) throws com.google.protobuf.ServiceException
modifyColumn
in interface org.apache.hadoop.hbase.protobuf.generated.MasterProtos.MasterService.BlockingInterface
com.google.protobuf.ServiceException
public org.apache.hadoop.hbase.protobuf.generated.MasterProtos.ModifyNamespaceResponse modifyNamespace(com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.MasterProtos.ModifyNamespaceRequest request) throws com.google.protobuf.ServiceException
modifyNamespace
in interface org.apache.hadoop.hbase.protobuf.generated.MasterProtos.MasterService.BlockingInterface
com.google.protobuf.ServiceException
public org.apache.hadoop.hbase.protobuf.generated.MasterProtos.ModifyTableResponse modifyTable(com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.MasterProtos.ModifyTableRequest req) throws com.google.protobuf.ServiceException
modifyTable
in interface org.apache.hadoop.hbase.protobuf.generated.MasterProtos.MasterService.BlockingInterface
com.google.protobuf.ServiceException
public org.apache.hadoop.hbase.protobuf.generated.MasterProtos.MoveRegionResponse moveRegion(com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.MasterProtos.MoveRegionRequest req) throws com.google.protobuf.ServiceException
moveRegion
in interface org.apache.hadoop.hbase.protobuf.generated.MasterProtos.MasterService.BlockingInterface
com.google.protobuf.ServiceException
public org.apache.hadoop.hbase.protobuf.generated.MasterProtos.OfflineRegionResponse offlineRegion(com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.MasterProtos.OfflineRegionRequest request) throws com.google.protobuf.ServiceException
offlineRegion
in interface org.apache.hadoop.hbase.protobuf.generated.MasterProtos.MasterService.BlockingInterface
com.google.protobuf.ServiceException
public org.apache.hadoop.hbase.protobuf.generated.MasterProtos.RestoreSnapshotResponse restoreSnapshot(com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.MasterProtos.RestoreSnapshotRequest request) throws com.google.protobuf.ServiceException
If the specified table exists a "Restore" is executed, replacing the table schema and directory data with the content of the snapshot. The table must be disabled, or a UnsupportedOperationException will be thrown.
If the table doesn't exist a "Clone" is executed, a new table is created using the schema at the time of the snapshot, and the content of the snapshot.
The restore/clone operation does not require copying HFiles. Since HFiles are immutable the table can point to and use the same files as the original one.
restoreSnapshot
in interface org.apache.hadoop.hbase.protobuf.generated.MasterProtos.MasterService.BlockingInterface
com.google.protobuf.ServiceException
public org.apache.hadoop.hbase.protobuf.generated.MasterProtos.RunCatalogScanResponse runCatalogScan(com.google.protobuf.RpcController c, org.apache.hadoop.hbase.protobuf.generated.MasterProtos.RunCatalogScanRequest req) throws com.google.protobuf.ServiceException
runCatalogScan
in interface org.apache.hadoop.hbase.protobuf.generated.MasterProtos.MasterService.BlockingInterface
com.google.protobuf.ServiceException
public org.apache.hadoop.hbase.protobuf.generated.MasterProtos.SetBalancerRunningResponse setBalancerRunning(com.google.protobuf.RpcController c, org.apache.hadoop.hbase.protobuf.generated.MasterProtos.SetBalancerRunningRequest req) throws com.google.protobuf.ServiceException
setBalancerRunning
in interface org.apache.hadoop.hbase.protobuf.generated.MasterProtos.MasterService.BlockingInterface
com.google.protobuf.ServiceException
public org.apache.hadoop.hbase.protobuf.generated.MasterProtos.ShutdownResponse shutdown(com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.MasterProtos.ShutdownRequest request) throws com.google.protobuf.ServiceException
shutdown
in interface org.apache.hadoop.hbase.protobuf.generated.MasterProtos.MasterService.BlockingInterface
com.google.protobuf.ServiceException
public org.apache.hadoop.hbase.protobuf.generated.MasterProtos.SnapshotResponse snapshot(com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.MasterProtos.SnapshotRequest request) throws com.google.protobuf.ServiceException
snapshot
in interface org.apache.hadoop.hbase.protobuf.generated.MasterProtos.MasterService.BlockingInterface
com.google.protobuf.ServiceException
public org.apache.hadoop.hbase.protobuf.generated.MasterProtos.StopMasterResponse stopMaster(com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.MasterProtos.StopMasterRequest request) throws com.google.protobuf.ServiceException
stopMaster
in interface org.apache.hadoop.hbase.protobuf.generated.MasterProtos.MasterService.BlockingInterface
com.google.protobuf.ServiceException
public org.apache.hadoop.hbase.protobuf.generated.MasterProtos.UnassignRegionResponse unassignRegion(com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.MasterProtos.UnassignRegionRequest req) throws com.google.protobuf.ServiceException
unassignRegion
in interface org.apache.hadoop.hbase.protobuf.generated.MasterProtos.MasterService.BlockingInterface
com.google.protobuf.ServiceException
public org.apache.hadoop.hbase.protobuf.generated.RegionServerStatusProtos.ReportRegionStateTransitionResponse reportRegionStateTransition(com.google.protobuf.RpcController c, org.apache.hadoop.hbase.protobuf.generated.RegionServerStatusProtos.ReportRegionStateTransitionRequest req) throws com.google.protobuf.ServiceException
reportRegionStateTransition
in interface org.apache.hadoop.hbase.protobuf.generated.RegionServerStatusProtos.RegionServerStatusService.BlockingInterface
com.google.protobuf.ServiceException
public org.apache.hadoop.hbase.protobuf.generated.MasterProtos.MajorCompactionTimestampResponse getLastMajorCompactionTimestamp(com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.MasterProtos.MajorCompactionTimestampRequest request) throws com.google.protobuf.ServiceException
getLastMajorCompactionTimestamp
in interface org.apache.hadoop.hbase.protobuf.generated.MasterProtos.MasterService.BlockingInterface
com.google.protobuf.ServiceException
public org.apache.hadoop.hbase.protobuf.generated.MasterProtos.MajorCompactionTimestampResponse getLastMajorCompactionTimestampForRegion(com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.MasterProtos.MajorCompactionTimestampForRegionRequest request) throws com.google.protobuf.ServiceException
getLastMajorCompactionTimestampForRegion
in interface org.apache.hadoop.hbase.protobuf.generated.MasterProtos.MasterService.BlockingInterface
com.google.protobuf.ServiceException
public org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsBalancerEnabledResponse isBalancerEnabled(com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsBalancerEnabledRequest request) throws com.google.protobuf.ServiceException
isBalancerEnabled
in interface org.apache.hadoop.hbase.protobuf.generated.MasterProtos.MasterService.BlockingInterface
com.google.protobuf.ServiceException
public org.apache.hadoop.hbase.protobuf.generated.MasterProtos.NormalizeResponse normalize(com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.MasterProtos.NormalizeRequest request) throws com.google.protobuf.ServiceException
normalize
in interface org.apache.hadoop.hbase.protobuf.generated.MasterProtos.MasterService.BlockingInterface
com.google.protobuf.ServiceException
public org.apache.hadoop.hbase.protobuf.generated.MasterProtos.SetNormalizerRunningResponse setNormalizerRunning(com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.MasterProtos.SetNormalizerRunningRequest request) throws com.google.protobuf.ServiceException
setNormalizerRunning
in interface org.apache.hadoop.hbase.protobuf.generated.MasterProtos.MasterService.BlockingInterface
com.google.protobuf.ServiceException
public org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsNormalizerEnabledResponse isNormalizerEnabled(com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsNormalizerEnabledRequest request) throws com.google.protobuf.ServiceException
isNormalizerEnabled
in interface org.apache.hadoop.hbase.protobuf.generated.MasterProtos.MasterService.BlockingInterface
com.google.protobuf.ServiceException
public org.apache.hadoop.hbase.protobuf.generated.MasterProtos.SetQuotaResponse setQuota(com.google.protobuf.RpcController c, org.apache.hadoop.hbase.protobuf.generated.MasterProtos.SetQuotaRequest req) throws com.google.protobuf.ServiceException
setQuota
in interface org.apache.hadoop.hbase.protobuf.generated.MasterProtos.MasterService.BlockingInterface
com.google.protobuf.ServiceException
public org.apache.hadoop.hbase.protobuf.generated.MasterProtos.SecurityCapabilitiesResponse getSecurityCapabilities(com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.MasterProtos.SecurityCapabilitiesRequest request) throws com.google.protobuf.ServiceException
getSecurityCapabilities
in interface org.apache.hadoop.hbase.protobuf.generated.MasterProtos.MasterService.BlockingInterface
com.google.protobuf.ServiceException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.