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 215AD17F9E for ; Wed, 14 Jan 2015 21:49:16 +0000 (UTC) Received: (qmail 98271 invoked by uid 500); 14 Jan 2015 21:49:12 -0000 Delivered-To: apmail-hadoop-mapreduce-user-archive@hadoop.apache.org Received: (qmail 98164 invoked by uid 500); 14 Jan 2015 21:49:12 -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 98154 invoked by uid 99); 14 Jan 2015 21:49:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Jan 2015 21:49:11 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of gotomypc27@gmail.com designates 209.85.216.68 as permitted sender) Received: from [209.85.216.68] (HELO mail-qa0-f68.google.com) (209.85.216.68) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Jan 2015 21:49:07 +0000 Received: by mail-qa0-f68.google.com with SMTP id v8so1904826qal.3 for ; Wed, 14 Jan 2015 13:47:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=gtB/Ojca5yAnQn3mqRnNnus1RawRt9zpjAmMFkhTK4Q=; b=Sh9W4PwcL+g+ru/WQNvegws5flGATfkcsBufr9HI3CWkFZBdDZWGWgRY5OSoM2ngiE UttvNPd1Si49bAXAXt3CFaWIYSx3a3VzYme/06apFamRjM//gJnjErLi91OP/cmThzAU 2b9KrR5HBgRk0SNDmn/qpR7k83EL8flzauY3mparvuW/wcPyvI8E5nzUHjdgpXgqBZBC sFA8FG28i+/cti5ms2UfPm598YJ+VPH2rwq5sIfWrQn5MTRi9hy7/0pnHd/+obj/yXtI IhLFTvME3u5d3Y/9BChUNrhzOnWjIzH5ntyzcTAl+1rFj35A1bOOnPf025JxzWzUmm1R qm8g== MIME-Version: 1.0 X-Received: by 10.224.69.1 with SMTP id x1mr11160182qai.32.1421272037008; Wed, 14 Jan 2015 13:47:17 -0800 (PST) Received: by 10.96.222.226 with HTTP; Wed, 14 Jan 2015 13:47:16 -0800 (PST) In-Reply-To: References: Date: Wed, 14 Jan 2015 13:47:16 -0800 Message-ID: Subject: Re: Able to access namenode UI through ip address but not using hostname From: Krish Donald To: user@hadoop.apache.org Content-Type: multipart/alternative; boundary=001a11c2068ae530f8050ca3ae01 X-Virus-Checked: Checked by ClamAV on apache.org --001a11c2068ae530f8050ca3ae01 Content-Type: text/plain; charset=UTF-8 [hadoop@mynamenode ~]$ chkconfig --list |grep -i iptables iptables 0:off 1:off 2:off 3:off 4:off 5:off 6:off [hadoop@mynamenode ~]$ sestatus SELinux status: disabled On Wed, Jan 14, 2015 at 12:27 PM, johny casanova wrote: > Did you made sure iptables is turned off and selinux ? > > ------------------------------ > Date: Wed, 14 Jan 2015 12:25:13 -0800 > Subject: Re: Able to access namenode UI through ip address but not using > hostname > From: gotomypc27@gmail.com > To: user@hadoop.apache.org; ahmed@aossama.com > > > I get below error: > > The server at *mynamenode* can't be found because the DNS look-up failed. > DNS is the network service that translates a website's name to its Internet > address. This error is most often caused by having no connection to the > Internet or a misconfigured network. It can also be caused by an > unresponsive DNS server or a firewall preventing Google Chromefrom > accessing the network. > > On Wed, Jan 14, 2015 at 11:16 AM, Ahmed Ossama wrote: > > Krish, > > What is the exact error you get in the browser when accessing nn using the > hostname? > > Make sure that the hosts file of the machine that is running the browser > can resolve the hostname. > > Sent from Samsung tablet > > > > -------- Original message -------- > From: Krish Donald > Date: 14/01/2015 19:30 (GMT+02:00) > To: user@hadoop.apache.org > Subject: Re: Able to access namenode UI through ip address but not using > hostname > > > Hi Johny, > > I have all the entries for my namenode and datanode in the below format in > /etc/hosts > ipaddress hostname fully_qualified_hostname > > But still I am not sure why I am facing this issue. > > Thanks > Krish > > On Tue, Jan 13, 2015 at 9:11 PM, johny casanova > wrote: > > Hi Krish, > > make sure that the host your using to access the UI can resolve the name > of the UI. You can do this by modifying the /etc/hosts/ > for example, if the name of the UI host is namenode make sure in the host > file is like this : 192.168.1.10 namenode > > > > ------------------------------ > Date: Tue, 13 Jan 2015 20:40:25 -0800 > Subject: Able to access namenode UI through ip address but not using > hostname > From: gotomypc27@gmail.com > To: user@hadoop.apache.org > > > Hi, > > I don't know where to look into but I am able to access namenode UI > through ip address but not using hostname . > > Please help. > > Thanks > Krish > > > > --001a11c2068ae530f8050ca3ae01 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
[hadoop@mynamenode ~]$ chkconfig --list |grep -i ipta= bles
iptables=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0:off=C2=A0=C2= =A0 1:off=C2=A0=C2=A0 2:off=C2=A0=C2=A0 3:off=C2=A0=C2=A0 4:off=C2=A0=C2=A0= 5:off=C2=A0=C2=A0 6:off
[hadoop@mynamenode ~]$ sestatus
SELinux stat= us:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 disabled


On Wed, Jan 14, 2015 at 12:= 27 PM, johny casanova <pcgamer2426@outlook.com> wrote:=
Did you made sure iptables is turned off and selinux = ?
=C2=A0

Date: Wed, 14 Jan 2015 12:25:13 -0800
Subject: Re: Able to access = namenode UI through ip address but not using hostname
From: gotomypc27@gmail.com
To:
user@= hadoop.apache.org; ahmed@aossama.com


I get below error:

The ser= ver at=C2=A0mynamenode=C2=A0can't be found because = the DNS look-up failed. DNS is the network service that translates a websit= e's name to its Internet address. This error is most often caused by ha= ving no connection to the Internet or a misconfigured network. It can also = be caused by an unresponsive DNS server or a firewall preventing=C2= =A0Google Chrome= from accessi= ng the network.

On Wed, Jan 14, 2015 at 11:16 AM, Ahmed Ossama <<= a href=3D"mailto:ahmed@aossama.com" target=3D"_blank">ahmed@aossama.com= > wrote:
Krish,

What is the exact error you get in the browser when accessing nn using= the hostname?

Make sure that the hosts file of the machine that is running the brows= er can resolve the hostname.

Sent from Samsung tablet



-------- Original message --------
From: Krish Donald &= lt;gotomypc27@gma= il.com>
Date: 14/01/2015 19:30 (GMT+02:00)
To: user@hadoop.apache.org <= br>Subject: Re: Able to access namenode UI through ip address but not using= hostname


Hi Johny,

I have all the entries for my namenode and datanode in the below forma= t in /etc/hosts
ipaddress=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 hostname=C2=A0=C2=A0=C2= =A0=C2=A0 fully_qualified_hostname

But still I am not sure why I am facing this issue.

Thanks
Krish

On Tue, Jan 13, 2015 at 9:11 PM, johny casanova <= pcgamer2426@ou= tlook.com> wrote:
Hi Krish,

make sure that the host your using to acc= ess the UI can resolve the name of the UI.=C2=A0 You can do this by modifyi= ng the /etc/hosts/
for example, if the name of the UI host is namenode m= ake sure in the host file is like this : 192.168.1.10 namenode


<= br>

Date: Tue, 13 Jan 2015 20:40:25 -0800
Subject: Able to access namenode U= I through ip address but not using hostname
From: gotomypc27@gmail.com
To: user@hadoop.apache.org=


Hi,

I don't know where to look into but I am able to access namenode U= I through ip address but not using hostname .

Please help.

Thanks
Krish

=


--001a11c2068ae530f8050ca3ae01--