Return-Path: X-Original-To: apmail-hadoop-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C1481E281 for ; Sat, 8 Dec 2012 16:56:43 +0000 (UTC) Received: (qmail 66738 invoked by uid 500); 8 Dec 2012 16:56:38 -0000 Delivered-To: apmail-hadoop-user-archive@hadoop.apache.org Received: (qmail 66560 invoked by uid 500); 8 Dec 2012 16:56:37 -0000 Mailing-List: contact user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hadoop.apache.org Delivered-To: mailing list user@hadoop.apache.org Received: (qmail 66526 invoked by uid 99); 8 Dec 2012 16:56:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 Dec 2012 16:56:35 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of pavel.hancar@gmail.com designates 209.85.220.176 as permitted sender) Received: from [209.85.220.176] (HELO mail-vc0-f176.google.com) (209.85.220.176) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 Dec 2012 16:56:29 +0000 Received: by mail-vc0-f176.google.com with SMTP id fo13so1435414vcb.35 for ; Sat, 08 Dec 2012 08:56:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=CQecMQv9wkbyapYcB4MRfGHvuLj2HtPNdTTBtu9OhRE=; b=BXgJt2kx/VUPlcY5b3ubbRahMsNcTDPBUx4grMa20XdxntNWzCsewdTY80h854jZsd Tsqo+8KKdEFLRUCU5GgyzHwoaTsH6SfYoBFJhruU2p5h1PTM1MU+ogpQ79ZZus1thy3o L4U2JWHe2SzB4+BBDQnj6V33qv8y5lZ/9sqWyQmqClRtfRLdtO+sPviHXWWe87PRld04 Wcx9gvLwwAqRHJpZdx9qhUAkKOzezwTI1L5qPnFiBXeNAudtl1kLr9BTEfpT3PDum0Cb ZzNoualTz+NBGik/5Yv30ZoBoLPXfzsfIMXBG8fTU2AqP29Sxb3ewgi5xtXVGaH3wiEM kxKA== MIME-Version: 1.0 Received: by 10.52.97.136 with SMTP id ea8mr5316672vdb.17.1354985768387; Sat, 08 Dec 2012 08:56:08 -0800 (PST) Received: by 10.220.230.197 with HTTP; Sat, 8 Dec 2012 08:56:08 -0800 (PST) Date: Sat, 8 Dec 2012 17:56:08 +0100 Message-ID: Subject: /etc/hosts From: =?ISO-8859-2?Q?Pavel_Han=E8ar?= To: user@hadoop.apache.org Content-Type: multipart/alternative; boundary=20cf307abca96683b404d05a3507 X-Virus-Checked: Checked by ClamAV on apache.org --20cf307abca96683b404d05a3507 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: quoted-printable 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=E8ar --20cf307abca96683b404d05a3507 Content-Type: text/html; charset=ISO-8859-2 Content-Transfer-Encoding: quoted-printable =A0 Hello,
I would like to run Hadoop on linux nodes with /etc/hosts lik= e this:

127.0.0.1=A0=A0=A0=A0=A0=A0 localhost
127.0.1.1=A0=A0=A0= =A0=A0=A0 hostname.domainname =A0=A0=A0=A0 hostname

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