You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Lou DeGenaro (JIRA)" <de...@uima.apache.org> on 2017/12/18 15:52:00 UTC

[jira] [Commented] (UIMA-5668) DUCC ducc_watcher (CLI) issues multiple up-to-down state changes for agents

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

Lou DeGenaro commented on UIMA-5668:
------------------------------------

1. The previous version had issues parsing the html data fetched from ducc-mon for Daemons page.  The new version fetches json instead, and simply iterates.
2. The previous version treated each individual Agent down/up as a new e-mail reportable state transition.  The new version computes an overall state whereby Head+Agent daemons together are either up or down.

Possible overall states are: { "up", "up, JD allocation pending", "down", "unknown", "no data" }

Modulo bugs, hopefully few and far between.

> DUCC ducc_watcher (CLI) issues multiple up-to-down state changes for agents
> ---------------------------------------------------------------------------
>
>                 Key: UIMA-5668
>                 URL: https://issues.apache.org/jira/browse/UIMA-5668
>             Project: UIMA
>          Issue Type: Bug
>          Components: DUCC
>            Reporter: Lou DeGenaro
>            Assignee: Lou DeGenaro
>             Fix For: future-DUCC
>
>
> If Agent 1 goes down ducc_watcher sends message, as desired.  If now Agent 2 goes down, another message is sent, which is not as desired.
> Global state is state of all head+agent daemons.  If all are up then global state should be up.  If any one goes down then global state should be down.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)