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 11:11:27 UTC
[jira] Created: (MAPREDUCE-1497) TaskTracker.indexCache is
incorrectly synchronized
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
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.
[jira] Commented: (MAPREDUCE-1497) TaskTracker.indexCache is
incorrectly synchronized
Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-1497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12834230#action_12834230 ]
Hadoop QA commented on MAPREDUCE-1497:
--------------------------------------
+1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12435966/patch-1497.txt
against trunk revision 910465.
+1 @author. The patch does not contain any @author tags.
+1 tests included. The patch appears to include 3 new or modified tests.
+1 javadoc. The javadoc tool did not generate any warning messages.
+1 javac. The applied patch does not increase the total number of javac compiler warnings.
+1 findbugs. The patch does not introduce any new Findbugs warnings.
+1 release audit. The applied patch does not increase the total number of release audit warnings.
+1 core tests. The patch passed core unit tests.
+1 contrib tests. The patch passed contrib unit tests.
Test results: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-h6.grid.sp2.yahoo.net/456/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-h6.grid.sp2.yahoo.net/456/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-h6.grid.sp2.yahoo.net/456/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-h6.grid.sp2.yahoo.net/456/console
This message is automatically generated.
> 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.
[jira] Commented: (MAPREDUCE-1497) TaskTracker.indexCache is
incorrectly synchronized
Posted by "Chris Douglas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-1497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12834146#action_12834146 ]
Chris Douglas commented on MAPREDUCE-1497:
------------------------------------------
{{IndexCache}} is threadsafe. Any synchronization should be for the protection of other data structures in the block.
> 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
>
>
> 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.
[jira] Updated: (MAPREDUCE-1497) TaskTracker.indexCache is
incorrectly synchronized
Posted by "Amareshwari Sriramadasu (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Commented: (MAPREDUCE-1497) Suppress warning on inconsistent
TaskTracker.indexCache synchronization
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-1497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12847743#action_12847743 ]
Hudson commented on MAPREDUCE-1497:
-----------------------------------
Integrated in Hadoop-Mapreduce-trunk-Commit #287 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-Mapreduce-trunk-Commit/287/])
. Suppress spurious findbugs warning about IndexCache
synchronization. Contributed by Amareshwari Sriramadasu
> Suppress warning on inconsistent TaskTracker.indexCache synchronization
> -----------------------------------------------------------------------
>
> Key: MAPREDUCE-1497
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-1497
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: tasktracker
> Reporter: Amareshwari Sriramadasu
> Assignee: Amareshwari Sriramadasu
> Fix For: 0.22.0
>
> Attachments: patch-1497.txt
>
>
> Findbugs warns that 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.
[jira] Commented: (MAPREDUCE-1497) Suppress warning on inconsistent
TaskTracker.indexCache synchronization
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-1497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12847786#action_12847786 ]
Hudson commented on MAPREDUCE-1497:
-----------------------------------
Integrated in Hadoop-Mapreduce-trunk #264 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-Mapreduce-trunk/264/])
. Suppress spurious findbugs warning about IndexCache
synchronization. Contributed by Amareshwari Sriramadasu
> Suppress warning on inconsistent TaskTracker.indexCache synchronization
> -----------------------------------------------------------------------
>
> Key: MAPREDUCE-1497
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-1497
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: tasktracker
> Reporter: Amareshwari Sriramadasu
> Assignee: Amareshwari Sriramadasu
> Fix For: 0.22.0
>
> Attachments: patch-1497.txt
>
>
> Findbugs warns that 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.
[jira] Updated: (MAPREDUCE-1497) TaskTracker.indexCache is
incorrectly synchronized
Posted by "Chris Douglas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-1497?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chris Douglas updated MAPREDUCE-1497:
-------------------------------------
Resolution: Fixed
Hadoop Flags: [Reviewed]
Status: Resolved (was: Patch Available)
I committed this. Thanks, Amareshwari!
> 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.
[jira] Updated: (MAPREDUCE-1497) TaskTracker.indexCache is
incorrectly synchronized
Posted by "Amareshwari Sriramadasu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-1497?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Amareshwari Sriramadasu updated MAPREDUCE-1497:
-----------------------------------------------
Status: Patch Available (was: Open)
> 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.
[jira] Updated: (MAPREDUCE-1497) Suppress warning on inconsistent
TaskTracker.indexCache synchronization
Posted by "Chris Douglas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-1497?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chris Douglas updated MAPREDUCE-1497:
-------------------------------------
Description:
Findbugs warns that TaskTracker.indexCache is incorrectly synchronized.
It is not accessed synchronously from MapOutputServlet.doGet, TaskCleanupThread and TaskTracker.killOverflowingTasks() method. Other callers access it synchronously.
was:
TaskTracker.indexCache is incorrectly synchronized.
It is not accessed synchronously from MapOutputServlet.doGet, TaskCleanupThread and TaskTracker.killOverflowingTasks() method. Other callers access it synchronously.
Assignee: Amareshwari Sriramadasu
Summary: Suppress warning on inconsistent TaskTracker.indexCache synchronization (was: TaskTracker.indexCache is incorrectly synchronized)
> Suppress warning on inconsistent TaskTracker.indexCache synchronization
> -----------------------------------------------------------------------
>
> Key: MAPREDUCE-1497
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-1497
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: tasktracker
> Reporter: Amareshwari Sriramadasu
> Assignee: Amareshwari Sriramadasu
> Fix For: 0.22.0
>
> Attachments: patch-1497.txt
>
>
> Findbugs warns that 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.