Home:ALL Converter>How to copy files from local file system to HDFS file system?

How to copy files from local file system to HDFS file system?

Ask Time:2015-09-27T15:02:18         Author:NShiva

Json Formatter

I have installed hadoop on Ubuntu 14.04. I am getting the following error whenever I copy files from the local file system to HDFS.

I am using this command:

/usr/local/hadoop$ bin/hadoop dfs -copyFromLocal /tmp/gutenberg /user/hduser/gutenberg

And the error I am experiencing is:

/usr/local/hadoop$: No such file or directory

I am newbie to Linux environment. I could not understand which file is not present.

Author:NShiva,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/32805409/how-to-copy-files-from-local-file-system-to-hdfs-file-system
yy