You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by "Habermaas, William" <Wi...@fatwire.com> on 2009/02/05 15:01:49 UTC
Connecting to namenode
After creation and startup of the hadoop namenode, you can only connect
to the namenode via hostname and not IP.
EX. hostname for box is sunsystem07, ip is 10.120.16.99
If you use the following url, "hdfs://10.120.16.99", to connect to the
namenode, the following message will be printed:
Wrong FS: hdfs://10.120.16.99:9000/, expected:
hdfs://sunsystem07:9000
You will only be able to connect successfully if
"hdfs://sunsystem07:9000" is used.
It seems reasonable to allow connection either by IP or name. Is there
a reason for this behavior or is it a bug?