The Hortonworks Community Connection is now live. A completely rebuilt Q&A forum, Knowledge Base, Code Hub and more, backed by the experts in the industry.

You will be redirected here in 10 seconds. If your are not redirected, click here to visit the new site.

The legacy Hortonworks Forum is now closed. You can view a read-only version of the former site by clicking here. The site will be taken offline on January 31,2016

HDP on Windows – Installation Forum

hadoop streaming error

  • #33751
    Taehyeon Oh

    Counting the number of words in the text data is MapReduce.
    However, the following error appears.
    I do not know what the problem is.

    hadoop jar C:\hdp\hadoop\hadoop-\contrib\streaming\hadoop-streaming- -files “hdfs:///user/Administrator/abc/map.exe,hdfs:///user/Administrator/abc/reduce.exe” -input “/user/Administrator/abc/pic” -output “/user/Administrator/abc/result” -mapper “map.exe” -reducer “reduce.exe”
    packageJobJar: [] [/C:/hdp/hadoop/hadoop-] C:\Users\ADMINI~1\AppData\Local\Temp\streamjob7824443013113408616.jar tmpDir=null
    13/08/29 00:10:50 INFO streaming.StreamJob: Tracking URL: http://master1:50030/jobdetails.jsp?jobid=job_201308200211_0010
    13/08/29 00:10:51 INFO streaming.StreamJob: map 0% reduce 0%
    13/08/29 00:11:24 INFO streaming.StreamJob: map 100% reduce 100%
    13/08/29 00:11:24 INFO streaming.StreamJob: To kill this job, run:13/08/29 00:11:24 INFO streaming.StreamJob: C:\hdp\hadoop\hadoop-
    380/bin/hadoop job -Dmapred.job.tracker=master1:50300 -kill job_201308200211_0010
    13/08/29 00:11:24 INFO streaming.StreamJob: Tracking URL: http://master1:50030/jobdetails.jsp?jobid=job_201308200211_0010
    13/08/29 00:11:24 ERROR streaming.StreamJob: Job not successful. Error: # of failed Map Tasks exceeded allowed limit. FailedCount: 1. LastFailedTask: task_201308200211_0010_m_000000
    13/08/29 00:11:24 INFO streaming.StreamJob: killJob…
    Streaming Command Failed!

    syslog logs
    2013-08-29 00:10:58,664 INFO org.apache.hadoop.streaming.PipeMapRed: PipeMapRed exec [C:\hdp\data\hdfs\mapred\local\taskTracker\Administrator\jobcache\job_201308200211_0010\attempt_201308200211_0010_m_000000_0\work\.\map.exe]
    2013-08-29 00:10:58,773 INFO org.apache.hadoop.streaming.PipeMapRed: R/W/S=1000/0/0 in:NA [rec/s] out:NA [rec/s]
    2013-08-29 00:10:58,789 INFO org.apache.hadoop.streaming.PipeMapRed: Records R/W=1673/1
    2013-08-29 00:10:58,789 INFO org.apache.hadoop.streaming.PipeMapRed: MRErrorThread done
    2013-08-29 00:10:58,789 INFO org.apache.hadoop.streaming.PipeMapRed: log:null
    R/W/S=1673/59/0 in:NA [rec/s] out:NA [rec/s]
    minRecWrittenToEnableSkip_=9223372036854775807 LOGNAME=null
    last Hadoop input: |null|
    last tool output: |involved 1 1 1|
    Date: Thu Aug 29 00:10:58 PDT 2013 The pipe has been ended
    at Method)

    2013-08-29 00:10:58,789 WARN org.apache.hadoop.streaming.PipeMapRed: The pipe is being closed
    at Method)

  • Author
  • #35049
    Seth Lyubich

    Hi Taehyeon,

    Looks like the job failed due to:

    Job not successful. Error: # of failed Map Tasks exceeded allowed limit. FailedCount: 1. LastFailedTask: task_201308200211_0010_m_000000

    You can try checking in directory below to see if you can get more hints on what went wrong with the attempt.


    Hope this helps,


The forum ‘HDP on Windows – Installation’ is closed to new topics and replies.

Support from the Experts

A HDP Support Subscription connects you experts with deep experience running Apache Hadoop in production, at-scale on the most demanding workloads.

Enterprise Support »

Become HDP Certified

Real world training designed by the core architects of Hadoop. Scenario-based training courses are available in-classroom or online from anywhere in the world

Training »

Hortonworks Data Platform
The Hortonworks Data Platform is a 100% open source distribution of Apache Hadoop that is truly enterprise grade having been built, tested and hardened with enterprise rigor.
Get started with Sandbox
Hortonworks Sandbox is a self-contained virtual machine with Apache Hadoop pre-configured alongside a set of hands-on, step-by-step Hadoop tutorials.
Modern Data Architecture
Tackle the challenges of big data. Hadoop integrates with existing EDW, RDBMS and MPP systems to deliver lower cost, higher capacity infrastructure.