I am new to hadoop and trying out the sample program of wordcount already distributed with hadoop installation. I have created input directory named as "input" in hdfs and it contains my pdf file (how-to-code-in-python.pdf). When trying to run hadoop command for wordcount it shows an error
java.lang.Exception: java.io.FileNotFoundException: Path is not a file: /input/input

What is the exact error and how do I solve it?