You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by S D <sd...@gmail.com> on 2009/02/14 01:16:16 UTC

Hostnames on MapReduce Web UI

I'm reviewing the task trackers on the web interface (
http://jobtracker-hostname:50030/) for my cluster of 3 machines. The names
of the task trackers do not list real domain names; e.g., one of the task
trackers is listed as:

tracker_localhost:localhost/127.0.0.1:48167

I believe that the networking on my machines is set correctly. What do I
need to configure so that the listing above will show the actual domain
name? This will help me in diagnosing where problems are occurring in my
cluster. Note that at the top of the page the hostname (in my case "storm")
is properly listed; e.g.,

storm Hadoop Machine List

Thanks,
John

Re: Hostnames on MapReduce Web UI

Posted by S D <sd...@gmail.com>.
Thanks, this did it. I changed my /etc/hosts file on each node from
     127.0.0.1     localhost localhost.localdomain
     127.0.0.1     <hostname>
to just switch the order with
     127.0.0.1     <hostname>
     127.0.0.1     localhost localhost.localdomain
This did the trick! I vaguely recall from somewhere that I need the
localhost localhost.localdomain line so I thought I better avoid removing it
altogether.

Thanks,
John



On Sun, Feb 15, 2009 at 10:38 AM, Nick Cen <ce...@gmail.com> wrote:

> Try comment out te localhost definition in your /etc/hosts file.
>
> 2009/2/14 S D <sd...@gmail.com>
>
> > I'm reviewing the task trackers on the web interface (
> > http://jobtracker-hostname:50030/) for my cluster of 3 machines. The
> names
> > of the task trackers do not list real domain names; e.g., one of the task
> > trackers is listed as:
> >
> > tracker_localhost:localhost/127.0.0.1:48167
> >
> > I believe that the networking on my machines is set correctly. What do I
> > need to configure so that the listing above will show the actual domain
> > name? This will help me in diagnosing where problems are occurring in my
> > cluster. Note that at the top of the page the hostname (in my case
> "storm")
> > is properly listed; e.g.,
> >
> > storm Hadoop Machine List
> >
> > Thanks,
> > John
> >
>
>
>
> --
> http://daily.appspot.com/food/
>

Re: Hostnames on MapReduce Web UI

Posted by Nick Cen <ce...@gmail.com>.
Try comment out te localhost definition in your /etc/hosts file.

2009/2/14 S D <sd...@gmail.com>

> I'm reviewing the task trackers on the web interface (
> http://jobtracker-hostname:50030/) for my cluster of 3 machines. The names
> of the task trackers do not list real domain names; e.g., one of the task
> trackers is listed as:
>
> tracker_localhost:localhost/127.0.0.1:48167
>
> I believe that the networking on my machines is set correctly. What do I
> need to configure so that the listing above will show the actual domain
> name? This will help me in diagnosing where problems are occurring in my
> cluster. Note that at the top of the page the hostname (in my case "storm")
> is properly listed; e.g.,
>
> storm Hadoop Machine List
>
> Thanks,
> John
>



-- 
http://daily.appspot.com/food/