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

Hortonworks Sandbox Forum

1 map reduce job(s) failed

  • #48965
    Sandeep KS


    I was exploring the HortonWorks tutorials to gain more knowledge about Hadoop, while I was attempting the tutorial 2, How To Process Data with Apache Pig, I encountered one Exception, 1 map reduce job(s) failed!, while executing the script in PIG. I have captured the logs from Apache Pig and the same thing was attached with this mail for ur reference. The setup details are as follows.

    1. Oracle Virtual Box 4.2
    2. Sandbox v 1.3
    3. Windows 7 OS.

    Pls point me to right direction for resolving this issue.

  • Author
  • #49085

    Hi Sandeep,
    You may want to post the exact error message or exception. This may allow the community to weigh in more and may help pinpoint a solution to the problem. Please post it when you get a chance. Thank you.


    Sandeep KS

    Hi Ian,

    The exact exception we are facing here is attached below. We are getting this exception while attempting the second tutorial post on Hortonworks Tutorials.

    2014-02-17 12:55:21,777 [JobControl] INFO org.apache.hadoop.mapreduce.lib.input.FileInputFormat – Total input paths to process : 1
    2014-02-17 12:55:21,777 [JobControl] INFO org.apache.pig.backend.hadoop.executionengine.util.MapRedUtil – Total input paths to process : 1
    2014-02-17 12:55:21,795 [JobControl] INFO com.hadoop.compression.lzo.GPLNativeCodeLoader – Loaded native gpl library
    2014-02-17 12:55:21,800 [JobControl] INFO com.hadoop.compression.lzo.LzoCodec – Successfully loaded & initialized native-lzo library [hadoop-lzo rev cf4e7cbf8ed0f0622504d008101c2729dc0c9ff3]
    2014-02-17 12:55:21,806 [JobControl] WARN – Snappy native library is available
    2014-02-17 12:55:21,807 [JobControl] INFO org.apache.hadoop.util.NativeCodeLoader – Loaded the native-hadoop library
    2014-02-17 12:55:21,807 [JobControl] INFO – Snappy native library loaded
    2014-02-17 12:55:21,815 [JobControl] INFO org.apache.pig.backend.hadoop.executionengine.util.MapRedUtil – Total input paths (combined) to process : 1
    2014-02-17 12:55:21,900 [main] INFO org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher – 0% complete
    2014-02-17 12:55:22,972 [main] INFO org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher – HadoopJobId: job_201402170952_0015
    2014-02-17 12:55:22,972 [main] INFO org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher – Processing aliases batting,grp_data,max_runs,runs
    2014-02-17 12:55:22,972 [main] INFO org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher – detailed locations: M: batting[1,10],runs[2,7],max_runs[4,11],grp_data[3,11] C: max_runs[4,11],grp_data[3,11] R: max_runs[4,11]
    2014-02-17 12:55:22,972 [main] INFO org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher – More information at: http://sandbox:50030/jobdetails.jsp?jobid=job_201402170952_0015
    2014-02-17 12:56:13,360 [main] INFO org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher – 50% complete
    2014-02-17 12:56:14,869 [main] INFO org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher – job job_201402170952_0015 has failed! Stop running all dependent jobs
    2014-02-17 12:56:14,918 [main] INFO org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher – 100% complete
    2014-02-17 12:56:14,995 [main] ERROR – ERROR 2106: Error executing an algebraic function
    2014-02-17 12:56:14,995 [main] ERROR – 1 map reduce job(s) failed!
    2014-02-17 12:56:14,999 [main] INFO – Script Statistics:

The forum ‘Hortonworks Sandbox’ 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.