Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Please see the Cloudera blog for information on the Cloudera Response to CVE-2021-4428

command hadoop jar stuck

New Contributor

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 1

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.

 

 

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.