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:
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?