[ 
https://issues.apache.org/jira/browse/UIMA-3858?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jerry Cwiklik closed UIMA-3858.
-------------------------------

    Resolution: Fixed

Removed hard coded delay to force final publication of inventory. Instead, the 
code stops the inventory publishing camel route and sends an empty process map 
to the OR to let it know that there are no running processes on a node.
The hard coded wair() caused the unnecessary delay on agent stop.

> DUCC Agent should publish final node inventory before terminating
> -----------------------------------------------------------------
>
>                 Key: UIMA-3858
>                 URL: https://issues.apache.org/jira/browse/UIMA-3858
>             Project: UIMA
>          Issue Type: Bug
>          Components: DUCC
>    Affects Versions: 1.0.0-Ducc
>            Reporter: Jerry Cwiklik
>            Assignee: Jerry Cwiklik
>             Fix For: 1.1.0-Ducc
>
>
> Before terminating, the agent forces its managed processes to quiesce and 
> also kills any if still alive after 60 sec delay. 
> In addition, the agent should publish its final state (node inventory) to the 
> OR so that the OR sees processes as Stopped. 
> Modify agent to wait in its stop() method for a period slightly longer than 
> configured node inventory publish rate defined in ducc.properties. This will 
> ensure that the last publish occurs before the Agent terminates



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to