Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hadoop, mail # user - changing node's rack


Copy link to this message
-
Re: changing node's rack
Ted Dunning 2011-03-26, 22:50
I think that the namenode remembers the rack.  Restarting the datanode
doesn't make it forget.

On Sat, Mar 26, 2011 at 7:34 AM, Rita <[EMAIL PROTECTED]> wrote:

> What is the best way to change the rack of a node?
>
> I have tried the following: Killed the datanode process. Changed the
> rackmap
> file so the node && and ip address entry reflect the new rack and I do a
> '-refreshNodes'. Restarted the datanode.  But it seems the datanode is keep
> getting register to the old rack.
>
> --
> --- Get your facts first, then you can distort them as you please.--
>