You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Jerry Cwiklik (JIRA)" <ui...@incubator.apache.org> on 2009/02/27 16:49:12 UTC

[jira] Created: (UIMA-1296) UIMA AS Service Not Processing Stop Request

UIMA AS Service Not Processing Stop Request
-------------------------------------------

                 Key: UIMA-1296
                 URL: https://issues.apache.org/jira/browse/UIMA-1296
             Project: UIMA
          Issue Type: Bug
          Components: Async Scaleout
            Reporter: Jerry Cwiklik
            Assignee: Marshall Schor


Remote Uima AS Service is not processing STOP request from a client. These requests are send by a client to a remote Cas Multiplier to abort generation of child CAses from a given input CAS. This used to work, but I think got broken when we've added selectors. We use two selectors on the input queue:

<property name="messageSelector" value="Command=2000 OR Command=2002"/>
and
<property name="messageSelector" value="Command=2001"/>

The first selector accepts Process and CPC requests which are processed by one listener and the second selector is for GetMeta requests that are processed by a separate listener (thread). 

We need to process STOP requests by GetMeta listener. dd2Spring need to change to support addtional request type. Use the following selector on the GetMeta listener:

<property name="messageSelector" value="Command=2001 OR Command=2006"/>



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Issue Comment Edited: (UIMA-1296) UIMA AS Service Not Processing Stop Request

Posted by "Marshall Schor (JIRA)" <ui...@incubator.apache.org>.
    [ https://issues.apache.org/jira/browse/UIMA-1296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12679709#action_12679709 ] 

schor edited comment on UIMA-1296 at 3/6/09 12:22 PM:
---------------------------------------------------------------

OK, based on this, I'll back out the last change to dd2spring that set the messageSelector to the value = "Command=2001 OR Command=2006", and put it back to just Command=2001, like it used to be.

      was (Author: schor):
    OK, based on this, I'll back out the last change to dd2spring that set the messageSelector to the value = "Command=2001 OR Command=2006", and put it back to just Command=2001, like it use to be.
  
> UIMA AS Service Not Processing Stop Request
> -------------------------------------------
>
>                 Key: UIMA-1296
>                 URL: https://issues.apache.org/jira/browse/UIMA-1296
>             Project: UIMA
>          Issue Type: Bug
>          Components: Async Scaleout
>            Reporter: Jerry Cwiklik
>            Assignee: Marshall Schor
>
> Remote Uima AS Service is not processing STOP request from a client. These requests are send by a client to a remote Cas Multiplier to abort generation of child CAses from a given input CAS. This used to work, but I think got broken when we've added selectors. We use two selectors on the input queue:
> <property name="messageSelector" value="Command=2000 OR Command=2002"/>
> and
> <property name="messageSelector" value="Command=2001"/>
> The first selector accepts Process and CPC requests which are processed by one listener and the second selector is for GetMeta requests that are processed by a separate listener (thread). 
> We need to process STOP requests by GetMeta listener. dd2Spring need to change to support addtional request type. Use the following selector on the GetMeta listener:
> <property name="messageSelector" value="Command=2001 OR Command=2006"/>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (UIMA-1296) UIMA AS Service Not Processing Stop Request

Posted by "Burn Lewis (JIRA)" <ui...@incubator.apache.org>.
    [ https://issues.apache.org/jira/browse/UIMA-1296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12677487#action_12677487 ] 

Burn Lewis commented on UIMA-1296:
----------------------------------

Shouldn't these requests be sent to the cas-release queue so the correct instance of the service is stopped?

> UIMA AS Service Not Processing Stop Request
> -------------------------------------------
>
>                 Key: UIMA-1296
>                 URL: https://issues.apache.org/jira/browse/UIMA-1296
>             Project: UIMA
>          Issue Type: Bug
>          Components: Async Scaleout
>            Reporter: Jerry Cwiklik
>            Assignee: Marshall Schor
>
> Remote Uima AS Service is not processing STOP request from a client. These requests are send by a client to a remote Cas Multiplier to abort generation of child CAses from a given input CAS. This used to work, but I think got broken when we've added selectors. We use two selectors on the input queue:
> <property name="messageSelector" value="Command=2000 OR Command=2002"/>
> and
> <property name="messageSelector" value="Command=2001"/>
> The first selector accepts Process and CPC requests which are processed by one listener and the second selector is for GetMeta requests that are processed by a separate listener (thread). 
> We need to process STOP requests by GetMeta listener. dd2Spring need to change to support addtional request type. Use the following selector on the GetMeta listener:
> <property name="messageSelector" value="Command=2001 OR Command=2006"/>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (UIMA-1296) UIMA AS Service Not Processing Stop Request

Posted by "Marshall Schor (JIRA)" <ui...@incubator.apache.org>.
    [ https://issues.apache.org/jira/browse/UIMA-1296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12679709#action_12679709 ] 

Marshall Schor commented on UIMA-1296:
--------------------------------------

OK, based on this, I'll back out the last change to dd2spring that set the messageSelector to the value = "Command=2001 OR Command=2006", and put it back to just Command=2001, like it use to be.

> UIMA AS Service Not Processing Stop Request
> -------------------------------------------
>
>                 Key: UIMA-1296
>                 URL: https://issues.apache.org/jira/browse/UIMA-1296
>             Project: UIMA
>          Issue Type: Bug
>          Components: Async Scaleout
>            Reporter: Jerry Cwiklik
>            Assignee: Marshall Schor
>
> Remote Uima AS Service is not processing STOP request from a client. These requests are send by a client to a remote Cas Multiplier to abort generation of child CAses from a given input CAS. This used to work, but I think got broken when we've added selectors. We use two selectors on the input queue:
> <property name="messageSelector" value="Command=2000 OR Command=2002"/>
> and
> <property name="messageSelector" value="Command=2001"/>
> The first selector accepts Process and CPC requests which are processed by one listener and the second selector is for GetMeta requests that are processed by a separate listener (thread). 
> We need to process STOP requests by GetMeta listener. dd2Spring need to change to support addtional request type. Use the following selector on the GetMeta listener:
> <property name="messageSelector" value="Command=2001 OR Command=2006"/>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (UIMA-1296) UIMA AS Service Not Processing Stop Request

Posted by "Jerry Cwiklik (JIRA)" <ui...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/UIMA-1296?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jerry Cwiklik updated UIMA-1296:
--------------------------------

    Fix Version/s: 2.3AS

> UIMA AS Service Not Processing Stop Request
> -------------------------------------------
>
>                 Key: UIMA-1296
>                 URL: https://issues.apache.org/jira/browse/UIMA-1296
>             Project: UIMA
>          Issue Type: Bug
>          Components: Async Scaleout
>            Reporter: Jerry Cwiklik
>            Assignee: Marshall Schor
>             Fix For: 2.3AS
>
>
> Remote Uima AS Service is not processing STOP request from a client. These requests are send by a client to a remote Cas Multiplier to abort generation of child CAses from a given input CAS. This used to work, but I think got broken when we've added selectors. We use two selectors on the input queue:
> <property name="messageSelector" value="Command=2000 OR Command=2002"/>
> and
> <property name="messageSelector" value="Command=2001"/>
> The first selector accepts Process and CPC requests which are processed by one listener and the second selector is for GetMeta requests that are processed by a separate listener (thread). 
> We need to process STOP requests by GetMeta listener. dd2Spring need to change to support addtional request type. Use the following selector on the GetMeta listener:
> <property name="messageSelector" value="Command=2001 OR Command=2006"/>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (UIMA-1296) UIMA AS Service Not Processing Stop Request

Posted by "Jerry Cwiklik (JIRA)" <ui...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/UIMA-1296?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jerry Cwiklik closed UIMA-1296.
-------------------------------

    Resolution: Fixed

Modified client code to send Stop requests to the same temp queue that handles Free Cas Requests. There was a bug in the code that caused the Stop requests to go to the input queue of the remote Cas Multiplier.

> UIMA AS Service Not Processing Stop Request
> -------------------------------------------
>
>                 Key: UIMA-1296
>                 URL: https://issues.apache.org/jira/browse/UIMA-1296
>             Project: UIMA
>          Issue Type: Bug
>          Components: Async Scaleout
>            Reporter: Jerry Cwiklik
>            Assignee: Marshall Schor
>
> Remote Uima AS Service is not processing STOP request from a client. These requests are send by a client to a remote Cas Multiplier to abort generation of child CAses from a given input CAS. This used to work, but I think got broken when we've added selectors. We use two selectors on the input queue:
> <property name="messageSelector" value="Command=2000 OR Command=2002"/>
> and
> <property name="messageSelector" value="Command=2001"/>
> The first selector accepts Process and CPC requests which are processed by one listener and the second selector is for GetMeta requests that are processed by a separate listener (thread). 
> We need to process STOP requests by GetMeta listener. dd2Spring need to change to support addtional request type. Use the following selector on the GetMeta listener:
> <property name="messageSelector" value="Command=2001 OR Command=2006"/>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (UIMA-1296) UIMA AS Service Not Processing Stop Request

Posted by "Jerry Cwiklik (JIRA)" <ui...@incubator.apache.org>.
    [ https://issues.apache.org/jira/browse/UIMA-1296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12677556#action_12677556 ] 

Jerry Cwiklik commented on UIMA-1296:
-------------------------------------

That's right. The initial comment that all that is needed is a modified selector is wrong. The selectors should be left unchanged and instead the uima AS framework needs to change to send Stop requests to the Free Cas Queue. This is going to be on the best effort basis since the Free Cas Queue is not known until the first repy is received. The FCQ is created by the service and not by the client. The CM service adds the FCQ to the reply for every child CAS produced from an input CAS sent by the client. If the FCQ is known, the client will send the Stop request. 

> UIMA AS Service Not Processing Stop Request
> -------------------------------------------
>
>                 Key: UIMA-1296
>                 URL: https://issues.apache.org/jira/browse/UIMA-1296
>             Project: UIMA
>          Issue Type: Bug
>          Components: Async Scaleout
>            Reporter: Jerry Cwiklik
>            Assignee: Marshall Schor
>
> Remote Uima AS Service is not processing STOP request from a client. These requests are send by a client to a remote Cas Multiplier to abort generation of child CAses from a given input CAS. This used to work, but I think got broken when we've added selectors. We use two selectors on the input queue:
> <property name="messageSelector" value="Command=2000 OR Command=2002"/>
> and
> <property name="messageSelector" value="Command=2001"/>
> The first selector accepts Process and CPC requests which are processed by one listener and the second selector is for GetMeta requests that are processed by a separate listener (thread). 
> We need to process STOP requests by GetMeta listener. dd2Spring need to change to support addtional request type. Use the following selector on the GetMeta listener:
> <property name="messageSelector" value="Command=2001 OR Command=2006"/>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.