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

Switch to Threaded View
HDFS, mail # user - Re: /etc/hosts


Copy link to this message
-
Re: /etc/hosts
Colin McCabe 2013-01-14, 20:36
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 <[EMAIL PROTECTED]> 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 <[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
>
>