You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2008/05/16 17:00:31 UTC

svn commit: r657090 - /hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/client/HConnectionManager.java

Author: stack
Date: Fri May 16 08:00:31 2008
New Revision: 657090

URL: http://svn.apache.org/viewvc?rev=657090&view=rev
Log:
HBASE-82 Fix up client logging strings

Modified:
    hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/client/HConnectionManager.java

Modified: hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/client/HConnectionManager.java
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/client/HConnectionManager.java?rev=657090&r1=657089&r2=657090&view=diff
==============================================================================
--- hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/client/HConnectionManager.java (original)
+++ hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/client/HConnectionManager.java Fri May 16 08:00:31 2008
@@ -373,7 +373,7 @@
       for (int tries = 0; true; tries++) {
         if (tries >= numRetries) {
           throw new NoServerForRegionException("Unable to find region for " 
-            + row + " after " + numRetries + " tries.");
+            + Bytes.toString(row) + " after " + numRetries + " tries.");
         }
 
         try{
@@ -491,7 +491,8 @@
       HRegionLocation rl = tableLocations.get(row);
       if (rl != null) {
         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) +
             ": location server " + rl.getServerAddress() +
             ", location region name " +