Class LiveTServerSet.TServerConnection
- java.lang.Object
-
- org.apache.accumulo.server.master.LiveTServerSet.TServerConnection
-
- Enclosing class:
- LiveTServerSet
public class LiveTServerSet.TServerConnection extends Object
-
-
Constructor Summary
Constructors Constructor Description TServerConnection(HostAndPort addr)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Constructor Detail
-
TServerConnection
public TServerConnection(HostAndPort addr) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
-
Method Detail
-
assignTablet
public void assignTablet(ZooLock lock, KeyExtent extent) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
unloadTablet
public void unloadTablet(ZooLock lock, KeyExtent extent, TUnloadTabletGoal goal, long requestTime) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
getTableMap
public TabletServerStatus getTableMap(boolean usePooledConnection) throws org.apache.thrift.TException, ThriftSecurityException
- Throws:
org.apache.thrift.TException
ThriftSecurityException
-
halt
public void halt(ZooLock lock) throws org.apache.thrift.TException, ThriftSecurityException
- Throws:
org.apache.thrift.TException
ThriftSecurityException
-
fastHalt
public void fastHalt(ZooLock lock) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
flush
public void flush(ZooLock lock, String tableId, byte[] startRow, byte[] endRow) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
chop
public void chop(ZooLock lock, KeyExtent extent) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
splitTablet
public void splitTablet(ZooLock lock, KeyExtent extent, org.apache.hadoop.io.Text splitPoint) throws org.apache.thrift.TException, ThriftSecurityException, NotServingTabletException
- Throws:
org.apache.thrift.TException
ThriftSecurityException
NotServingTabletException
-
compact
public void compact(ZooLock lock, String tableId, byte[] startRow, byte[] endRow) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
isActive
public boolean isActive(long tid) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
-