HBASE-2573 client.HConnectionManager logs non-printable binary bytes

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@946405 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2010-05-19 21:20:58 +00:00
parent e6db59ae2b
commit 8d2b283083
2 changed files with 3 additions and 1 deletions

View File

@ -341,6 +341,8 @@ Release 0.21.0 - Unreleased
Java::JavaLang::String into String (TypeError) - little Java::JavaLang::String into String (TypeError) - little
issue with script issue with script
HBASE-2483 Some tests do not use ephemeral ports HBASE-2483 Some tests do not use ephemeral ports
HBASE-2573 client.HConnectionManager$TableServers logs non-printable
binary bytes (Benoît Sigoure via Stack)
IMPROVEMENTS IMPROVEMENTS

View File

@ -796,7 +796,7 @@ public class HConnectionManager implements HConstants {
if (rl != null) { if (rl != null) {
if (LOG.isDebugEnabled()) { if (LOG.isDebugEnabled()) {
LOG.debug("Cache hit for row <" + LOG.debug("Cache hit for row <" +
Bytes.toString(row) + Bytes.toStringBinary(row) +
"> in tableName " + Bytes.toString(tableName) + "> in tableName " + Bytes.toString(tableName) +
": location server " + rl.getServerAddress() + ": location server " + rl.getServerAddress() +
", location region name " + ", location region name " +