Name node is in safe mode. Not able to leave - Stack Overflow Update: Use hdfs command instead of hadoop command for newer distributions The hadoop command is being deprecated: hdfs dfsadmin -safemode leave hadoop dfsadmin has been deprecated and so is hadoop fs command, all hdfs related tasks are being moved to a separate command hdfs