Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Pig >> mail # user >> NPE


This issue has been fixed in PIG-655
(https://issues.apache.org/jira/browse/PIG-665). Latest trunk has the
fix.

Thanks,
Santhosh

-----Original Message-----
From: Vadim Zaliva [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 25, 2009 9:36 AM
To: [EMAIL PROTECTED]
Subject: NPE

I am getting this exception running pig task:

2009-02-25 01:11:44,167 [main] ERROR
org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.Launcher
- Error message from task (map)
task_200902101829_0198_m_000002java.lang.NullPointerException
        at
org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigMapReduc
e$Map.collect(PigMapReduce.java:95)
        at
org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigMapBase.
map(PigMapBase.java:173)
        at
org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigMapReduc
e$Map.map(PigMapReduce.java:82)
        at org.apache.hadoop.mapred.MapRunner.run(MapRunner.java:50)
        at org.apache.hadoop.mapred.MapTask.run(MapTask.java:332)
        at org.apache.hadoop.mapred.Child.main(Child.java:155)

Corresponding source line is:

            key.setIndex(index);

I am running trunk version (maybe not most recent, but after types
branch merge) with patches applied to run with Hadoop 19.

What is causing this exception?

Sincerely,
Vadim
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB