Introduction
A Hadoop NameNode and three DataNodes have been installed and are running. The next step is to provide a File to HDFS. The following comman
If no path is provided, hadoop will try to copy the file in your hdfs home directory. In other words, if you're logged as utrecht, it will try to copy ubuntu-14.04-desktop-amd64.iso to /user/utrecht
.
However, this folder doesn't exist from scratch (you can normally check the dfs via a web browser). To make your command work, you have two choices :
/
works, but putting everything there may lead to complications in the future)hdfs dfs -mkdir /yourFolderPath