[ 
https://issues.apache.org/jira/browse/HADOOP-4521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12642844#action_12642844
 ] 

Hemanth Yamijala commented on HADOOP-4521:
------------------------------------------

Without thinking too deeply into the proposed interface, one comment is that 
the {{JobListenerManager}} is partly satisfied by the {{TaskTrackerManager}} 
interface we have. The {{add...}} and {{remove...}} methods are already defined 
as part of it.

At the face of it, something like 
{{updateJobInProgressListeners(JobChangeEvent)}} makes sense to me. 

> A JobInProgressLIstener can change a job without informing other listeners
> --------------------------------------------------------------------------
>
>                 Key: HADOOP-4521
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4521
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: mapred
>            Reporter: Amar Kamat
>
> As of now the {{JobInProgressListener}} adds itself to the {{JobTracker}} and 
> gets updated/informed. Some of there {{JobInProgressListener}}'s control 
> these changes/events (e.g.  {{EagerTaskInitializer}}). The issue with this 
> model is that a listener can change the job without informing other 
> listeners. 

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

Reply via email to