protected long openScanner() throws IOException { incRPCcallsMetrics(); long id = this.server.openScanner(this.location.getRegionInfo().getRegionName(), this.scan); if (logScannerActivity) { LOG.info("Open scanner=" + id + " for scan=" + scan.toString() + " on region " + this.location.toString() + " ip:" + this.location.getServerAddress().getBindAddress()); } return id; }
LOG.info("Scanner=" + scannerId + " expired, current region location is " + location.toString() + " ip:" + location.getServerAddress().getBindAddress()); } catch (Throwable t) { LOG.info("Failed to relocate region", t);
table.getRegionLocation(keys.getFirst()[i]).getServerAddress(); InetAddress regionAddress = regionServerAddress.getInetSocketAddress().getAddress();
String regionLocation = table.getRegionLocation(keys.getFirst()[i]).getServerAddress().getHostname();