Python map reduce program

Dear sir ,

I am getting a folowing error :slight_smile:
Not a valid JAR: /usr/hdp/2.3.4.0-3485/hadoop-mapreduce/hadoop-streaming

Command :hadoop jar /usr/hdp/2.3.4.0-3485/hadoop-mapreduce/hadoop-streaming

Hi @CS19M007_Mahendra_Va,

Did you check if the JAR is present in the above location?

Can you please let me know how to check.
Please this is the first time I am doing it

It would be great if you can also share the full command that you are using.

Sir this is the command

hadoop jar /usr/hdp/2.3.4.0-3485/hadoop-mapreduce/hadoop-streaming

Atleast can i get the command to compile it?

Sir my code ran correctly

Command : hadoop jar /usr/hdp/2.6.2.0-205/hadoop-mapreduce/hadoop-streaming-2.7.3.2.6.2.0-205.jar -input sales_data.csv -output output -mapper mapper_1.py -file mapper_1.
py -reducer reducer_1.py -file reducer_1.py

But in file browser i am not getting output in output folder.