Pig is not running in mapreduce mode

Discussion in 'Big Data and Analytics' started by Shubham Agrawal_1, Mar 3, 2016.

  1. Shubham Agrawal_1

    Alumni

    Joined:
    Nov 20, 2015
    Messages:
    8
    Likes Received:
    0
    Hello folks,

    I tried running pig command in mapreduce mode(local mode is working fine) but getting some error.
    commands:
    A = LOAD '/training/data.txt' USING PigStorage(':') as (name:chararray,age:int);
    DUMP A;
    i tried storing this also but getting same error.

    Error:

    2016-03-03 09:21:27,078 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1066: Unable to open iterator for alias file

    -----------------------------------------------

    HadoopVersionPigVersionUserIdStartedAtFinishedAtFeatures

    2.7.10.15.0vagrant2016-03-03 09:21:052016-03-03 09:21:27UNKNOWN


    Failed!


    Failed Jobs:

    JobIdAliasFeatureMessageOutputs

    job_1456985048898_0002fileMAP_ONLYMessage: Job failed!hdfs://hm:9000/tmp/temp2079233557/tmp2008985173,


    Input(s):

    Failed to read data from "/pig/data"


    Output(s):

    Failed to produce result in "hdfs://hm:9000/tmp/temp2079233557/tmp2008985173"


    Counters:

    Total records written : 0

    Total bytes written : 0

    Spillable Memory Manager spill count : 0

    Total bags proactively spilled: 0

    Total records proactively spilled: 0


    Job DAG:

    job_1456985048898_0002



    2016-03-03 09:21:27,061 [main] INFO org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher - Failed!

    2016-03-03 09:21:27,078 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1066: Unable to open iterator for alias file

    Details at logfile: /home/vagrant/pig_1456996823431.log
     
    #1

Share This Page