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.-- >
