Product SiteDocumentation Site

3.3.3. Uploading to the HDFS

Now, the data set needs to be put on the HDFS. The best location for data sets that will be used only through WebMapReduce is /user/wmr, since anything in this directory can be specified with a relative path in WMR.
When logged in to your master node (see Section 3.1, “Logging In”), use the following command to put data onto the HDFS:
$ hadoop fs -put local-path hdfs-path
local-path is the name of the file or directory you want to upload, and hdfs-path is the name it will have on the HDFS.