You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by Feng Zhou <fe...@gmail.com> on 2005/03/06 10:54:09 UTC

[PATCH] Use IP addresses instead of host names for NDFS data nodes

Hi,

Current the NDFS name node tracks all data nodes by host name. The
names are obtained by InetAddress.getLocalAddress().getHostName().
Unfortunately the name returned by it will be useless if the machine
does not have a proper DNS name. Here's a patch to use IP addresses
instead of names for that purpose. Note that it requires JDK 1.4.

Regards,
- Feng Zhou