Input path doesn;t exists


3 Answer(s)


hi Bhupinder,
Check if the input.txt is available in the path /home/cloudera/Desktop/trainigjars/

Thanks

I assume this path needs to be under HDFS? correct?
It isn;t so I tried to this:
[cloudera@quickstart hadoop]$ hadoop fs -ls /
Found 5 items
drwxr-xr-x - hbase supergroup 0 2015-09-16 08:48 /hbase
drwxr-xr-x - solr solr 0 2015-06-09 03:38 /solr
drwxrwxrwx - hdfs supergroup 0 2015-09-16 09:09 /tmp
drwxr-xr-x - hdfs supergroup 0 2015-09-15 11:39 /user
drwxr-xr-x - hdfs supergroup 0 2015-06-09 03:36 /var
[cloudera@quickstart hadoop]$ hadoop fs -mkdir /wordcount
mkdir: Permission denied: user=cloudera, access=WRITE, inode="/":hdfs:supergroup:drwxr-xr-x


sudo -u hdfs hadoop fs -mkdir /wordcount - I was able to create the directory - please ignore above issue. I will update this thread if i have further issues