How to format hdfs in AWS Elastic Map Reduce


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.