Interface MasterClientService.Iface
-
- All Superinterfaces:
FateService.Iface
- All Known Implementing Classes:
MasterClientService.Client
- Enclosing class:
- MasterClientService
public static interface MasterClientService.Iface extends FateService.Iface
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
drainReplicationTable(TInfo tfino, TCredentials credentials, String tableName, Set<String> logsToWatch)
List<String>
getActiveTservers(TInfo tinfo, TCredentials credentials)
TDelegationToken
getDelegationToken(TInfo tinfo, TCredentials credentials, TDelegationTokenConfig cfg)
MasterMonitorInfo
getMasterStats(TInfo tinfo, TCredentials credentials)
long
initiateFlush(TInfo tinfo, TCredentials credentials, String tableName)
void
removeNamespaceProperty(TInfo tinfo, TCredentials credentials, String ns, String property)
void
removeSystemProperty(TInfo tinfo, TCredentials credentials, String property)
void
removeTableProperty(TInfo tinfo, TCredentials credentials, String tableName, String property)
void
reportSplitExtent(TInfo tinfo, TCredentials credentials, String serverName, TabletSplit split)
void
reportTabletStatus(TInfo tinfo, TCredentials credentials, String serverName, TabletLoadState status, TKeyExtent tablet)
void
setMasterGoalState(TInfo tinfo, TCredentials credentials, MasterGoalState state)
void
setNamespaceProperty(TInfo tinfo, TCredentials credentials, String ns, String property, String value)
void
setSystemProperty(TInfo tinfo, TCredentials credentials, String property, String value)
void
setTableProperty(TInfo tinfo, TCredentials credentials, String tableName, String property, String value)
void
shutdown(TInfo tinfo, TCredentials credentials, boolean stopTabletServers)
void
shutdownTabletServer(TInfo tinfo, TCredentials credentials, String tabletServer, boolean force)
void
waitForBalance(TInfo tinfo)
void
waitForFlush(TInfo tinfo, TCredentials credentials, String tableName, ByteBuffer startRow, ByteBuffer endRow, long flushID, long maxLoops)
-
Methods inherited from interface org.apache.accumulo.core.master.thrift.FateService.Iface
beginFateOperation, executeFateOperation, finishFateOperation, waitForFateOperation
-
-
-
-
Method Detail
-
initiateFlush
long initiateFlush(TInfo tinfo, TCredentials credentials, String tableName) throws ThriftSecurityException, ThriftTableOperationException, org.apache.thrift.TException
- Throws:
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException
-
waitForFlush
void waitForFlush(TInfo tinfo, TCredentials credentials, String tableName, ByteBuffer startRow, ByteBuffer endRow, long flushID, long maxLoops) throws ThriftSecurityException, ThriftTableOperationException, org.apache.thrift.TException
- Throws:
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException
-
setTableProperty
void setTableProperty(TInfo tinfo, TCredentials credentials, String tableName, String property, String value) throws ThriftSecurityException, ThriftTableOperationException, org.apache.thrift.TException
- Throws:
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException
-
removeTableProperty
void removeTableProperty(TInfo tinfo, TCredentials credentials, String tableName, String property) throws ThriftSecurityException, ThriftTableOperationException, org.apache.thrift.TException
- Throws:
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException
-
setNamespaceProperty
void setNamespaceProperty(TInfo tinfo, TCredentials credentials, String ns, String property, String value) throws ThriftSecurityException, ThriftTableOperationException, org.apache.thrift.TException
- Throws:
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException
-
removeNamespaceProperty
void removeNamespaceProperty(TInfo tinfo, TCredentials credentials, String ns, String property) throws ThriftSecurityException, ThriftTableOperationException, org.apache.thrift.TException
- Throws:
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException
-
setMasterGoalState
void setMasterGoalState(TInfo tinfo, TCredentials credentials, MasterGoalState state) throws ThriftSecurityException, org.apache.thrift.TException
- Throws:
ThriftSecurityException
org.apache.thrift.TException
-
shutdown
void shutdown(TInfo tinfo, TCredentials credentials, boolean stopTabletServers) throws ThriftSecurityException, org.apache.thrift.TException
- Throws:
ThriftSecurityException
org.apache.thrift.TException
-
shutdownTabletServer
void shutdownTabletServer(TInfo tinfo, TCredentials credentials, String tabletServer, boolean force) throws ThriftSecurityException, org.apache.thrift.TException
- Throws:
ThriftSecurityException
org.apache.thrift.TException
-
setSystemProperty
void setSystemProperty(TInfo tinfo, TCredentials credentials, String property, String value) throws ThriftSecurityException, org.apache.thrift.TException
- Throws:
ThriftSecurityException
org.apache.thrift.TException
-
removeSystemProperty
void removeSystemProperty(TInfo tinfo, TCredentials credentials, String property) throws ThriftSecurityException, org.apache.thrift.TException
- Throws:
ThriftSecurityException
org.apache.thrift.TException
-
getMasterStats
MasterMonitorInfo getMasterStats(TInfo tinfo, TCredentials credentials) throws ThriftSecurityException, org.apache.thrift.TException
- Throws:
ThriftSecurityException
org.apache.thrift.TException
-
waitForBalance
void waitForBalance(TInfo tinfo) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
reportSplitExtent
void reportSplitExtent(TInfo tinfo, TCredentials credentials, String serverName, TabletSplit split) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
reportTabletStatus
void reportTabletStatus(TInfo tinfo, TCredentials credentials, String serverName, TabletLoadState status, TKeyExtent tablet) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
getActiveTservers
List<String> getActiveTservers(TInfo tinfo, TCredentials credentials) throws ThriftSecurityException, org.apache.thrift.TException
- Throws:
ThriftSecurityException
org.apache.thrift.TException
-
getDelegationToken
TDelegationToken getDelegationToken(TInfo tinfo, TCredentials credentials, TDelegationTokenConfig cfg) throws ThriftSecurityException, org.apache.thrift.TException
- Throws:
ThriftSecurityException
org.apache.thrift.TException
-
drainReplicationTable
boolean drainReplicationTable(TInfo tfino, TCredentials credentials, String tableName, Set<String> logsToWatch) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
-