You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Johan Oskarson (JIRA)" <ji...@apache.org> on 2007/04/12 15:55:32 UTC

[jira] Updated: (HADOOP-1253) ConcurrentModificationException and NPE in JobControl

     [ 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.