Reverting 1918 but keeping debug

git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@826902 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jean-Daniel Cryans 2009-10-20 00:03:10 +00:00
parent 7b4b398043
commit 93bd67d54c
1 changed files with 2 additions and 2 deletions

View File

@ -235,12 +235,12 @@ public class HServerInfo implements WritableComparable<HServerInfo> {
String host = serverAddress.substring(0, colonIndex);
int port =
Integer.valueOf(serverAddress.substring(colonIndex + 1)).intValue();
name = getServerName(host, port, startCode);
HServerAddress address = new HServerAddress(serverAddress);
if(!address.getHostname().equals(host)) {
System.out.println("HBASE-1918 debug : " + address.getHostname() + " != " + host);
}
name = getServerName(host, port, startCode);
}
return name;
}