I\'ve started hadoop cluster composed of on master and 4 slave nodes.
Configuration seems ok:
hduser@ubuntu-amd64:/usr/local/hadoop$ ./bin/hdfs dfsadmin -rep
I have the same trouble because I use ip instead of hostname, [hdfs dfsadmin -report] is correct though it is only one[localhost] in UI. Finally, I solved it like this:
ip
hostname
[hdfs dfsadmin -report]
dfs.datanode.hostname the name you want to show
you almost can't find it in any doucument...