Return-Path: X-Original-To: apmail-hadoop-common-user-archive@www.apache.org Delivered-To: apmail-hadoop-common-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DC38917C2A for ; Wed, 14 Jan 2015 20:27:12 +0000 (UTC) Received: (qmail 42306 invoked by uid 500); 14 Jan 2015 20:27:08 -0000 Delivered-To: apmail-hadoop-common-user-archive@hadoop.apache.org Received: (qmail 42203 invoked by uid 500); 14 Jan 2015 20:27:08 -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 42193 invoked by uid 99); 14 Jan 2015 20:27:08 -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 20:27:08 +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.181 as permitted sender) Received: from [209.85.216.181] (HELO mail-qc0-f181.google.com) (209.85.216.181) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Jan 2015 20:27:04 +0000 Received: by mail-qc0-f181.google.com with SMTP id l6so489173qcy.12 for ; Wed, 14 Jan 2015 12:25:13 -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=kArQ/K4ZMTqvWavZFedpAdjyanEuAK3CV9fEFXgLCxU=; b=O+h0S5An+BWBdFLuD2iqI2ghy2uTCQd3irqKtjcTM3AYPeK6bmZX5j9/ZgVWh8xy9M 43LLGGz+ftFjE56HBvWlxjIjbqUjeJ4vN/DtJ6q2hRwEWhYyzNmEiI0mDwZse0fhkFo3 BpKHpYKN9J1UC22vTyjjCpGgGncZbP3kMM5cmi5K7GoaycmP0FVi5B/SXrg2ezuukSu6 beoXtZGipf66pWN/r3gZ/Pg2GRwM0EAcPh3a1A4fMqP+d4ziz3XmofREuzrb4S7VubHl 8aLypHN7oIOUM2YJglPqaeE2V8KMIS6jLmx8nUMBnVC+88t20Qxbpit1JUbSRxR/BOv2 if5w== MIME-Version: 1.0 X-Received: by 10.224.69.1 with SMTP id x1mr10519673qai.32.1421267113877; Wed, 14 Jan 2015 12:25:13 -0800 (PST) Received: by 10.96.222.226 with HTTP; Wed, 14 Jan 2015 12:25:13 -0800 (PST) In-Reply-To: References: Date: Wed, 14 Jan 2015 12:25:13 -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, Ahmed Ossama Content-Type: multipart/alternative; boundary=001a11c2068a7425d1050ca289cc X-Virus-Checked: Checked by ClamAV on apache.org --001a11c2068a7425d1050ca289cc Content-Type: text/plain; charset=UTF-8 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 >> > > --001a11c2068a7425d1050ca289cc Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I get below error:

The server= at=C2=A0mynamenode=C2=A0can'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 caus= ed by having no connection to the Internet or a misconfigured network. It c= an also be caused by an unresponsive DNS server or a firewall preventing=C2=A0Google Chrome<= /span>from accessing the network.

On Wed, Jan 14, 2015 at 11:16 AM, Ahmed O= ssama <ahmed@aossama.com> wrote:
Krish,

What is th= e exact error you get in the browser when accessing nn using the hostname?<= /div>

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

<= div style=3D"font-size:100%">Sent from Samsung tablet



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


Hi Johny,

I have all the entries for my n= amenode and datanode in the below format 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@outlook.com>= ; wrote:
Hi Krish,

make sure that the host your using t= o access the UI can resolve the name of the UI.=C2=A0 You can do this by mo= difying the /etc/hosts/
for example, if the name of the UI host is namen= ode 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


--001a11c2068a7425d1050ca289cc--