root# bin/hadoop fs -mkdir t
mkdir: org.apache.hadoop.hdfs.server.namenode.SafeModeException: Cannot create directory /user/root/t. Name node is in safe mode.
无法在 hdfs 中创建任何内容
我做了
root# bin/hadoop fs -safemode leave
但显示
safemode: Unknown command
问题是什么?
解决方案:http ://unmeshasreeveni.blogspot.com/2014/04/name-node-is-in-safe-mode-how-to-leave.html?m=1