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 "Philip Zeyliger (JIRA)" <ji...@apache.org> on 2010/08/30 20:09:54 UTC

[jira] Updated: (MAPREDUCE-2043) TaskTrackerInstrumentation and JobTrackerInstrumentation should be public

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

Philip Zeyliger updated MAPREDUCE-2043:
---------------------------------------

    Attachment: MAPREDUCE-2043.patch.txt

Patch attached.  Here are the changed lines, to save people some clicks:

{noformat}
-class JobTrackerInstrumentation {
+public class JobTrackerInstrumentation {
-class TaskTrackerInstrumentation  {
+public class TaskTrackerInstrumentation  {
{noformat}

> TaskTrackerInstrumentation and JobTrackerInstrumentation should be public
> -------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-2043
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2043
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>          Components: tasktracker
>    Affects Versions: 0.22.0
>            Reporter: Philip Zeyliger
>            Assignee: Philip Zeyliger
>         Attachments: MAPREDUCE-2043.patch.txt
>
>
> Hadoop administrators can specify classes to be loaded as "TaskTrackerInstrumentation" and "JobTrackerInstrumentation" implementations, which, roughly, define listeners on TT and JT events.  Unfortunately, since the class has default access, extending it requires setting the extension's package to org.apache.hadoop.mapred, which seems like poor form.
> I propose we make the two instrumentation classes public, so they can be extended wherever.

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