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

Switch to Threaded View
MapReduce >> mail # user >> Re: /etc/hosts


Copy link to this message
-
Re: /etc/hosts
 Really no one knows? Please, can you advise me at least some other
mailing list, where I can ask this question?
  Thnaks,
   Pavel

2012/12/8 Pavel Hančar <[EMAIL PROTECTED]>

>   Hello,
> I would like to run Hadoop on linux nodes with /etc/hosts like this:
>
> 127.0.0.1       localhost
> 127.0.1.1       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