-Re: decommission a rack
Suresh Srinivas 2011-01-06, 20:59
Removing from slaves file only prevents launching datanode process on that node.
If you you use dfs.hosts configuration to set include file with list of datanodes, remove it from that as well. This will ensure:
* datanode cannot register with the namenode.
* datanode will not be shown in the dead list.
On 1/6/11 12:53 PM, "Michael Segel" <[EMAIL PROTECTED]> wrote:
Its ok if its in the dead column.
Take it out of your slaves file and when you reboot, it will not show up at all.
Until then its just a foot note in history. :-)
> Date: Wed, 5 Jan 2011 21:24:57 -0500
> Subject: Re: decommission a rack
> From: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Thanks for the response.
> I did decommission the server and it took couple of minutes. However,
> I see the server in my "Dead Datanotes" page. How can I completely
> forget about this box?
> On Wed, Jan 5, 2011 at 10:01 AM, Segel, Mike <[EMAIL PROTECTED]> wrote:
> > Change your topology script?
> > One thing about rack awareness. You never want to have an unbalanced configuration. The caveat is if your uplinks between the ToR Switch are 'fat' enough. (4 10GBe should do it.)
> > If you watched your system with the one machine on a separate rack (assuming it was also on a separate switch) you'd see a major network bottle neck. (We use Ganglia)
> > If you're seeing the rack count wrong, you could just bounce the cloud and it should show only two.
> > Note: Deprecating a machine can take a long time. You may want to consider just killing the node, waiting till the cluster recognizes that its down and I believe just kicking off an FSCK or maybe running the balancer program will clean that up faster than deprecating. (YMMV)
> > HTH
> > -Mike
> > -----Original Message-----
> > From: Mag Gam [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, January 05, 2011 5:56 AM
> > To: [EMAIL PROTECTED]
> > Subject: decommission a rack
> > Using 0.21
> > I have a server which was in rack3. It was the only server in this
> > rack so I decommissioned the server. fsck shows only 2 racks however
> > topology shows 3 racks. How can I fix this?
> > The information contained in this communication may be CONFIDENTIAL and is intended only for the use of the recipient(s) named above. If you are not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication, or any of its contents, is strictly prohibited. If you have received this communication in error, please notify the sender and delete/destroy the original message and any copy of it from your computer or paper files.