public class LiveTServerSet.TServerConnection extends Object
| Constructor and Description |
|---|
TServerConnection(HostAndPort addr) |
| Modifier and Type | Method and Description |
|---|---|
void |
assignTablet(ZooLock lock,
KeyExtent extent) |
void |
chop(ZooLock lock,
KeyExtent extent) |
void |
compact(ZooLock lock,
String tableId,
byte[] startRow,
byte[] endRow) |
void |
fastHalt(ZooLock lock) |
void |
flush(ZooLock lock,
String tableId,
byte[] startRow,
byte[] endRow) |
TabletServerStatus |
getTableMap(boolean usePooledConnection) |
void |
halt(ZooLock lock) |
boolean |
isActive(long tid) |
void |
splitTablet(ZooLock lock,
KeyExtent extent,
org.apache.hadoop.io.Text splitPoint) |
void |
unloadTablet(ZooLock lock,
KeyExtent extent,
TUnloadTabletGoal goal,
long requestTime) |
public TServerConnection(HostAndPort addr) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic void assignTablet(ZooLock lock, KeyExtent extent) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic void unloadTablet(ZooLock lock, KeyExtent extent, TUnloadTabletGoal goal, long requestTime) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic TabletServerStatus getTableMap(boolean usePooledConnection) throws org.apache.thrift.TException, ThriftSecurityException
org.apache.thrift.TExceptionThriftSecurityExceptionpublic void halt(ZooLock lock) throws org.apache.thrift.TException, ThriftSecurityException
org.apache.thrift.TExceptionThriftSecurityExceptionpublic void fastHalt(ZooLock lock) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic void flush(ZooLock lock, String tableId, byte[] startRow, byte[] endRow) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic void chop(ZooLock lock, KeyExtent extent) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic void splitTablet(ZooLock lock, KeyExtent extent, org.apache.hadoop.io.Text splitPoint) throws org.apache.thrift.TException, ThriftSecurityException, NotServingTabletException
org.apache.thrift.TExceptionThriftSecurityExceptionNotServingTabletExceptionpublic void compact(ZooLock lock, String tableId, byte[] startRow, byte[] endRow) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic boolean isActive(long tid)
throws org.apache.thrift.TException
org.apache.thrift.TExceptionCopyright © 2011–2018 The Apache Software Foundation. All rights reserved.