You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Jörn Kottmann (JIRA)" <ui...@incubator.apache.org> on 2010/01/25 13:19:34 UTC

[jira] Created: (UIMA-1728) UIMA AS Service logs falsely Stopping Collocated Delegate Cas Multiplier message

UIMA AS Service logs falsely Stopping Collocated Delegate Cas Multiplier message
--------------------------------------------------------------------------------

                 Key: UIMA-1728
                 URL: https://issues.apache.org/jira/browse/UIMA-1728
             Project: UIMA
          Issue Type: Bug
          Components: Async Scaleout
    Affects Versions: 2.3AS
            Reporter: Jörn Kottmann
            Priority: Minor


The service has one CM which creates for every CAS one new CAS and a dummy AE which throws an exception on every second CAS.
It looks like that for each exception thrown from the AE.process method the stopping collocated delegate CM message is printed
and logged:

>>> Instance Hashcode:28681226 Controller:TestAAE Stopping Collocated Delegate Cas Multiplier:TestCM
and
1/25/10 1:14:51 PM - 13: org.apache.uima.aae.controller.AggregateAnalysisEngineController_impl.stopCasMultiplier: INFO: Controller: TestAAE Stopping Collocated Delegate Cas Multiplier: TestAAE

The problem might relate to the hang issue reported here:
http://markmail.org/message/5dr5r3yyha4kbtlb

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


[jira] Commented: (UIMA-1728) UIMA AS Service logs falsely Stopping Collocated Delegate Cas Multiplier message

Posted by "Jörn Kottmann (JIRA)" <ui...@incubator.apache.org>.
    [ https://issues.apache.org/jira/browse/UIMA-1728?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12828078#action_12828078 ] 

Jörn Kottmann commented on UIMA-1728:
-------------------------------------

Jerry:

"What is happening in your scenario
is the following:

1) CM receives input CAS C1
2) The CM generates a new CAS C2
3) C2 is sent to Delegate Service D1
4) D1 throws exception on C2
5) Aggregate receives exception from D1 and sends STOP message to CM asking
it to stop producing
    new CASes from C1. This message is not sent to stop the CM!
6) CM returns C1 to the Aggregate
7) Aggregate determines that C1 has been marked as failed ( because of C2
failure)
8) Aggregate returns C1 marked as failed to the client

The confusion is the message that the aggregate logs: Stopping Collocated
Delegate Cas Multiplier:
It should say something like, Sending Request to CM to Stop Generating New
CASes from CAS id: xxx
"

> UIMA AS Service logs falsely Stopping Collocated Delegate Cas Multiplier message
> --------------------------------------------------------------------------------
>
>                 Key: UIMA-1728
>                 URL: https://issues.apache.org/jira/browse/UIMA-1728
>             Project: UIMA
>          Issue Type: Bug
>          Components: Async Scaleout
>    Affects Versions: 2.3AS
>            Reporter: Jörn Kottmann
>            Priority: Minor
>         Attachments: test.zip
>
>
> The service has one CM which creates for every CAS one new CAS and a dummy AE which throws an exception on every second CAS.
> It looks like that for each exception thrown from the AE.process method the stopping collocated delegate CM message is printed
> and logged:
> >>> Instance Hashcode:28681226 Controller:TestAAE Stopping Collocated Delegate Cas Multiplier:TestCM
> and
> 1/25/10 1:14:51 PM - 13: org.apache.uima.aae.controller.AggregateAnalysisEngineController_impl.stopCasMultiplier: INFO: Controller: TestAAE Stopping Collocated Delegate Cas Multiplier: TestAAE
> The problem might relate to the hang issue reported here:
> http://markmail.org/message/5dr5r3yyha4kbtlb

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


[jira] Updated: (UIMA-1728) UIMA AS Service logs falsely Stopping Collocated Delegate Cas Multiplier message

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

Jörn Kottmann updated UIMA-1728:
--------------------------------

    Attachment: test.zip

> UIMA AS Service logs falsely Stopping Collocated Delegate Cas Multiplier message
> --------------------------------------------------------------------------------
>
>                 Key: UIMA-1728
>                 URL: https://issues.apache.org/jira/browse/UIMA-1728
>             Project: UIMA
>          Issue Type: Bug
>          Components: Async Scaleout
>    Affects Versions: 2.3AS
>            Reporter: Jörn Kottmann
>            Priority: Minor
>         Attachments: test.zip
>
>
> The service has one CM which creates for every CAS one new CAS and a dummy AE which throws an exception on every second CAS.
> It looks like that for each exception thrown from the AE.process method the stopping collocated delegate CM message is printed
> and logged:
> >>> Instance Hashcode:28681226 Controller:TestAAE Stopping Collocated Delegate Cas Multiplier:TestCM
> and
> 1/25/10 1:14:51 PM - 13: org.apache.uima.aae.controller.AggregateAnalysisEngineController_impl.stopCasMultiplier: INFO: Controller: TestAAE Stopping Collocated Delegate Cas Multiplier: TestAAE
> The problem might relate to the hang issue reported here:
> http://markmail.org/message/5dr5r3yyha4kbtlb

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


[jira] Closed: (UIMA-1728) UIMA AS Service logs falsely Stopping Collocated Delegate Cas Multiplier message

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

Jerry Cwiklik closed UIMA-1728.
-------------------------------

    Resolution: Fixed
      Assignee: Jerry Cwiklik

Modified log message when sending a request to CM to stop producing CASes from an input CAS. Removed logging to stdout.

> UIMA AS Service logs falsely Stopping Collocated Delegate Cas Multiplier message
> --------------------------------------------------------------------------------
>
>                 Key: UIMA-1728
>                 URL: https://issues.apache.org/jira/browse/UIMA-1728
>             Project: UIMA
>          Issue Type: Bug
>          Components: Async Scaleout
>    Affects Versions: 2.3AS
>            Reporter: Jörn Kottmann
>            Assignee: Jerry Cwiklik
>            Priority: Minor
>         Attachments: test.zip
>
>
> The service has one CM which creates for every CAS one new CAS and a dummy AE which throws an exception on every second CAS.
> It looks like that for each exception thrown from the AE.process method the stopping collocated delegate CM message is printed
> and logged:
> >>> Instance Hashcode:28681226 Controller:TestAAE Stopping Collocated Delegate Cas Multiplier:TestCM
> and
> 1/25/10 1:14:51 PM - 13: org.apache.uima.aae.controller.AggregateAnalysisEngineController_impl.stopCasMultiplier: INFO: Controller: TestAAE Stopping Collocated Delegate Cas Multiplier: TestAAE
> The problem might relate to the hang issue reported here:
> http://markmail.org/message/5dr5r3yyha4kbtlb

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


[jira] Commented: (UIMA-1728) UIMA AS Service logs falsely Stopping Collocated Delegate Cas Multiplier message

Posted by "Jörn Kottmann (JIRA)" <ui...@incubator.apache.org>.
    [ https://issues.apache.org/jira/browse/UIMA-1728?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12828090#action_12828090 ] 

Jörn Kottmann commented on UIMA-1728:
-------------------------------------

The message is also logged to the console, but the exception from the process method is not logged to the console.  
The message should not be logged to the console, or together with the exception.

> UIMA AS Service logs falsely Stopping Collocated Delegate Cas Multiplier message
> --------------------------------------------------------------------------------
>
>                 Key: UIMA-1728
>                 URL: https://issues.apache.org/jira/browse/UIMA-1728
>             Project: UIMA
>          Issue Type: Bug
>          Components: Async Scaleout
>    Affects Versions: 2.3AS
>            Reporter: Jörn Kottmann
>            Priority: Minor
>         Attachments: test.zip
>
>
> The service has one CM which creates for every CAS one new CAS and a dummy AE which throws an exception on every second CAS.
> It looks like that for each exception thrown from the AE.process method the stopping collocated delegate CM message is printed
> and logged:
> >>> Instance Hashcode:28681226 Controller:TestAAE Stopping Collocated Delegate Cas Multiplier:TestCM
> and
> 1/25/10 1:14:51 PM - 13: org.apache.uima.aae.controller.AggregateAnalysisEngineController_impl.stopCasMultiplier: INFO: Controller: TestAAE Stopping Collocated Delegate Cas Multiplier: TestAAE
> The problem might relate to the hang issue reported here:
> http://markmail.org/message/5dr5r3yyha4kbtlb

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