Konstantin is right.
Anyway, did you add namenode address to file masters under conf directory?
I think only when I need this node to be a secondary namenode that I
will do this.
Jinyeon Lee 写道:
Konstantin is right.
Anyway, did you add namenode address to file masters under conf
directory?
I'm not sure I get this.
1. If you format the filesystem (which I thought is usually executed on the
master node, but anyway)
don't you erase all your data?
2. I guess I need to add the new machine to the conf/slaves file,
but then I run the start-all.sh again from the master node while my cluster
You just start the new data-node as the cluster is running using
bin/hadoop datanode
The configuration on the new data-node should be the same as on other nodes.
The data-node should join the cluster automatically.
Formatting will destroy your file system.
--Konstantin
David Wei wrote:
Well, in
It is really different from what you said that on my cluster, and
performing format command will not destroy the file system. And if I do
not perform format command on datanode, the datanode will not be able to
find my the master.
Hopefully anybody can tell me the reason.
Konstantin Shvachko 写道: