public class MasterClientServiceHandler extends Object implements MasterClientService.Iface
| Modifier | Constructor and Description |
|---|---|
protected |
MasterClientServiceHandler(Master master) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbeginFateOperation, executeFateOperation, finishFateOperation, waitForFateOperationprotected final Master master
protected MasterClientServiceHandler(Master master)
public long initiateFlush(TInfo tinfo, TCredentials c, String tableIdStr) throws ThriftSecurityException, ThriftTableOperationException
initiateFlush in interface MasterClientService.IfaceThriftSecurityExceptionThriftTableOperationExceptionpublic void waitForFlush(TInfo tinfo, TCredentials c, String tableIdStr, ByteBuffer startRow, ByteBuffer endRow, long flushID, long maxLoops) throws ThriftSecurityException, ThriftTableOperationException
waitForFlush in interface MasterClientService.IfaceThriftSecurityExceptionThriftTableOperationExceptionpublic MasterMonitorInfo getMasterStats(TInfo info, TCredentials credentials) throws ThriftSecurityException
getMasterStats in interface MasterClientService.IfaceThriftSecurityExceptionpublic void removeTableProperty(TInfo info, TCredentials credentials, String tableName, String property) throws ThriftSecurityException, ThriftTableOperationException
removeTableProperty in interface MasterClientService.IfaceThriftSecurityExceptionThriftTableOperationExceptionpublic void setTableProperty(TInfo info, TCredentials credentials, String tableName, String property, String value) throws ThriftSecurityException, ThriftTableOperationException
setTableProperty in interface MasterClientService.IfaceThriftSecurityExceptionThriftTableOperationExceptionpublic void shutdown(TInfo info, TCredentials c, boolean stopTabletServers) throws ThriftSecurityException
shutdown in interface MasterClientService.IfaceThriftSecurityExceptionpublic void shutdownTabletServer(TInfo info, TCredentials c, String tabletServer, boolean force) throws ThriftSecurityException
shutdownTabletServer in interface MasterClientService.IfaceThriftSecurityExceptionpublic void reportSplitExtent(TInfo info, TCredentials credentials, String serverName, TabletSplit split)
reportSplitExtent in interface MasterClientService.Ifacepublic void reportTabletStatus(TInfo info, TCredentials credentials, String serverName, TabletLoadState status, TKeyExtent ttablet)
reportTabletStatus in interface MasterClientService.Ifacepublic void setMasterGoalState(TInfo info, TCredentials c, MasterGoalState state) throws ThriftSecurityException
setMasterGoalState in interface MasterClientService.IfaceThriftSecurityExceptionpublic void removeSystemProperty(TInfo info, TCredentials c, String property) throws ThriftSecurityException
removeSystemProperty in interface MasterClientService.IfaceThriftSecurityExceptionpublic void setSystemProperty(TInfo info, TCredentials c, String property, String value) throws ThriftSecurityException, org.apache.thrift.TException
setSystemProperty in interface MasterClientService.IfaceThriftSecurityExceptionorg.apache.thrift.TExceptionpublic void setNamespaceProperty(TInfo tinfo, TCredentials credentials, String ns, String property, String value) throws ThriftSecurityException, ThriftTableOperationException
setNamespaceProperty in interface MasterClientService.IfaceThriftSecurityExceptionThriftTableOperationExceptionpublic void removeNamespaceProperty(TInfo tinfo, TCredentials credentials, String ns, String property) throws ThriftSecurityException, ThriftTableOperationException
removeNamespaceProperty in interface MasterClientService.IfaceThriftSecurityExceptionThriftTableOperationExceptionpublic void waitForBalance(TInfo tinfo) throws org.apache.thrift.TException
waitForBalance in interface MasterClientService.Ifaceorg.apache.thrift.TExceptionpublic List<String> getActiveTservers(TInfo tinfo, TCredentials credentials) throws org.apache.thrift.TException
getActiveTservers in interface MasterClientService.Ifaceorg.apache.thrift.TExceptionpublic TDelegationToken getDelegationToken(TInfo tinfo, TCredentials credentials, TDelegationTokenConfig tConfig) throws ThriftSecurityException, org.apache.thrift.TException
getDelegationToken in interface MasterClientService.IfaceThriftSecurityExceptionorg.apache.thrift.TExceptionpublic boolean drainReplicationTable(TInfo tfino, TCredentials credentials, String tableName, Set<String> logsToWatch) throws org.apache.thrift.TException
drainReplicationTable in interface MasterClientService.Ifaceorg.apache.thrift.TExceptionprotected Table.ID getTableId(ClientContext context, String tableName) throws ThriftTableOperationException
ThriftTableOperationExceptionprotected boolean allReferencesReplicated(BatchScanner bs, org.apache.hadoop.io.Text tableId, Set<String> relevantLogs)
public long beginFateOperation(TInfo tinfo, TCredentials credentials) throws ThriftSecurityException
beginFateOperation in interface FateService.IfaceThriftSecurityExceptionpublic void executeFateOperation(TInfo tinfo, TCredentials c, long opid, FateOperation op, List<ByteBuffer> arguments, Map<String,String> options, boolean autoCleanup) throws ThriftSecurityException, ThriftTableOperationException
executeFateOperation in interface FateService.IfaceThriftSecurityExceptionThriftTableOperationExceptionpublic String waitForFateOperation(TInfo tinfo, TCredentials credentials, long opid) throws ThriftSecurityException, ThriftTableOperationException
waitForFateOperation in interface FateService.IfaceThriftSecurityExceptionThriftTableOperationExceptionpublic void finishFateOperation(TInfo tinfo, TCredentials credentials, long opid) throws ThriftSecurityException
finishFateOperation in interface FateService.IfaceThriftSecurityExceptionprotected void authenticate(TCredentials credentials) throws ThriftSecurityException
ThriftSecurityExceptionCopyright © 2011–2018 The Apache Software Foundation. All rights reserved.