hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r657090 - /hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/client/HConnectionManager.java
Date Fri, 16 May 2008 15:00:31 GMT
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 " +



Mime
View raw message