HBASE-2222 Improve log "Trying to contact region server Some server for region , row ip_info_100,,1263329969690, but failed after 11 attempts.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@909581 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c6ee51819a
commit
69bd0cb802
|
@ -359,6 +359,9 @@ Release 0.21.0 - Unreleased
|
||||||
(Kay Kay via Stack)
|
(Kay Kay via Stack)
|
||||||
HBASE-2177 Add timestamping to gc logging option
|
HBASE-2177 Add timestamping to gc logging option
|
||||||
HBASE-2066 Perf: parallelize puts
|
HBASE-2066 Perf: parallelize puts
|
||||||
|
HBASE-2222 Improve log "Trying to contact region server Some server for
|
||||||
|
region, row 'ip_info_100,,1263329969690', but failed after
|
||||||
|
11 attempts".
|
||||||
|
|
||||||
NEW FEATURES
|
NEW FEATURES
|
||||||
HBASE-1961 HBase EC2 scripts
|
HBASE-1961 HBase EC2 scripts
|
||||||
|
|
|
@ -49,8 +49,6 @@ import org.apache.hadoop.hbase.KeyValue;
|
||||||
import org.apache.hadoop.hbase.MasterNotRunningException;
|
import org.apache.hadoop.hbase.MasterNotRunningException;
|
||||||
import org.apache.hadoop.hbase.RemoteExceptionHandler;
|
import org.apache.hadoop.hbase.RemoteExceptionHandler;
|
||||||
import org.apache.hadoop.hbase.TableNotFoundException;
|
import org.apache.hadoop.hbase.TableNotFoundException;
|
||||||
import org.apache.hadoop.hbase.NotServingRegionException;
|
|
||||||
import org.apache.hadoop.hbase.regionserver.WrongRegionException;
|
|
||||||
import org.apache.hadoop.hbase.client.MetaScanner.MetaScannerVisitor;
|
import org.apache.hadoop.hbase.client.MetaScanner.MetaScannerVisitor;
|
||||||
import org.apache.hadoop.hbase.ipc.HBaseRPC;
|
import org.apache.hadoop.hbase.ipc.HBaseRPC;
|
||||||
import org.apache.hadoop.hbase.ipc.HBaseRPCProtocolVersion;
|
import org.apache.hadoop.hbase.ipc.HBaseRPCProtocolVersion;
|
||||||
|
@ -1096,8 +1094,8 @@ public class HConnectionManager implements HConstants {
|
||||||
}
|
}
|
||||||
|
|
||||||
private HRegionLocation
|
private HRegionLocation
|
||||||
getRegionLocationForRowWithRetries(byte[] tableName, byte[] rowKey,
|
getRegionLocationForRowWithRetries(byte[] tableName, byte[] rowKey,
|
||||||
boolean reload)
|
boolean reload)
|
||||||
throws IOException {
|
throws IOException {
|
||||||
boolean reloadFlag = reload;
|
boolean reloadFlag = reload;
|
||||||
List<Throwable> exceptions = new ArrayList<Throwable>();
|
List<Throwable> exceptions = new ArrayList<Throwable>();
|
||||||
|
@ -1121,7 +1119,9 @@ public class HConnectionManager implements HConstants {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (location == null) {
|
if (location == null) {
|
||||||
throw new RetriesExhaustedException("Some server",
|
throw new RetriesExhaustedException(" -- nothing found, no 'location' returned," +
|
||||||
|
" tableName=" + Bytes.toString(tableName) +
|
||||||
|
", reload=" + reload + " --",
|
||||||
HConstants.EMPTY_BYTE_ARRAY, rowKey, tries, exceptions);
|
HConstants.EMPTY_BYTE_ARRAY, rowKey, tries, exceptions);
|
||||||
}
|
}
|
||||||
return location;
|
return location;
|
||||||
|
|
Loading…
Reference in New Issue