Home:ALL Converter>Cannot copy files from local file system to hadoop/hdfs on cloudera

Cannot copy files from local file system to hadoop/hdfs on cloudera

Ask Time:2016-12-29T18:59:56         Author:Mohammed

Json Formatter

After installing cloudera HDC on fedora25 , I can create folders, but not files nor can I copy data from my local file system to HDFS.

This is the command I use:

sudo -u hdfs hadoop fs -copyFromLocal /home/mohammed/Documents/bbc.txt /kareem/corpora/

and this is what I get from the terminal:

SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
copyFromLocal: '/home/mohammed/Documents/bbc.txt': No such file or directory

How to overcome this problem?

Your kind help is highly appreciated!

Author:Mohammed,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/41378334/cannot-copy-files-from-local-file-system-to-hadoop-hdfs-on-cloudera
yy