1 map reduce job(s) failed

to create new topics or reply. | New User Registration

This topic contains 2 replies, has 2 voices, and was last updated by  Sandeep KS 1 year, 1 month ago.

  • Creator
  • #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.

Viewing 2 replies - 1 through 2 (of 2 total)

You must be to reply to this topic. | Create Account

  • Author
  • #49109

    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 org.apache.hadoop.io.compress.snappy.LoadSnappy – 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 org.apache.hadoop.io.compress.snappy.LoadSnappy – 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 org.apache.pig.tools.pigstats.SimplePigStats – ERROR 2106: Error executing an algebraic function
    2014-02-17 12:56:14,995 [main] ERROR org.apache.pig.tools.pigstats.PigStatsUtil – 1 map reduce job(s) failed!
    2014-02-17 12:56:14,999 [main] INFO org.apache.pig.tools.pigstats.SimplePigStats – Script Statistics:



    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.


Viewing 2 replies - 1 through 2 (of 2 total)
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.