[
https://issues.apache.org/jira/browse/OOZIE-1932?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14143595#comment-14143595
]
Mona Chitnis commented on OOZIE-1932:
-------------------------------------
{quote}
. -1 the patch does not add/modify any testcase
{quote}
This is a simple config change in oozie-default.xml and there is no applicable
test-case just to check relative order of loading services
{quote}
. The patch failed the following testcases:
.
testBundleStatusNotTransitionFromKilled(org.apache.oozie.service.TestStatusTransitService)
.
testBundleStatusTransitRunningFromKilled(org.apache.oozie.service.TestStatusTransitService)
{quote}
These test failures are unrelated to my patch. I reran the tests in my local
env and they pass consistently
Committed patch to trunk and branch-4.1. Thanks Puru for review!
> Services should load CallableQueueService after MemoryLocksService
> ------------------------------------------------------------------
>
> Key: OOZIE-1932
> URL: https://issues.apache.org/jira/browse/OOZIE-1932
> Project: Oozie
> Issue Type: Bug
> Affects Versions: trunk
> Reporter: Mona Chitnis
> Assignee: Mona Chitnis
> Fix For: 4.1.0
>
> Attachments: OOZIE-1932-2.patch, OOZIE-1932-3.patch,
> OOZIE-1932-4.patch, OOZIE-1932-addendum.patch, OOZIE-1932.patch
>
>
> This is not a problem during startup but is during shutdown, as services are
> destroyed in reverse order of initialization. Hence, when MemoryLocksService
> destroy sets it to null, and commands are still executing due to
> CallableQueueService still active, they all encounter NPEs during locking.
> This is a simple fix in oozie-default.xml to set MemoryLocksService before in
> the order of services loading.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)