HBASE-1272 Unreadable log messages -- ... to the only server localhost_1237525439599_56094 <- You'd have to be perverse to recognize that as a hostname, startcode, and port

git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@777190 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2009-05-21 17:29:18 +00:00
parent 7b8db7bb8c
commit 8feca37650
2 changed files with 6 additions and 3 deletions

View File

@ -150,6 +150,9 @@ Release 0.20.0 - Unreleased
HBASE-1257 base64 encoded values are not contained in quotes during the HBASE-1257 base64 encoded values are not contained in quotes during the
HBase REST JSON serialization (Brian Beggs via Stack) HBase REST JSON serialization (Brian Beggs via Stack)
HBASE-1436 Killing regionserver can make corrupted hfile HBASE-1436 Killing regionserver can make corrupted hfile
HBASE-1272 Unreadable log messages -- "... to the only server
localhost_1237525439599_56094" <- You'd have to be perverse
to recognize that as a hostname, startcode, and port
IMPROVEMENTS IMPROVEMENTS
HBASE-1089 Add count of regions on filesystem to master UI; add percentage HBASE-1089 Add count of regions on filesystem to master UI; add percentage

View File

@ -245,10 +245,10 @@ public class HServerInfo implements WritableComparable<HServerInfo> {
private static String getServerName(String hostName, int port, long startCode) { private static String getServerName(String hostName, int port, long startCode) {
StringBuilder name = new StringBuilder(hostName); StringBuilder name = new StringBuilder(hostName);
name.append("_"); name.append(",");
name.append(startCode);
name.append("_");
name.append(port); name.append(port);
name.append(",");
name.append(startCode);
return name.toString(); return name.toString();
} }
} }