I got it,Thanks
-----Original Message-----
From: Michael Thomas [mailto:thomas@hep.caltech.edu]
Sent: 2010年4月1日 11:17
To: general@hadoop.apache.org
Subject: Re: How to Recommission?
On 03/31/2010 08:12 PM, Zhanlei Ma wrote:
> How to Recommission or decommission DataNode(s) in hadoop???
> Decommission(Del some Datanodes):
> On a large cluster removing one or two data-nodes will not lead to any data loss, because
name-node will replicate their blocks as long as it
>
[...]
>
>
>
> But how to Recommission? Wish your help.
> Thanks.
>
Remove the hostname from your dfs.hosts.exclude file and run 'hadoop
dfsadmin -refreshNodes'. Then start the datanode process in the
'recommissioned' datanode again.
--Mike
|