Skip to main content
Yogesh771
Bronze ⭐️⭐️⭐️
October 10, 2021
Question

command hadoop jar stuck

HI 
I am learning Hadoop, I have tried word count python program 
I am not getting any error but it is stuck and nothing happen, cursor only comes in new line.
I fired below command

Hadoop jar /usr/lib/hadoop-0.20-mapreduce/contrib/streaming/hadoop-streaming-2.6.0-mr1-cdh5.13.0.jar -file /home/cloudera/mapper.py /home/cloudera/reducer.py -mapper "python mapper.py" -reducer "python reducer.py -input /user/cloudera/PracticeSet/test.txt -output /user/cloudera/PracticeSet/

1 reply

ask_bill_brooks
Platinum ⭐️
Platinum ⭐️
October 11, 2021

Hi @Yogesh771 

It would help members of the community in offering possible answers to your question if you posted a link to the tutorial you are presumably following which includes the source code for this python program, describes how to run it and what the expected output is.

 

 

Translate
Bill Brooks, Community Moderator Was your question answered? Make sure to mark the answer as the accepted solution. If you find a reply useful, say thanks by clicking on the thumbs up button.