Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hadoop >> mail # user >> /etc/hosts

I would like to run Hadoop on linux nodes with /etc/hosts like this:       localhost       hostname.domainname      hostname

My administrator says, he needs the second line because of Kerberos. I
tried to LD_PRELOAD a modified version of gettaddrinfo, but it works only
for some of Hadoop versions (namely It works with CDH3u1 but with CDH3u5 it
doesn't). Is there any way to set it in Hadoop without those ugly hacks? Or
is there any way to hack it for all Hadoop distros?
  Thank you very much,
  Pavel Hančar