hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Cutting (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-3801) Change the job state observer classes to interfaces
Date Mon, 21 Jul 2008 20:03:31 GMT

    [ 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.


Mime
View raw message