This was due to my lack of understanding on how VirtualBox works.
Aug 02 2014 01:50 AM
At work, due to firewall settings, VirtualBox only works with NAT. In this case, I seem to be able to Putty to it by using the IP reported for VirtualBox under Windows with 'ipconfig'. Not the IP reported by ifconfig under CentOS.
At home, I can use NAT and Bridge. I can Putty using the IPs reported on the bridged connection.
However, since I'm a novice on VirtualBox, I decided to give VMWare a try and followed the instructions on the following URL to configure my 3-node cluster.
VMWare automatically assigns IPs and I can putty to those regardless of location. My cluster is using:
NN1 - 192.168.247.141
DN1 - 192.168.247.144
DN2 - 192.168.247.145
I can run HDFS commands, i.e.
#hadoop fs -mkdir /user/hadoop
#hadoop fs -put test.txt /user/hadoop