[
https://issues.apache.org/jira/browse/HADOOP-1253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Johan Oskarson updated HADOOP-1253:
-----------------------------------
Status: Patch Available (was: Open)
fixes the mentioned issues.
also slipped in a small addJobs method to add more then one job at once.
> ConcurrentModificationException and NPE in JobControl
> -----------------------------------------------------
>
> Key: HADOOP-1253
> URL: https://issues.apache.org/jira/browse/HADOOP-1253
> Project: Hadoop
> Issue Type: Bug
> Components: mapred
> Affects Versions: 0.12.3
> Reporter: Johan Oskarson
> Priority: Minor
> Attachments: hadoop-jobcontrol-v2.patch
>
>
> toArrayList(Hashtable jobs) in JobControl.java isn't synchronized and it
> resulted in a ConcurrentModificationException.
> checkRunningState in Job.java can throw a NullPointerException if running =
> jc.getJob(this.mapredJobID) fails, leaving running null.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.