Unable to put files in HDFS

hdfs

#1

Hi

Hi All,

I am new to linux environment, whenever I try to copy local files into HDFS for first time, I am getting this same error ,‘no such file or directory’

Please refer the screenshot and help me out please.


#2

@cpatro

First check whether the file or directory exist or not then give a try like below.
hadoop fs -put PATH_OF_FILE /user/cloudera/

EX: hadoop fs -put filename /user/cloudera

In your case, try below commands and if your still facing issues let us know.
$ cd /usr/data/data-master
$ **hadoop fs -put retail-db /user/cloudera/