I successfully ran the mapreduce job for wordcount. When i gave the ls command to see the output, it says no output directory exists. can someone help why the output directory is not getting created ?


2 Answer(s)


In your command : hadoop jar DeZyreWordCount.jar com.dezyre.DeZyreWordCount /user/cloudera/wordcount/input/words.txt user/cloudera/wordcount/output1


the out put path you specified does not have '/'(slash) in front of 'user' . Can you check it once ?

@RaviKumar - Thank you. It worked :)