Class MasterClientService.Client
- java.lang.Object
-
- org.apache.thrift.TServiceClient
-
- org.apache.accumulo.core.master.thrift.FateService.Client
-
- org.apache.accumulo.core.master.thrift.MasterClientService.Client
-
- All Implemented Interfaces:
FateService.Iface
,MasterClientService.Iface
- Enclosing class:
- MasterClientService
public static class MasterClientService.Client extends FateService.Client implements MasterClientService.Iface
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MasterClientService.Client.Factory
-
Method Summary
-
Methods inherited from class org.apache.accumulo.core.master.thrift.FateService.Client
beginFateOperation, executeFateOperation, finishFateOperation, recv_beginFateOperation, recv_executeFateOperation, recv_finishFateOperation, recv_waitForFateOperation, send_beginFateOperation, send_executeFateOperation, send_finishFateOperation, send_waitForFateOperation, waitForFateOperation
-
Methods inherited from class org.apache.thrift.TServiceClient
getInputProtocol, getOutputProtocol, receiveBase, sendBase, sendBaseOneway
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.accumulo.core.master.thrift.FateService.Iface
beginFateOperation, executeFateOperation, finishFateOperation, waitForFateOperation
-
-
-
-
Method Detail
-
initiateFlush
public long initiateFlush(TInfo tinfo, TCredentials credentials, String tableName) throws ThriftSecurityException, ThriftTableOperationException, ThriftNotActiveServiceException, org.apache.thrift.TException
- Specified by:
initiateFlush
in interfaceMasterClientService.Iface
- Throws:
ThriftSecurityException
ThriftTableOperationException
ThriftNotActiveServiceException
org.apache.thrift.TException
-
send_initiateFlush
public void send_initiateFlush(TInfo tinfo, TCredentials credentials, String tableName) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
recv_initiateFlush
public long recv_initiateFlush() throws ThriftSecurityException, ThriftTableOperationException, ThriftNotActiveServiceException, org.apache.thrift.TException
- Throws:
ThriftSecurityException
ThriftTableOperationException
ThriftNotActiveServiceException
org.apache.thrift.TException
-
waitForFlush
public void waitForFlush(TInfo tinfo, TCredentials credentials, String tableName, ByteBuffer startRow, ByteBuffer endRow, long flushID, long maxLoops) throws ThriftSecurityException, ThriftTableOperationException, ThriftNotActiveServiceException, org.apache.thrift.TException
- Specified by:
waitForFlush
in interfaceMasterClientService.Iface
- Throws:
ThriftSecurityException
ThriftTableOperationException
ThriftNotActiveServiceException
org.apache.thrift.TException
-
send_waitForFlush
public void send_waitForFlush(TInfo tinfo, TCredentials credentials, String tableName, ByteBuffer startRow, ByteBuffer endRow, long flushID, long maxLoops) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
recv_waitForFlush
public void recv_waitForFlush() throws ThriftSecurityException, ThriftTableOperationException, ThriftNotActiveServiceException, org.apache.thrift.TException
- Throws:
ThriftSecurityException
ThriftTableOperationException
ThriftNotActiveServiceException
org.apache.thrift.TException
-
setTableProperty
public void setTableProperty(TInfo tinfo, TCredentials credentials, String tableName, String property, String value) throws ThriftSecurityException, ThriftTableOperationException, ThriftNotActiveServiceException, org.apache.thrift.TException
- Specified by:
setTableProperty
in interfaceMasterClientService.Iface
- Throws:
ThriftSecurityException
ThriftTableOperationException
ThriftNotActiveServiceException
org.apache.thrift.TException
-
send_setTableProperty
public void send_setTableProperty(TInfo tinfo, TCredentials credentials, String tableName, String property, String value) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
recv_setTableProperty
public void recv_setTableProperty() throws ThriftSecurityException, ThriftTableOperationException, ThriftNotActiveServiceException, org.apache.thrift.TException
- Throws:
ThriftSecurityException
ThriftTableOperationException
ThriftNotActiveServiceException
org.apache.thrift.TException
-
removeTableProperty
public void removeTableProperty(TInfo tinfo, TCredentials credentials, String tableName, String property) throws ThriftSecurityException, ThriftTableOperationException, ThriftNotActiveServiceException, org.apache.thrift.TException
- Specified by:
removeTableProperty
in interfaceMasterClientService.Iface
- Throws:
ThriftSecurityException
ThriftTableOperationException
ThriftNotActiveServiceException
org.apache.thrift.TException
-
send_removeTableProperty
public void send_removeTableProperty(TInfo tinfo, TCredentials credentials, String tableName, String property) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
recv_removeTableProperty
public void recv_removeTableProperty() throws ThriftSecurityException, ThriftTableOperationException, ThriftNotActiveServiceException, org.apache.thrift.TException
- Throws:
ThriftSecurityException
ThriftTableOperationException
ThriftNotActiveServiceException
org.apache.thrift.TException
-
setNamespaceProperty
public void setNamespaceProperty(TInfo tinfo, TCredentials credentials, String ns, String property, String value) throws ThriftSecurityException, ThriftTableOperationException, ThriftNotActiveServiceException, org.apache.thrift.TException
- Specified by:
setNamespaceProperty
in interfaceMasterClientService.Iface
- Throws:
ThriftSecurityException
ThriftTableOperationException
ThriftNotActiveServiceException
org.apache.thrift.TException
-
send_setNamespaceProperty
public void send_setNamespaceProperty(TInfo tinfo, TCredentials credentials, String ns, String property, String value) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
recv_setNamespaceProperty
public void recv_setNamespaceProperty() throws ThriftSecurityException, ThriftTableOperationException, ThriftNotActiveServiceException, org.apache.thrift.TException
- Throws:
ThriftSecurityException
ThriftTableOperationException
ThriftNotActiveServiceException
org.apache.thrift.TException
-
removeNamespaceProperty
public void removeNamespaceProperty(TInfo tinfo, TCredentials credentials, String ns, String property) throws ThriftSecurityException, ThriftTableOperationException, ThriftNotActiveServiceException, org.apache.thrift.TException
- Specified by:
removeNamespaceProperty
in interfaceMasterClientService.Iface
- Throws:
ThriftSecurityException
ThriftTableOperationException
ThriftNotActiveServiceException
org.apache.thrift.TException
-
send_removeNamespaceProperty
public void send_removeNamespaceProperty(TInfo tinfo, TCredentials credentials, String ns, String property) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
recv_removeNamespaceProperty
public void recv_removeNamespaceProperty() throws ThriftSecurityException, ThriftTableOperationException, ThriftNotActiveServiceException, org.apache.thrift.TException
- Throws:
ThriftSecurityException
ThriftTableOperationException
ThriftNotActiveServiceException
org.apache.thrift.TException
-
setMasterGoalState
public void setMasterGoalState(TInfo tinfo, TCredentials credentials, MasterGoalState state) throws ThriftSecurityException, ThriftNotActiveServiceException, org.apache.thrift.TException
- Specified by:
setMasterGoalState
in interfaceMasterClientService.Iface
- Throws:
ThriftSecurityException
ThriftNotActiveServiceException
org.apache.thrift.TException
-
send_setMasterGoalState
public void send_setMasterGoalState(TInfo tinfo, TCredentials credentials, MasterGoalState state) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
recv_setMasterGoalState
public void recv_setMasterGoalState() throws ThriftSecurityException, ThriftNotActiveServiceException, org.apache.thrift.TException
- Throws:
ThriftSecurityException
ThriftNotActiveServiceException
org.apache.thrift.TException
-
shutdown
public void shutdown(TInfo tinfo, TCredentials credentials, boolean stopTabletServers) throws ThriftSecurityException, ThriftNotActiveServiceException, org.apache.thrift.TException
- Specified by:
shutdown
in interfaceMasterClientService.Iface
- Throws:
ThriftSecurityException
ThriftNotActiveServiceException
org.apache.thrift.TException
-
send_shutdown
public void send_shutdown(TInfo tinfo, TCredentials credentials, boolean stopTabletServers) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
recv_shutdown
public void recv_shutdown() throws ThriftSecurityException, ThriftNotActiveServiceException, org.apache.thrift.TException
- Throws:
ThriftSecurityException
ThriftNotActiveServiceException
org.apache.thrift.TException
-
shutdownTabletServer
public void shutdownTabletServer(TInfo tinfo, TCredentials credentials, String tabletServer, boolean force) throws ThriftSecurityException, ThriftNotActiveServiceException, org.apache.thrift.TException
- Specified by:
shutdownTabletServer
in interfaceMasterClientService.Iface
- Throws:
ThriftSecurityException
ThriftNotActiveServiceException
org.apache.thrift.TException
-
send_shutdownTabletServer
public void send_shutdownTabletServer(TInfo tinfo, TCredentials credentials, String tabletServer, boolean force) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
recv_shutdownTabletServer
public void recv_shutdownTabletServer() throws ThriftSecurityException, ThriftNotActiveServiceException, org.apache.thrift.TException
- Throws:
ThriftSecurityException
ThriftNotActiveServiceException
org.apache.thrift.TException
-
setSystemProperty
public void setSystemProperty(TInfo tinfo, TCredentials credentials, String property, String value) throws ThriftSecurityException, ThriftNotActiveServiceException, org.apache.thrift.TException
- Specified by:
setSystemProperty
in interfaceMasterClientService.Iface
- Throws:
ThriftSecurityException
ThriftNotActiveServiceException
org.apache.thrift.TException
-
send_setSystemProperty
public void send_setSystemProperty(TInfo tinfo, TCredentials credentials, String property, String value) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
recv_setSystemProperty
public void recv_setSystemProperty() throws ThriftSecurityException, ThriftNotActiveServiceException, org.apache.thrift.TException
- Throws:
ThriftSecurityException
ThriftNotActiveServiceException
org.apache.thrift.TException
-
removeSystemProperty
public void removeSystemProperty(TInfo tinfo, TCredentials credentials, String property) throws ThriftSecurityException, ThriftNotActiveServiceException, org.apache.thrift.TException
- Specified by:
removeSystemProperty
in interfaceMasterClientService.Iface
- Throws:
ThriftSecurityException
ThriftNotActiveServiceException
org.apache.thrift.TException
-
send_removeSystemProperty
public void send_removeSystemProperty(TInfo tinfo, TCredentials credentials, String property) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
recv_removeSystemProperty
public void recv_removeSystemProperty() throws ThriftSecurityException, ThriftNotActiveServiceException, org.apache.thrift.TException
- Throws:
ThriftSecurityException
ThriftNotActiveServiceException
org.apache.thrift.TException
-
getMasterStats
public MasterMonitorInfo getMasterStats(TInfo tinfo, TCredentials credentials) throws ThriftSecurityException, ThriftNotActiveServiceException, org.apache.thrift.TException
- Specified by:
getMasterStats
in interfaceMasterClientService.Iface
- Throws:
ThriftSecurityException
ThriftNotActiveServiceException
org.apache.thrift.TException
-
send_getMasterStats
public void send_getMasterStats(TInfo tinfo, TCredentials credentials) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
recv_getMasterStats
public MasterMonitorInfo recv_getMasterStats() throws ThriftSecurityException, ThriftNotActiveServiceException, org.apache.thrift.TException
- Throws:
ThriftSecurityException
ThriftNotActiveServiceException
org.apache.thrift.TException
-
waitForBalance
public void waitForBalance(TInfo tinfo) throws ThriftNotActiveServiceException, org.apache.thrift.TException
- Specified by:
waitForBalance
in interfaceMasterClientService.Iface
- Throws:
ThriftNotActiveServiceException
org.apache.thrift.TException
-
send_waitForBalance
public void send_waitForBalance(TInfo tinfo) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
recv_waitForBalance
public void recv_waitForBalance() throws ThriftNotActiveServiceException, org.apache.thrift.TException
- Throws:
ThriftNotActiveServiceException
org.apache.thrift.TException
-
reportSplitExtent
public void reportSplitExtent(TInfo tinfo, TCredentials credentials, String serverName, TabletSplit split) throws org.apache.thrift.TException
- Specified by:
reportSplitExtent
in interfaceMasterClientService.Iface
- Throws:
org.apache.thrift.TException
-
send_reportSplitExtent
public void send_reportSplitExtent(TInfo tinfo, TCredentials credentials, String serverName, TabletSplit split) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
reportTabletStatus
public void reportTabletStatus(TInfo tinfo, TCredentials credentials, String serverName, TabletLoadState status, TKeyExtent tablet) throws org.apache.thrift.TException
- Specified by:
reportTabletStatus
in interfaceMasterClientService.Iface
- Throws:
org.apache.thrift.TException
-
send_reportTabletStatus
public void send_reportTabletStatus(TInfo tinfo, TCredentials credentials, String serverName, TabletLoadState status, TKeyExtent tablet) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
getActiveTservers
public List<String> getActiveTservers(TInfo tinfo, TCredentials credentials) throws ThriftSecurityException, ThriftNotActiveServiceException, org.apache.thrift.TException
- Specified by:
getActiveTservers
in interfaceMasterClientService.Iface
- Throws:
ThriftSecurityException
ThriftNotActiveServiceException
org.apache.thrift.TException
-
send_getActiveTservers
public void send_getActiveTservers(TInfo tinfo, TCredentials credentials) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
recv_getActiveTservers
public List<String> recv_getActiveTservers() throws ThriftSecurityException, ThriftNotActiveServiceException, org.apache.thrift.TException
- Throws:
ThriftSecurityException
ThriftNotActiveServiceException
org.apache.thrift.TException
-
getDelegationToken
public TDelegationToken getDelegationToken(TInfo tinfo, TCredentials credentials, TDelegationTokenConfig cfg) throws ThriftSecurityException, ThriftNotActiveServiceException, org.apache.thrift.TException
- Specified by:
getDelegationToken
in interfaceMasterClientService.Iface
- Throws:
ThriftSecurityException
ThriftNotActiveServiceException
org.apache.thrift.TException
-
send_getDelegationToken
public void send_getDelegationToken(TInfo tinfo, TCredentials credentials, TDelegationTokenConfig cfg) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
recv_getDelegationToken
public TDelegationToken recv_getDelegationToken() throws ThriftSecurityException, ThriftNotActiveServiceException, org.apache.thrift.TException
- Throws:
ThriftSecurityException
ThriftNotActiveServiceException
org.apache.thrift.TException
-
drainReplicationTable
public boolean drainReplicationTable(TInfo tfino, TCredentials credentials, String tableName, Set<String> logsToWatch) throws ThriftNotActiveServiceException, org.apache.thrift.TException
- Specified by:
drainReplicationTable
in interfaceMasterClientService.Iface
- Throws:
ThriftNotActiveServiceException
org.apache.thrift.TException
-
send_drainReplicationTable
public void send_drainReplicationTable(TInfo tfino, TCredentials credentials, String tableName, Set<String> logsToWatch) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
recv_drainReplicationTable
public boolean recv_drainReplicationTable() throws ThriftNotActiveServiceException, org.apache.thrift.TException
- Throws:
ThriftNotActiveServiceException
org.apache.thrift.TException
-
-