You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Alejandro Abdelnur (Updated) (JIRA)" <ji...@apache.org> on 2012/04/12 10:47:59 UTC

[jira] [Updated] (OOZIE-811) change action executor loading to use JDK service loader

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

Alejandro Abdelnur updated OOZIE-811:
-------------------------------------

    Fix Version/s: trunk
    
> change action executor loading to use JDK service loader
> --------------------------------------------------------
>
>                 Key: OOZIE-811
>                 URL: https://issues.apache.org/jira/browse/OOZIE-811
>             Project: Oozie
>          Issue Type: Improvement
>          Components: action, core
>    Affects Versions: 3.2.0
>            Reporter: Alejandro Abdelnur
>             Fix For: trunk
>
>
> Currently actions are defined and loaded from the oozie config files, this is error prone for the following reasons:
> * it requires adding the action class to a property list, a common mistake is to replace instead add; thus disabling other actions.
> * it requires adding a pairing XSD to another property list, same issues.
> Instead we should use the JDK service load mechanism, this would add a plug an play capability by just adding a JAR with the action classes defined in the service file. Also, the actions should have a method that return the array of supported schemas and register them.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira