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 "Owen O'Malley (JIRA)" <ji...@apache.org> on 2006/03/31 01:29:38 UTC

[jira] Updated: (HADOOP-100) Inconsistent locking of the JobTracker.taskTrackers field

     [ http://issues.apache.org/jira/browse/HADOOP-100?page=all ]

Owen O'Malley updated HADOOP-100:
---------------------------------

    Attachment: task-tracker-table-locking.patch

I made the table private instead of package local.

I also wrapped each of the references to the table with a lock on the table.

There is still a lingering issue with the webapp's use of JobTracker.taskTrackers(). If a status update comes in while the webapp is iterating through the taskTrackers, it will get a ConcurrentModificationException.

> Inconsistent locking of the JobTracker.taskTrackers field
> ---------------------------------------------------------
>
>          Key: HADOOP-100
>          URL: http://issues.apache.org/jira/browse/HADOOP-100
>      Project: Hadoop
>         Type: Bug
>   Components: mapred
>     Versions: 0.1
>     Reporter: Owen O'Malley
>     Assignee: Owen O'Malley
>      Fix For: 0.1
>  Attachments: task-tracker-table-locking.patch
>
> The JobTracker is using an inconsistant lock for protecting taskTrackers, which is the list of current task trackers. Some of the routines lock the JobTracker and others lock the taskTrackers field.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira