[
https://issues.apache.org/jira/browse/OOZIE-1621?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Kanter updated OOZIE-1621:
---------------------------------
Attachment: OOZIE-1621.patch
The first exception (on startup) was occurring because the ShareLibService was
trying to use the JobsConcurrencyService but the JobsConcurrencyService hadn't
been loaded yet. This is easily fixed by moving the JobsConcurrencyService
earlier in the list in oozie-default. To prevent this sort of problem in the
future, I moved it up quite a bit because it is conceivable that other Services
may want to use it to handle HA things during init.
The second exception (at job runtime) is because the JavaActionExecutor was
assuming that the "oozie" sharelib always existed. The patch makes it now
throw an Exception with a useful message when this happens; I think its safe to
say that the "oozie" sharelib is required. For the other sharelibs, I think
its fine to just skip it if it can't find the sharelib because those are not
necessarily required.
> Add proper error code and error message for sharelib exceptions.
> ----------------------------------------------------------------
>
> Key: OOZIE-1621
> URL: https://issues.apache.org/jira/browse/OOZIE-1621
> Project: Oozie
> Issue Type: Sub-task
> Reporter: Purshotam Shah
> Assignee: Robert Kanter
> Attachments: OOZIE-1621.patch
>
>
--
This message was sent by Atlassian JIRA
(v6.2#6252)