Class ConfigurableScanServerHostSelector

java.lang.Object
org.apache.accumulo.core.spi.scan.ConfigurableScanServerSelector
org.apache.accumulo.core.spi.scan.ConfigurableScanServerHostSelector
All Implemented Interfaces:
ScanServerSelector

public class ConfigurableScanServerHostSelector extends ConfigurableScanServerSelector
Extension of the ConfigurableScanServerSelector that can be used when there are multiple ScanServers running on the same host and for some reason, like using a shared off-heap cache, sending scans for the same tablet to the same host may provide a better experience. This implementation will initially hash a Tablet to a ScanServer. If the ScanServer is unable to execute the scan, this implementation will try to send the scan to a ScanServer on the same host. If there are no more ScanServers to try on that host, then it will fall back to trying a different host and the process repeats.