[
https://issues.apache.org/jira/browse/UIMA-5928?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16720595#comment-16720595
]
Jerry Cwiklik commented on UIMA-5928:
-------------------------------------
An Agent gets an instance of IDuccWork in response to its OR query for process
CP. In AgentEventListener its using something like this:
IDuccWork dw = dwHelper.fetch(jobDeployment.getJobId());
I am expecting that the IDuccWork instance is properly initialized
(preemptible=[true|false] ) by the OR.
In quiesce mode, an agent will only send SIGTERM to preemptible processes. I am
assuming that both SIGTERM (followed by SIGKILL) still applies to
non-preemptible processes when Agent receives STOP (as opposed to QUIESCE)
event.
> DUCC Agent quiesce should wait (forever) for non-fairshare displatchables to
> complete before shutting down
> ----------------------------------------------------------------------------------------------------------
>
> Key: UIMA-5928
> URL: https://issues.apache.org/jira/browse/UIMA-5928
> Project: UIMA
> Issue Type: Improvement
> Components: DUCC
> Reporter: Lou DeGenaro
> Assignee: Jerry Cwiklik
> Priority: Major
> Fix For: 2.2.3-Ducc
>
>
> {color:#121212}When stop_ducc -c agent@node --quiesce-then-stop is issued,
> the agent should immediately stop any managed PIDs running in a pre-emptable
> class, but wait for all managed PIDs running in a non-preemptable class to be
> terminated before stopping.{color}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)