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 "Doug Cutting (JIRA)" <ji...@apache.org> on 2008/07/21 22:03:31 UTC

[jira] Commented: (HADOOP-3801) Change the job state observer classes to interfaces

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

Doug Cutting commented on HADOOP-3801:
--------------------------------------

Why can't different observer implementations share state?  This change might save a few lines of code, but at the price of breaking every implementation when an interface changes.  That doesn't seem like a great tradeoff.

> Change the job state observer classes to interfaces
> ---------------------------------------------------
>
>                 Key: HADOOP-3801
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3801
>             Project: Hadoop Core
>          Issue Type: Improvement
>            Reporter: Owen O'Malley
>            Assignee: Vivek Ratan
>
> Schedulers will most often want to be the observers of the job state events in a single class. Therefore, I think they should  be interfaces which can have multiple inheritance.

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