if (scan.includeStartRow() && !isEmptyStartRow(getRow())) { getConnection(), getTableName(), getRow()); this.location = id < rl.size() ? rl.getRegionLocation(id) : null; if (location == null || location.getServerName() == null) { throw new IOException("Failed to find location, tableName=" + getTableName() + ", row=" + Bytes.toStringBinary(getRow()) + ", reload=" + reload); byte[] locateStartRow = createCloseRowBefore(getRow()); List<HRegionLocation> locatedRegions = locateRegionsInRange( locateStartRow, getRow(), reload); if (locatedRegions.isEmpty()) { throw new DoNotRetryIOException( "Does hbase:meta exist hole? Couldn't get regions for the range from " + Bytes.toStringBinary(locateStartRow) + " to " + Bytes.toStringBinary(getRow()));
if (scan.includeStartRow() && !isEmptyStartRow(getRow())) { getConnection(), getTableName(), getRow()); this.location = id < rl.size() ? rl.getRegionLocation(id) : null; if (location == null || location.getServerName() == null) { throw new IOException("Failed to find location, tableName=" + getTableName() + ", row=" + Bytes.toStringBinary(getRow()) + ", reload=" + reload); byte[] locateStartRow = createCloseRowBefore(getRow()); List<HRegionLocation> locatedRegions = locateRegionsInRange( locateStartRow, getRow(), reload); if (locatedRegions.isEmpty()) { throw new DoNotRetryIOException( "Does hbase:meta exist hole? Couldn't get regions for the range from " + Bytes.toStringBinary(locateStartRow) + " to " + Bytes.toStringBinary(getRow()));
if (scan.includeStartRow() && !isEmptyStartRow(getRow())) { getConnection(), getTableName(), getRow()); this.location = id < rl.size() ? rl.getRegionLocation(id) : null; if (location == null || location.getServerName() == null) { throw new IOException("Failed to find location, tableName=" + getTableName() + ", row=" + Bytes.toStringBinary(getRow()) + ", reload=" + reload); byte[] locateStartRow = createCloseRowBefore(getRow()); List<HRegionLocation> locatedRegions = locateRegionsInRange( locateStartRow, getRow(), reload); if (locatedRegions.isEmpty()) { throw new DoNotRetryIOException( "Does hbase:meta exist hole? Couldn't get regions for the range from " + Bytes.toStringBinary(locateStartRow) + " to " + Bytes.toStringBinary(getRow()));