I'm not sure if this issue is related to Amazon EC2. I also had this problem, although there was a pseudo-distributed installation on my machine.
In these cases, I can disable safe mode manually and safely.
Try this command:bin/hadoop dfsadmin -safemode leave
I think you cannot be wrong here. This seems to be a chaotic feature of howoop. I used 0.18.3, which version are you using?
source
share