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:
parent
7b4b398043
commit
93bd67d54c
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue