Adding debug for 1918

git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@826893 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jean-Daniel Cryans 2009-10-19 23:51:18 +00:00
parent e7e57abc47
commit 7b4b398043
2 changed files with 6 additions and 0 deletions

View File

@ -129,6 +129,7 @@ Release 0.21.0 - Unreleased
indendently from any other files
HBASE-1537 Intra-row scanning
HBASE-1918 Don't do DNS resolving in .META. scanner for each row
HBASE-1756 Refactor HLog (changing package first)
OPTIMIZATIONS
HBASE-410 [testing] Speed up the test suite

View File

@ -236,6 +236,11 @@ public class HServerInfo implements WritableComparable<HServerInfo> {
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);
}
}
return name;
}