Oozie
  1. Oozie
  2. OOZIE-811

change action executor loading to use JDK service loader

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 3.2.0
    • Fix Version/s: trunk
    • Component/s: action, core
    • Labels:
      None

      Description

      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.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Alejandro Abdelnur
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Development