Created on 12-03-2015 08:23 PM - edited 12-03-2015 08:24 PM
Apparently, the datanode was in in safemode. The following command got everything working:
sudo -u hdfs hdfs dfsadmin -safemode leave
Unfortunately, it seems every time I restart the VM the datanode is placed into safemode and I have to enter the command every time. Not sure why that's the case.