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 2008/04/07 20:57:25 UTC
[jira] Created: (UIMA-965) PrimitiveController doesnt handle
exception from the InProcessCache when the service is terminating in a
middle of the run
PrimitiveController doesnt handle exception from the InProcessCache when the service is terminating in a middle of the run
--------------------------------------------------------------------------------------------------------------------------
Key: UIMA-965
URL: https://issues.apache.org/jira/browse/UIMA-965
Project: UIMA
Issue Type: Bug
Components: Async Scaleout
Reporter: Jerry Cwiklik
Need to handle an exception in the PrimitiveController process() method when the service is being stopped while its producing CASes. InProcessCache may throw an exception in getCacheEntryForCAS(aCasReferenceId) when a given CAS doesnt exist. This could happen during a hard stop. The top level controller may remove entries from the cache which is shared by all collocated services.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (UIMA-965) PrimitiveController doesnt handle
exception from the InProcessCache when the service is terminating in a
middle of the run
Posted by "Jerry Cwiklik (JIRA)" <ui...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/UIMA-965?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jerry Cwiklik updated UIMA-965:
-------------------------------
Attachment: uimaj-as-core-UIMA-965-patch.txt
Modified the PrimitiveController code in the process() method to handle exceptions from InProcessCache when try to fetch a non-existent entry. The entry may not exist since a top level controller may have already cleaned up the cache during a forced shutdown.
> PrimitiveController doesnt handle exception from the InProcessCache when the service is terminating in a middle of the run
> --------------------------------------------------------------------------------------------------------------------------
>
> Key: UIMA-965
> URL: https://issues.apache.org/jira/browse/UIMA-965
> Project: UIMA
> Issue Type: Bug
> Components: Async Scaleout
> Reporter: Jerry Cwiklik
> Attachments: uimaj-as-core-UIMA-965-patch.txt
>
>
> Need to handle an exception in the PrimitiveController process() method when the service is being stopped while its producing CASes. InProcessCache may throw an exception in getCacheEntryForCAS(aCasReferenceId) when a given CAS doesnt exist. This could happen during a hard stop. The top level controller may remove entries from the cache which is shared by all collocated services.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (UIMA-965) PrimitiveController doesnt handle
exception from the InProcessCache when the service is terminating in a
middle of the run
Posted by "Marshall Schor (JIRA)" <ui...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/UIMA-965?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marshall Schor closed UIMA-965.
-------------------------------
Resolution: Fixed
Fix Version/s: 2.2.2AS
Assignee: Marshall Schor
patch applied
> PrimitiveController doesnt handle exception from the InProcessCache when the service is terminating in a middle of the run
> --------------------------------------------------------------------------------------------------------------------------
>
> Key: UIMA-965
> URL: https://issues.apache.org/jira/browse/UIMA-965
> Project: UIMA
> Issue Type: Bug
> Components: Async Scaleout
> Reporter: Jerry Cwiklik
> Assignee: Marshall Schor
> Fix For: 2.2.2AS
>
> Attachments: uimaj-as-core-UIMA-965-patch.txt
>
>
> Need to handle an exception in the PrimitiveController process() method when the service is being stopped while its producing CASes. InProcessCache may throw an exception in getCacheEntryForCAS(aCasReferenceId) when a given CAS doesnt exist. This could happen during a hard stop. The top level controller may remove entries from the cache which is shared by all collocated services.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.