[ 
https://issues.apache.org/jira/browse/UIMA-5928?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16717358#comment-16717358
 ] 

Lou DeGenaro edited comment on UIMA-5928 at 12/11/18 3:22 PM:
--------------------------------------------------------------

That's up to you.  The other choice was to throw an exception that something 
when wrong.  My suggestion would be to check result for > 0 and if so then it's 
preemptable so issue kill -15.

If you'd prefer, we can make the result a boolean, but throw an exception under 
extraordinary circumstances which you will have to handle.


was (Author: lou.degenaro):
That's up to you.  The other choice was to throw an exception that something 
when wrong.  My suggestion would be to check result for > 0 and if so then it's 
preemptable so issue kill -15.

> 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)

Reply via email to