uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jerry Cwiklik (JIRA)" <...@uima.apache.org>
Subject [jira] [Closed] (UIMA-5814) UIMA-DUCC: agent should support quiesce request
Date Tue, 18 Sep 2018 00:23:00 GMT

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

Jerry Cwiklik closed UIMA-5814.
-------------------------------
    Resolution: Fixed

Modified to support quiescing of agents 

> UIMA-DUCC: agent should support quiesce request
> -----------------------------------------------
>
>                 Key: UIMA-5814
>                 URL: https://issues.apache.org/jira/browse/UIMA-5814
>             Project: UIMA
>          Issue Type: Improvement
>          Components: DUCC
>            Reporter: Jerry Cwiklik
>            Assignee: Jerry Cwiklik
>            Priority: Major
>             Fix For: 2.2.3-Ducc
>
>
> Currently when an agent receives a stop request through its admin channel it sends SIGTERM
to all its running processes and waits 1 minute for them to stop. Any process still standing
after 1 minute is than killed via SIGKILL. 
> In addition to stop request, an agent should support a quiesce request (through an admin
channel). When such request is received, an agent should send SIGTERM to all its running processes
but should *not* send SIGKILL to allow each process to finish its tasks and exit when done.
An agent should not start a timer after sending the SIGTERM.
> In quiesce mode, an agent will reject new process allocation requests from the OR. Such
process state will be marked as REJECTED and published to the OR. An agent will keep publishing
metrics and inventory. 
> In an event an agent process does not exit, a sys admin can send a stop request to force
termination.
> In addition to changes in an agent, modifications are also needed in the RM, perhaps
OR, CLI and scripts.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message