HBASE-82 Fix up client logging strings
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@657090 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8af6a615e2
commit
3f3e2c5756
|
@ -373,7 +373,7 @@ public class HConnectionManager implements HConstants {
|
||||||
for (int tries = 0; true; tries++) {
|
for (int tries = 0; true; tries++) {
|
||||||
if (tries >= numRetries) {
|
if (tries >= numRetries) {
|
||||||
throw new NoServerForRegionException("Unable to find region for "
|
throw new NoServerForRegionException("Unable to find region for "
|
||||||
+ row + " after " + numRetries + " tries.");
|
+ Bytes.toString(row) + " after " + numRetries + " tries.");
|
||||||
}
|
}
|
||||||
|
|
||||||
try{
|
try{
|
||||||
|
@ -491,7 +491,8 @@ public class HConnectionManager implements HConstants {
|
||||||
HRegionLocation rl = tableLocations.get(row);
|
HRegionLocation rl = tableLocations.get(row);
|
||||||
if (rl != null) {
|
if (rl != null) {
|
||||||
if (LOG.isDebugEnabled()) {
|
if (LOG.isDebugEnabled()) {
|
||||||
LOG.debug("Cache hit in table locations for row <" + row +
|
LOG.debug("Cache hit in table locations for row <" +
|
||||||
|
Bytes.toString(row) +
|
||||||
"> and tableName " + Bytes.toString(tableName) +
|
"> and tableName " + Bytes.toString(tableName) +
|
||||||
": location server " + rl.getServerAddress() +
|
": location server " + rl.getServerAddress() +
|
||||||
", location region name " +
|
", location region name " +
|
||||||
|
|
Loading…
Reference in New Issue