some mrv1 ant tests fail with timeout - due to 4156
---------------------------------------------------
Key: MAPREDUCE-4160
URL: https://issues.apache.org/jira/browse/MAPREDUCE-4160
Project: Hadoop Map/Reduce
Issue Type: Bug
Components: test
Affects Versions: 0.23.3
Reporter: Thomas Graves
Assignee: Thomas Graves
Looks like the old mrv1 history server is getting null error when trying to
parse the a null for the TaskFinishedEvent successfulAttemptId which was added
in jira 4156. This is causing the ant tests to take like 9 hours to run.
[junit] java.io.IOException: java.lang.NullPointerException: null of string in
field successfulAttemptId of
org.apache.hadoop.mapreduce.jobhistory.TaskFinished of union in field event of
org.apache.hadoop.mapreduce.jobhistory.Event
[junit] at
org.apache.avro.generic.GenericDatumWriter.npe(GenericDatumWriter.java:92)
[junit] at
org.apache.avro.generic.GenericDatumWriter.write(GenericDatumWriter.java:86)
[junit] at
org.apache.avro.generic.GenericDatumWriter.write(GenericDatumWriter.java:57)
[junit] at
org.apache.hadoop.mapreduce.jobhistory.EventWriter.write(EventWriter.java:66)
[junit] at
org.apache.hadoop.mapreduce.jobhistory.JobHistory$MetaInfo.writeEvent(JobHistory.java:512)
[junit] at
org.apache.hadoop.mapreduce.jobhistory.JobHistory.logEvent(JobHistory.java:345)
[junit] at
org.apache.hadoop.mapred.JobInProgress.completedTask(JobInProgress.java:2717)
[junit] at
org.apache.hadoop.mapred.JobInProgress.updateTaskStatus(JobInProgress.java:1221)
--
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