You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Amareshwari Sriramadasu (JIRA)" <ji...@apache.org> on 2010/02/16 12:11:28 UTC

[jira] Updated: (MAPREDUCE-1497) TaskTracker.indexCache is incorrectly synchronized

     [ https://issues.apache.org/jira/browse/MAPREDUCE-1497?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amareshwari Sriramadasu updated MAPREDUCE-1497:
-----------------------------------------------

    Attachment: patch-1497.txt

If it is thread-safe, I think we can suppress the findbugs warning for inconsistent synchronization of IndexCache.
Attaching patch doing the same.

> TaskTracker.indexCache is incorrectly synchronized
> --------------------------------------------------
>
>                 Key: MAPREDUCE-1497
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1497
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: tasktracker
>            Reporter: Amareshwari Sriramadasu
>             Fix For: 0.22.0
>
>         Attachments: patch-1497.txt
>
>
> TaskTracker.indexCache is incorrectly synchronized. 
> It is not accessed synchronously from MapOutputServlet.doGet, TaskCleanupThread and  TaskTracker.killOverflowingTasks() method. Other callers access it synchronously.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.