You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by Colin McCabe <cm...@alumni.cmu.edu> on 2013/01/14 21:36:18 UTC

Re: /etc/hosts

Hi Pavel,

There's some information about the need for 127.0.1.1 here:

http://www.leonardoborda.com/blog/127-0-1-1-ubuntu-debian/

If you have more questions about this, I recommend asking on a
Kerberos-related mailing list (perhaps the specific one for your
Kerberos implementation).

best,
Colin


On Wed, Dec 12, 2012 at 3:18 AM, Pavel Hančar <pa...@gmail.com> wrote:
>   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 <pa...@gmail.com>
>>
>>   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
>
>