Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

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


 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
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB