Uses of Class
org.apache.accumulo.server.master.state.TServerInstance
-
-
Uses of TServerInstance in org.apache.accumulo.server.log
Methods in org.apache.accumulo.server.log that return types with arguments of type TServerInstance Modifier and Type Method Description Map<TServerInstance,List<UUID>>
WalStateManager. getAllMarkers()
Methods in org.apache.accumulo.server.log with parameters of type TServerInstance Modifier and Type Method Description void
WalStateManager. addNewWalMarker(TServerInstance tsi, org.apache.hadoop.fs.Path path)
void
WalStateManager. closeWal(TServerInstance instance, org.apache.hadoop.fs.Path path)
void
WalStateManager. forget(TServerInstance instance)
List<org.apache.hadoop.fs.Path>
WalStateManager. getWalsInUse(TServerInstance tsi)
void
WalStateManager. initWalMarker(TServerInstance tsi)
void
WalStateManager. removeWalMarker(TServerInstance instance, UUID uuid)
Pair<WalStateManager.WalState,org.apache.hadoop.fs.Path>
WalStateManager. state(TServerInstance instance, UUID uuid)
void
WalStateManager. walUnreferenced(TServerInstance tsi, org.apache.hadoop.fs.Path path)
-
Uses of TServerInstance in org.apache.accumulo.server.master
Methods in org.apache.accumulo.server.master that return TServerInstance Modifier and Type Method Description TServerInstance
LiveTServerSet. find(String tabletServer)
Methods in org.apache.accumulo.server.master that return types with arguments of type TServerInstance Modifier and Type Method Description Set<TServerInstance>
LiveTServerSet. getCurrentServers()
Methods in org.apache.accumulo.server.master with parameters of type TServerInstance Modifier and Type Method Description LiveTServerSet.TServerConnection
LiveTServerSet. getConnection(TServerInstance server)
void
LiveTServerSet. remove(TServerInstance server)
Method parameters in org.apache.accumulo.server.master with type arguments of type TServerInstance Modifier and Type Method Description void
LiveTServerSet.Listener. update(LiveTServerSet current, Set<TServerInstance> deleted, Set<TServerInstance> added)
-
Uses of TServerInstance in org.apache.accumulo.server.master.balancer
Methods in org.apache.accumulo.server.master.balancer that return TServerInstance Modifier and Type Method Description TServerInstance
DefaultLoadBalancer. getAssignment(SortedMap<TServerInstance,TabletServerStatus> locations, TServerInstance last)
TServerInstance
GroupBalancer.Location. getTserverInstance()
Methods in org.apache.accumulo.server.master.balancer that return types with arguments of type TServerInstance Modifier and Type Method Description protected Map<String,SortedMap<TServerInstance,TabletServerStatus>>
HostRegexTableLoadBalancer. splitCurrentByRegex(SortedMap<TServerInstance,TabletServerStatus> current)
Group the set of current tservers by pool name.Methods in org.apache.accumulo.server.master.balancer with parameters of type TServerInstance Modifier and Type Method Description TServerInstance
DefaultLoadBalancer. getAssignment(SortedMap<TServerInstance,TabletServerStatus> locations, TServerInstance last)
List<TabletStats>
TabletBalancer. getOnlineTabletsForTable(TServerInstance tserver, TableId tableId)
Fetch the tablets for the given table by asking the tablet server.Constructors in org.apache.accumulo.server.master.balancer with parameters of type TServerInstance Constructor Description Location(TServerInstance tsi)
-
Uses of TServerInstance in org.apache.accumulo.server.master.state
Fields in org.apache.accumulo.server.master.state declared as TServerInstance Modifier and Type Field Description TServerInstance
TabletLocationState. current
TServerInstance
TabletLocationState. future
TServerInstance
TabletLocationState. last
TServerInstance
TabletMigration. newServer
TServerInstance
TabletMigration. oldServer
TServerInstance
Assignment. server
Methods in org.apache.accumulo.server.master.state that return TServerInstance Modifier and Type Method Description TServerInstance
TabletLocationState. futureOrCurrent()
TServerInstance
TabletLocationState. getServer()
protected TServerInstance
ZooTabletStateStore. parse(byte[] current)
Methods in org.apache.accumulo.server.master.state that return types with arguments of type TServerInstance Modifier and Type Method Description Set<TServerInstance>
CurrentState. onlineTabletServers()
Set<TServerInstance>
CurrentState. shutdownServers()
Methods in org.apache.accumulo.server.master.state with parameters of type TServerInstance Modifier and Type Method Description int
TServerInstance. compareTo(TServerInstance other)
Method parameters in org.apache.accumulo.server.master.state with type arguments of type TServerInstance Modifier and Type Method Description TabletState
TabletLocationState. getState(Set<TServerInstance> liveServers)
static void
TabletStateChangeIterator. setCurrentServers(IteratorSetting cfg, Set<TServerInstance> goodServers)
static void
TabletStateChangeIterator. setShuttingDown(IteratorSetting cfg, Set<TServerInstance> servers)
void
MetaDataStateStore. suspend(Collection<TabletLocationState> tablets, Map<TServerInstance,List<org.apache.hadoop.fs.Path>> logsForDeadServers, long suspensionTimestamp)
abstract void
TabletStateStore. suspend(Collection<TabletLocationState> tablets, Map<TServerInstance,List<org.apache.hadoop.fs.Path>> logsForDeadServers, long suspensionTimestamp)
Mark tablets as having no known or future location, but desiring to be returned to their previous tserver.static void
TabletStateStore. suspend(ServerContext context, TabletLocationState tls, Map<TServerInstance,List<org.apache.hadoop.fs.Path>> logsForDeadServers, long suspensionTimestamp)
void
ZooTabletStateStore. suspend(Collection<TabletLocationState> tablets, Map<TServerInstance,List<org.apache.hadoop.fs.Path>> logsForDeadServers, long suspensionTimestamp)
void
MetaDataStateStore. unassign(Collection<TabletLocationState> tablets, Map<TServerInstance,List<org.apache.hadoop.fs.Path>> logsForDeadServers)
abstract void
TabletStateStore. unassign(Collection<TabletLocationState> tablets, Map<TServerInstance,List<org.apache.hadoop.fs.Path>> logsForDeadServers)
Mark the tablets as having no known or future location.static void
TabletStateStore. unassign(ServerContext context, TabletLocationState tls, Map<TServerInstance,List<org.apache.hadoop.fs.Path>> logsForDeadServers)
void
ZooTabletStateStore. unassign(Collection<TabletLocationState> tablets, Map<TServerInstance,List<org.apache.hadoop.fs.Path>> logsForDeadServers)
Constructors in org.apache.accumulo.server.master.state with parameters of type TServerInstance Constructor Description Assignment(KeyExtent tablet, TServerInstance server)
TabletLocationState(KeyExtent extent, TServerInstance future, TServerInstance current, TServerInstance last, SuspendingTServer suspend, Collection<Collection<String>> walogs, boolean chopped)
TabletMigration(KeyExtent extent, TServerInstance before, TServerInstance after)
-
Uses of TServerInstance in org.apache.accumulo.server.util
Methods in org.apache.accumulo.server.util with parameters of type TServerInstance Modifier and Type Method Description static void
MasterMetadataUtil. addNewTablet(ServerContext context, KeyExtent extent, String path, TServerInstance location, Map<FileRef,DataFileValue> datafileSizes, Map<Long,? extends Collection<FileRef>> bulkLoadedFiles, String time, long lastFlushID, long lastCompactID, ZooLock zooLock)
static void
MasterMetadataUtil. replaceDatafiles(ServerContext context, KeyExtent extent, Set<FileRef> datafilesToDelete, Set<FileRef> scanFiles, FileRef path, Long compactionId, DataFileValue size, String address, TServerInstance lastLocation, ZooLock zooLock)
static void
MasterMetadataUtil. replaceDatafiles(ServerContext context, KeyExtent extent, Set<FileRef> datafilesToDelete, Set<FileRef> scanFiles, FileRef path, Long compactionId, DataFileValue size, String address, TServerInstance lastLocation, ZooLock zooLock, boolean insertDeleteFlags)
static void
MasterMetadataUtil. updateTabletDataFile(ServerContext context, KeyExtent extent, FileRef path, FileRef mergeFile, DataFileValue dfv, String time, Set<FileRef> filesInUseByScans, String address, ZooLock zooLock, Set<String> unusedWalLogs, TServerInstance lastLocation, long flushId)
new data file update function adds one data file to a tablet's list
-