HBASE-914 MSG_REPORT_CLOSE has a byte array for a message; Make byte arrays strings in log messages

git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@703632 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2008-10-11 05:22:57 +00:00
parent 4100951aac
commit 3e498e2ca6
1 changed files with 8 additions and 7 deletions

View File

@ -133,8 +133,9 @@ class ProcessServerShutdown extends RegionServerOperation {
if (info.isMetaTable()) { if (info.isMetaTable()) {
if (LOG.isDebugEnabled()) { if (LOG.isDebugEnabled()) {
LOG.debug("removing meta region " + info.getRegionName() + LOG.debug("removing meta region " +
" from online meta regions"); Bytes.toString(info.getRegionName()) +
" from online meta regions");
} }
master.regionManager.offlineMetaRegion(info.getStartKey()); master.regionManager.offlineMetaRegion(info.getStartKey());
} }
@ -171,8 +172,8 @@ class ProcessServerShutdown extends RegionServerOperation {
if (emptyRows.size() > 0) { if (emptyRows.size() > 0) {
LOG.warn("Found " + emptyRows.size() + LOG.warn("Found " + emptyRows.size() +
" rows with empty HRegionInfo while scanning meta region " + " rows with empty HRegionInfo while scanning meta region " +
regionName); Bytes.toString(regionName));
master.deleteEmptyMetaRows(server, regionName, emptyRows); master.deleteEmptyMetaRows(server, regionName, emptyRows);
} }
// Update server in root/meta entries // Update server in root/meta entries
@ -214,8 +215,8 @@ class ProcessServerShutdown extends RegionServerOperation {
public Boolean call() throws IOException { public Boolean call() throws IOException {
if (LOG.isDebugEnabled()) { if (LOG.isDebugEnabled()) {
LOG.debug("process server shutdown scanning " + m.getRegionName() + LOG.debug("process server shutdown scanning " +
" on " + m.getServer()); Bytes.toString(m.getRegionName()) + " on " + m.getServer());
} }
long scannerId = long scannerId =
server.openScanner(m.getRegionName(), COLUMN_FAMILY_ARRAY, server.openScanner(m.getRegionName(), COLUMN_FAMILY_ARRAY,
@ -293,7 +294,7 @@ class ProcessServerShutdown extends RegionServerOperation {
} }
if (LOG.isDebugEnabled()) { if (LOG.isDebugEnabled()) {
LOG.debug("process server shutdown finished scanning " + LOG.debug("process server shutdown finished scanning " +
r.getRegionName() + " on " + r.getServer()); Bytes.toString(r.getRegionName()) + " on " + r.getServer());
} }
} }
master.regionManager.allRegionsClosed(deadServerName); master.regionManager.allRegionsClosed(deadServerName);