我正在尝试将.csv文件加载到HDFS中。为此,我这样做:
hdfs dfsadmin -safemode leave
sudo -u hdfs hadoop fs -copyFromLocal /home/cloudera/reduced.csv /user/cloudera
但是当我提交这个时,我得到了:
copyFromLocal: Cannot create file/user/cloudera/reduced.csv._COPYING_. Name node is in safe mode.
我已经看过这篇文章了: Name node is in safe mode. Not able to leave
但我仍然得到这个错误...