Issue 16215

MapRed: Registry change synchronization throws NPE and fails

16215
Reporter: trobertson
Type: Bug
Summary: MapRed: Registry change synchronization throws NPE and fails
Priority: Critical
Status: Open
Created: 2014-07-31 12:31:43.988
Updated: 2016-02-15 13:45:38.004
        
Description: Jobs are failing with

{code}
java.lang.NullPointerException
	at java.util.UUID.fromString(UUID.java:192)
	at org.gbif.occurrence.cli.registry.sync.OccurrenceScanMapper.map(OccurrenceScanMapper.java:85)
	at org.gbif.occurrence.cli.registry.sync.OccurrenceScanMapper.map(OccurrenceScanMapper.java:51)
	at org.apache.hadoop.mapreduce.Mapper.run(Mapper.java:140)
	at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:672)
	at org.apache.hadoop.mapred.MapTask.run(MapTask.java:330)
	at org.apache.hadoop.mapred.Child$4.run(Child.java:268)
	at java.security.AccessController.doPrivileged(Native Method)
	at javax.security.auth.Subject.doAs(Subject.java:415)
	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1408)
	at org.apache.hadoop.mapred.Child.main(Child.java:262)

-------
java.lang.Throwable: Child Error
	at org.apache.hadoop.mapred.TaskRunner.run(TaskRunner.java:250)
Caused by: java.io.IOException: Task process exit with nonzero status of 65.
	at org.apache.hadoop.mapred.TaskRunner.run(TaskRunner.java:237)
{code}]]>
    


Author: trobertson@gbif.org
Comment: Email title: Registry-Occurrence Sync on table prod_b_occurrence for dataset 482b6e73-5135-4bba-8be7-9c12460130c0 (job_201407301750_0711) has failed.
Created: 2014-07-31 12:35:32.851
Updated: 2014-07-31 12:35:32.851