You'd better change the the /etc/sysconfig/network as well so the hostname
is persisted after system reboot.
HOSTNAME=n2.myhdp.com  --->>> HOSTNAME=n2


On Thu, Apr 3, 2014 at 6:05 PM, Alex Lee <eliy...@hotmail.com> wrote:

> Yes, thanks a lot, it is almost done.
>
> ------------------------------
> From: m...@gopivotal.com
> Date: Thu, 3 Apr 2014 14:07:24 +0800
>
> Subject: Re: DNS pre request for hadoop install
> To: user@hadoop.apache.org
>
> So you are on machine n2, right? Run command "hostname n2" and run
> "hostname -f", see what's the output.
>
> --
> Cheers
> -MJ
>



-- 
Cheers
-MJ

Reply via email to