How to format hdfs in AWS Elastic Map Reduce Tue 08 July 2014 in Command Line, hadoop, Linux, Programming It's insanely simple. Connect to your master node within AWS Elastic Map Reduce. Then you'll want to connect to the hadoop cluster and reset the NameNode file handlers. hadoop namenode -format That's it. That's how you format the hdfs file system.