'"ENOENT: No such file or directory" in hadoop while executing WordCount program

Trying on the wordcount example by using command "hadoop jar share/hadoop/mapreduce/hadoop-mapreduce-examples-3.1.3.jar wordcount /input /output" in linux shell, however it keep reminds me that "ENOENT: No such file or directory".

I have checked for million times that the hadoop-mapreduce-examples-3.1.3.jar file exists, /input also exists, just can't understand why it keeps reporting error.

My hadoop directory My command and the error it reports The directory can also be viewed on hadoop web server with no problem



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source