Return-Path: X-Original-To: apmail-hadoop-mapreduce-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-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 CBE6411A72 for ; Wed, 2 Apr 2014 09:07:49 +0000 (UTC) Received: (qmail 16464 invoked by uid 500); 2 Apr 2014 09:07:40 -0000 Delivered-To: apmail-hadoop-mapreduce-user-archive@hadoop.apache.org Received: (qmail 16001 invoked by uid 500); 2 Apr 2014 09:07:38 -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 15989 invoked by uid 99); 2 Apr 2014 09:07:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Apr 2014 09:07:38 +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 mshi@gopivotal.com designates 209.85.223.180 as permitted sender) Received: from [209.85.223.180] (HELO mail-ie0-f180.google.com) (209.85.223.180) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Apr 2014 09:07:33 +0000 Received: by mail-ie0-f180.google.com with SMTP id as1so10466610iec.39 for ; Wed, 02 Apr 2014 02:07:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; bh=tiP5Lfnp7xMw4jgABauCsuf/CmN5nSAE1lpREvLRDak=; b=dT/WSq4PqUD8PI7qf5DW2FXYjUtbZqtkGsbsS+tl9ScYPsOdSa3MEqzWvmMi+iONur DbUfoiY0OHNAGyygoyS6fqtSU6nWYpl5E+ajCBgCXNSkePAijSRajo7OAexHmIoFn3Yu ZIBNRZh2quXoawq6qFFGEN8sDNh9kMMMg+sg5PxV01jUI5rUNeDoxNw/2w40aqt2Ppyg BXB4X+oxy2v9F/zb5bxdpinLCaIEr3k15e07fF+t5IGxxyKRif+qNswS33u7QMn4qQpy EzXahh8gXo6xMS/jOzD8SyaKnPSCS64oLB8rfRprVTEl3KnNszE3gQ8yImWqVZIxVqDO rY8w== X-Gm-Message-State: ALoCoQk/yP3EViXppHIdosXKT7b0zdcTBbpblLVnZfXJAa/QTNK2jCVNVpAyIScjqp6WTxSIrsl9 X-Received: by 10.50.62.104 with SMTP id x8mr78978igr.37.1396429632697; Wed, 02 Apr 2014 02:07:12 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.7.234 with HTTP; Wed, 2 Apr 2014 02:06:52 -0700 (PDT) In-Reply-To: References: From: Mingjiang Shi Date: Wed, 2 Apr 2014 17:06:52 +0800 Message-ID: Subject: Re: DNS pre request for hadoop install To: user Content-Type: multipart/alternative; boundary=047d7bdc1bd0360bc404f60b9c7f X-Virus-Checked: Checked by ClamAV on apache.org --047d7bdc1bd0360bc404f60b9c7f Content-Type: text/plain; charset=ISO-8859-1 In your /etc/hosts file. Change it to something like below: 127.0.0.1 localhost.localdomain localhost then run hostname -f and see what's the output. On Wed, Apr 2, 2014 at 4:43 PM, Alex Lee wrote: > I am trying to use ambari (hortonwoks) to install hadoop. One step is to > pre-config DNS as manual link below. > > http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.0.9.1/bk_using_Ambari_book/content/ambari-chap1-5-5.html > > Since I am only using internal network, not sure how to config > fully.qualified.domain.name. My hostname -f only shows localhost. And in > /etc/sysconfig/network, it give HOSTNAME=localhost.localdomain > > If anyone already get hadoop running, what is the real DNS requests for > hadoop. > Any suggestion, thanks a lot. > > alex > > > -- Cheers -MJ --047d7bdc1bd0360bc404f60b9c7f Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
In = your /etc/hosts file. Change it to something like below:
127.0.0.1 localhost.localdoma= in localhost
then run hostn= ame -f and see what's the output.


On Wed, Apr 2, 2014 at 4:43 PM, Al= ex Lee <eliyart@hotmail.com> wrote:
I am trying to use ambari (hortonwoks) to install had= oop. One step is to pre-config DNS as manual link below.
http://docs.hortonworks.c= om/HDPDocuments/HDP2/HDP-2.0.9.1/bk_using_Ambari_book/content/ambari-chap1-= 5-5.html

Since I am only using internal network, not sure how to config fully.qualified.d= omain.name. My hostname -f only shows localhost. And in /etc/sysconfig/= network, it give HOSTNAME=3Dlocalhost.localdomain

If anyone already get hadoop running, what is the real DNS requests for= hadoop.
Any suggestion, thanks a lot.

alex

=A0



--
C= heers
-MJ
--047d7bdc1bd0360bc404f60b9c7f--