问题
I have started my hadoop using the following command
sbin/start-dfs.sh
When i browse in the hadoop web interface. i get: safemode is on. So, i have leave the safemode by entering :
hdfs dfsadmin -safemode leave.
Now i can create and delete directories. the problem is when i try to upload a file, it doesnt allow me to upload. why? I have used the following command
bin/hdfs fsck /
And the output is :
healthy
.
How can i resolve this?
来源:https://stackoverflow.com/questions/60504475/safemode-in-hadoop-hdfs