Hadoop Streaming Job failed error in python

前端 未结 6 687
闹比i
闹比i 2020-12-05 07:38

From this guide, I have successfully run the sample exercise. But on running my mapreduce job, I am getting the following error
ERROR streaming.StreamJob: Job not

6条回答
  •  情书的邮戳
    2020-12-05 08:11

    Try to add

     #!/usr/bin/env python
    

    top of your script.

    Or,

    -mapper 'python m.py' -reducer 'r.py'
    

提交回复
热议问题