Rita 2011-03-26, 14:34
darren@... 2011-03-26, 21:00
Chris Collins 2011-03-26, 21:28
Ted Dunning 2011-03-26, 22:50
Allen Wittenauer 2011-03-26, 23:49
Rita 2011-03-27, 00:38
Michael Segel 2011-03-28, 20:15
-Re: changing node's rack
Rita 2011-03-29, 12:07
I think I tried this. I have a data file which has the map, ip address:rack,
hostname:rack. I changed that and did a refreshNodes. Is this what you mean?
Or something else? I would be more than happy to test it.
On Mon, Mar 28, 2011 at 4:15 PM, Michael Segel <[EMAIL PROTECTED]>wrote:
> This may be weird, but I could have sworn that the script is called
> One simple test would be to change the rack aware script and print a
> message out when the script is called.
> Then change the script and see if it catches the change without restarting
> the cluster.
> > From: [EMAIL PROTECTED]
> > Date: Sat, 26 Mar 2011 15:50:58 -0700
> > Subject: Re: changing node's rack
> > To: [EMAIL PROTECTED]
> > CC: [EMAIL PROTECTED]
> > 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
> > > '-refreshNodes'. Restarted the datanode. But it seems the datanode is
> > > getting register to the old rack.
> > >
> > > --
> > > --- Get your facts first, then you can distort them as you please.--
> > >
--- Get your facts first, then you can distort them as you please.--