- I have created the input text file test.txt and put it to HDFS as /user/yogesh/Input/test.txt
- Created output path on HDFS as /user/yogesh/Output
- Created the jar file on local /home/yogesh/WordCount.jar and submitted MR job from local, like that:
hadoop jar /home/yogesh/WordCount.jar WordCount /user/yogesh/Input/test.txt /user/yogesh/Output/output1
I have got following error:
Exception in thread "main"
org.apache.hadoop.mapreduce.lib.input.InvalidInputException:Input path does not exist: hdfs:host/user/yogesh/WordCount.
hdfs:host/user/yogesh/ - is my HDFS directory. I am not able to understand why this MR job looking for code in HDFS and how to solve this error.