pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Araceli Henley (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (PIG-2398) Null Pointer Exception - regression for CastScalar tests with MST enabled
Date Mon, 05 Dec 2011 21:06:39 GMT
Null Pointer Exception - regression for CastScalar tests with MST enabled
-------------------------------------------------------------------------

                 Key: PIG-2398
                 URL: https://issues.apache.org/jira/browse/PIG-2398
             Project: Pig
          Issue Type: Bug
          Components: impl
    Affects Versions: 0.9.2
         Environment: -bash-3.1$ hadoop version
Hadoop 0.23.0.1111080202
Subversion http://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.23.0/hadoop-common-project/hadoop-common
-r 1196973
Compiled by hadoopqa on Tue Nov  8 02:12:04 PST 2011
>From source with checksum 4e42b2d96c899a98a8ab8c7cc23f27ae
-bash-3.1$ pig -version
USING: /homes/araceli/pighome/dotNext/current
Apache Pig version 0.9.2.1111101150 (r1200499) 
compiled Nov 10 2011, 19:50:15
**Mount side tables are enabled but not used in this test
            Reporter: Araceli Henley


STACK TRACE:

---------------
ERROR 2999: Unexpected internal error. null

java.lang.NullPointerException
        at org.apache.hadoop.mapreduce.counters.AbstractCounters.<init>(AbstractCounters.java:100)
        at org.apache.hadoop.mapred.Counters.<init>(Counters.java:65)
        at org.apache.hadoop.mapred.Counters.downgrade(Counters.java:74)
        at org.apache.hadoop.mapred.TaskReport.downgrade(TaskReport.java:79)
        at org.apache.hadoop.mapred.TaskReport.downgradeArray(TaskReport.java:89)
        at org.apache.hadoop.mapred.JobClient.getTaskReports(JobClient.java:630)
        at org.apache.hadoop.mapred.JobClient.getMapTaskReports(JobClient.java:621)
        at org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.Launcher.getStats(Launcher.java:150)
        at org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher.launchPig(MapReduceLauncher.java:343)
        at org.apache.pig.PigServer.launchPlan(PigServer.java:1314)
        at org.apache.pig.PigServer.executeCompiledLogicalPlan(PigServer.java:1299)
        at org.apache.pig.PigServer.execute(PigServer.java:1286)
        at org.apache.pig.PigServer.executeBatch(PigServer.java:360)
        at org.apache.pig.tools.grunt.GruntParser.executeBatch(GruntParser.java:131)
        at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:192)
        at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:164)
        at org.apache.pig.tools.grunt.Grunt.exec(Grunt.java:81)
        at org.apache.pig.Main.run(Main.java:561)
        at org.apache.pig.Main.main(Main.java:111)


TEST CASE: nightly.conf ( CastScalar_1)
a = load '/user/user1/pig/tests/data/singlefile/studenttab10k' using PigStorage() as (name,
age, gpa);
b = group a all;
c = foreach b generate AVG(a.gpa) as avg, MAX(a.gpa) as max;
y = foreach a generate name, (gpa - c.avg) / c.max;
store y into '/user/user1/pig/out/user1.1321494492/Scalar_1.out';


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message