hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jimmy Wan <ji...@indeed.com>
Subject Re: Changing my NameNode
Date Wed, 02 Jul 2008 23:15:00 GMT
Anyone out there with a suggestion?

Is my best option to export data out of the cluster, reformat a new namenode,
and reimport it all?

On Tue, 10 Jun 2008, Jimmy Wan wrote:

>I've got an HDFS cluster with 2 boxes in it.
>Server A is serving as the NameNode and also as a DataNode.
>Server B is a DataNode.
>After successfully decommissioning the HDFS storage of Server A using a
>dfs.hosts.exclude file and dfadmin -refreshNodes:
>Server A is serving as the NameNode.
>Server B is serving as a DataNode.
>How do I change my NameNode to be Server B?
>Can I simply change the hadoop-site.xml, masters, and slaves files for all
>machines in my cluster? I could have sworn that I tried that and it failed.
>P.S. This link is wrong wrt how to decommission a Dattanode.

View raw message