[jira] Created: (UIMA-1731) ResourceInitializationExceptions thrown by a deployed aggregate are only partially logged
ResourceInitializationExceptions thrown by a deployed aggregate are only partially logged - Key: UIMA-1731 URL: https://issues.apache.org/jira/browse/UIMA-1731 Project: UIMA Issue Type: Bug Components: Async Scaleout Reporter: Burn Lewis Priority: Minor Fix For: 2.3AS When the XcasCollectionReader fails to init because its input directory is missing it reports the cause when run in core UIMA, i.e. Caused by: org.apache.uima.resource.ResourceInitializationException: Initialization of annotator class com.ibm.nlp.readers.XcasCollectionReader failed. (Descriptor: file:/.automount/hlthome01/a/hlthome01/homes/hlthome01.3/burn/workspace/factotem/desc/pipe/readers/XcasCollectionReader.xml) Caused by: org.apache.uima.resource.ResourceInitializationException: Invalid value for parameter InputDirectory in component null -- directory xmidata does not exist. but when deployed under UIMA-AS this detailed exception is missing ... all we get is the higher-level cause, e.g. 1/30/10 10:56:15 PM - 3: org.apache.uima.aae.controller.PrimitiveAnalysisEngineController_impl.initializeAnalysisEngine: WARNING: org.apache.uima.resource.ResourceInitializationException: Initialization of annotator class com.ibm.nlp.readers.XcasCollectionReader failed. (Descriptor: file:/u/burn/workspace/factotem/desc/pipe/readers/XcasCollectionReader.xml) Also, the detailed message lists the component as null ... the collection reader follows the example code and reports the error with: throw new ResourceInitializationException( ResourceConfigurationException.DIRECTORY_NOT_FOUND, new Object[] { PARAM_INPUTDIR, this.getMetaData().getName(), directory.getPath() }); How should we retrieve the component name? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (UIMA-1703) UIMA AS service uses the same log4j.properties file as the AMQ broker
[ https://issues.apache.org/jira/browse/UIMA-1703?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12789819#action_12789819 ] Burn Lewis commented on UIMA-1703: -- Since the UIMA_AS need for this properties file is minimal ... Spring uses it now that we include a log4j jar file in the classpath when we load from the ActiveMQ directories ... and normally nothing is written to it ... I suggest we just add a few entries to the UIMA Logger.properties file and share it with both loggers. I've found that the following suppresses the warning about missing appenders, and suppresses the multiple retrying in 5 ms messages when a service fails to connect to its input broker. log4j.rootLogger=WARN, stdout log4j.appender.stdout=org.apache.log4j.ConsoleAppender log4j.appender.stdout.layout=org.apache.log4j.PatternLayout UIMA AS service uses the same log4j.properties file as the AMQ broker -- Key: UIMA-1703 URL: https://issues.apache.org/jira/browse/UIMA-1703 Project: UIMA Issue Type: Bug Components: Async Scaleout Reporter: Jerry Cwiklik Fix For: 2.3AS Same log4j.properties file is used by AMQ broker started from startBroker script and by UIMA AS service. The UIMA AS service startup script sets this property -Dlog4j.configuration=file:c:\uima\releases\2.3.0-07\apache-uima\as_config\log4j.properties it is picked up by AMQ and Spring and used for logging. The same log4j.properties file is copied from as_config directory to UIMA_HOME/bin/amq/config when startBroker script is started for the first time. So, the same configuration is used by two different processes. This doesnt seem right. We most likely need different log4j.properties for each process since each of them needs to log at different level. For example, the broker needs to be started with INFO level logging to show status information on broker startup. Logging at INFO level when UIMA AS service starts may lead to excessive messages being logged. An instance of this is when a broker is killed when a service is running. The broker failure forces listeners to reconnect using Spring's blocking call. This call produces log msgs at INFO level at 5 sec intervals. The fix would be to use a different property files. UIMA AS should use a basic configuration with a single log of say 100MB size and should log at WARNING level only. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
Re: [VOTE] Release UIMA 2.3.0 release candidate 7 as UIMA 2.3.0 incubating
+1 Burn
[jira] Created: (UIMA-1702) Service fails to start when the broker of one of its delegates is missing
Service fails to start when the broker of one of its delegates is missing - Key: UIMA-1702 URL: https://issues.apache.org/jira/browse/UIMA-1702 Project: UIMA Issue Type: Bug Components: Async Scaleout Reporter: Burn Lewis Fix For: 2.3AS Repeated logs on the console and in 5 activemq.log files: INFO efaultMessageListenerContainer - Could not refresh JMS Connection - retrying in 5 ms javax.jms.JMSException: Could not connect to broker URL: tcp://gale-iod.basistech.com:8002. Reason: java.net.ConnectException: Connection refused: connect The error handling of getMetadataErrors maxRetries=0 timeout=6 errorAction=disable/ is not applied ... aggregate service never initializes. Deployed via -d option of runRemoteAsyncAE -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Closed: (UIMA-1681) Wrong value for JMX monitoring property
[ https://issues.apache.org/jira/browse/UIMA-1681?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Burn Lewis closed UIMA-1681. Resolution: Fixed Changed name of property to match documentation Wrong value for JMX monitoring property --- Key: UIMA-1681 URL: https://issues.apache.org/jira/browse/UIMA-1681 Project: UIMA Issue Type: Bug Components: Async Scaleout Reporter: Burn Lewis Fix For: 2.3AS Documentation says uima.jmx.monitor.interval but code looks for uima.jmx.monitor.frequency -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
Re: [jira] Commented: (UIMA-1647) Scripts fail to call runUimaClass.sh
Then we should export them. One reason for using . or source is to let the rest of the script see any settings done in the child script. Or to load some functions as if a C include. -Burn.
Re: order of classpath entries for deploytool
My reading of the old scripts has this directory at the very end of the classpath ... now it immediately follows the user-provided UIMA_CLASSPATH which seems more correct as I assume it contains user classes. On Tue, Nov 3, 2009 at 2:42 PM, Marshall Schor m...@schor.com wrote: The deploytool (used to deploy soap annotators) formerly had a classpath which started with %CATALINA_HOME%\webapps\axis\WEB-INF\classes. After the refactoring to use a common script, this path entry will now follow %UIMA_CLASSPATH%, and core UIMA, and ActiveMQ (if %ACTIVEMQ_HOME% is set), and %CATALINA_HOME%\webapps\axis\WEB-INF\lib. Is this OK? -Marshall
[jira] Created: (UIMA-1651) We should remove runRemoteAsyncAEmultiple.cmd
We should remove runRemoteAsyncAEmultiple.cmd - Key: UIMA-1651 URL: https://issues.apache.org/jira/browse/UIMA-1651 Project: UIMA Issue Type: Bug Components: Async Scaleout Reporter: Burn Lewis Priority: Minor Fix For: 2.3AS It has no value ... just calls runRemoteAsyncAE 10 times ... and there is no sh version. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (UIMA-1647) Scripts fail to call runUimaClass.sh
[ https://issues.apache.org/jira/browse/UIMA-1647?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12772084#action_12772084 ] Burn Lewis commented on UIMA-1647: -- This was an attempt to simplify the scripts since we assumed that the UIMA bin directory must be in the path for the deployAsyncService script to be found. But of course this is not required were you running with UIMA_HOME set but not UIMA_HOME/bin in the path? We also used to check for UIMA_HOME being set but now that check is in runUimaClass ... should we also restore that check? Or should we provide a test-setup script that verifies that UIMA_HOME actually refers to a UIMA installation? Maybe adjustExamplePaths? -Burn Scripts fail to call runUimaClass.sh - Key: UIMA-1647 URL: https://issues.apache.org/jira/browse/UIMA-1647 Project: UIMA Issue Type: Bug Components: Async Scaleout Affects Versions: 2.3AS Environment: Ubuntu Server 8.10, Java 1.6 Reporter: Jörn Kottmann Priority: Blocker Fix For: 2.3AS Executing deployAsyncService.sh fails with the following error message: .: 28: runUimaClass.sh: not found deployAsyncService.sh calls runUimaClass.sh with . runUimaClass.sh ..., in an older version this script called setUimaClassPath.sh, but that was done with the absolute path: . $UIMA_HOME/bin/setUimaClassPath.sh I suggest that we change all our .sh scripts to use the absolute path like it was done before for at least the deployAsyncService.sh script. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (UIMA-1647) Scripts fail to call runUimaClass.sh
[ https://issues.apache.org/jira/browse/UIMA-1647?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12772096#action_12772096 ] Burn Lewis commented on UIMA-1647: -- I don't think we should be using . since it inherits the calling environment including the arguments. Dropping it or replacing with sh should be OK. Scripts fail to call runUimaClass.sh - Key: UIMA-1647 URL: https://issues.apache.org/jira/browse/UIMA-1647 Project: UIMA Issue Type: Bug Components: Async Scaleout Affects Versions: 2.3AS Environment: Ubuntu Server 8.10, Java 1.6 Reporter: Jörn Kottmann Priority: Blocker Fix For: 2.3AS Executing deployAsyncService.sh fails with the following error message: .: 28: runUimaClass.sh: not found deployAsyncService.sh calls runUimaClass.sh with . runUimaClass.sh ..., in an older version this script called setUimaClassPath.sh, but that was done with the absolute path: . $UIMA_HOME/bin/setUimaClassPath.sh I suggest that we change all our .sh scripts to use the absolute path like it was done before for at least the deployAsyncService.sh script. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
Re: Issues not closed for 2.3.0 release
Also I think we need to fix 1607 - wrong log format - Jerry is working on it. - Burn.
Re: Issues not closed for 2.3.0 release
Can we put the bootstrap class in uima-core so it will then have all those classes in the system path. - Burn.
[jira] Created: (UIMA-1623) Error handling incorrect if multiple delegates have the same window values
Error handling incorrect if multiple delegates have the same window values -- Key: UIMA-1623 URL: https://issues.apache.org/jira/browse/UIMA-1623 Project: UIMA Issue Type: Bug Components: Async Scaleout Affects Versions: 2.3AS Reporter: Burn Lewis When delegates have the same processCas error configuration dd2spring gives them the same Threshold object ... but that has R/W storage when a threshold window is specified, causing premature error actions. Fix is to give each delegate a unique instance when necessary. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Closed: (UIMA-1623) Error handling incorrect if multiple delegates have the same window values
[ https://issues.apache.org/jira/browse/UIMA-1623?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Burn Lewis closed UIMA-1623. Resolution: Fixed Changes checked in Error handling incorrect if multiple delegates have the same window values -- Key: UIMA-1623 URL: https://issues.apache.org/jira/browse/UIMA-1623 Project: UIMA Issue Type: Bug Components: Async Scaleout Affects Versions: 2.3AS Reporter: Burn Lewis When delegates have the same processCas error configuration dd2spring gives them the same Threshold object ... but that has R/W storage when a threshold window is specified, causing premature error actions. Fix is to give each delegate a unique instance when necessary. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Created: (UIMA-1621) CVD should work when classes loaded dynamically
CVD should work when classes loaded dynamically --- Key: UIMA-1621 URL: https://issues.apache.org/jira/browse/UIMA-1621 Project: UIMA Issue Type: Bug Components: Tools Affects Versions: 2.3 Reporter: Burn Lewis Priority: Minor If CVD is loaded via the bootstrap loader it gets a NPE when configuring the logger. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Resolved: (UIMA-1621) CVD should work when classes loaded dynamically
[ https://issues.apache.org/jira/browse/UIMA-1621?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Burn Lewis resolved UIMA-1621. -- Resolution: Fixed Assignee: Burn Lewis Fixed - tested on Windows only. CVD should work when classes loaded dynamically --- Key: UIMA-1621 URL: https://issues.apache.org/jira/browse/UIMA-1621 Project: UIMA Issue Type: Bug Components: Tools Affects Versions: 2.3 Reporter: Burn Lewis Assignee: Burn Lewis Priority: Minor If CVD is loaded via the bootstrap loader it gets a NPE when configuring the logger. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Created: (UIMA-1607) Wrong log formatter used in uima-as
Wrong log formatter used in uima-as --- Key: UIMA-1607 URL: https://issues.apache.org/jira/browse/UIMA-1607 Project: UIMA Issue Type: Bug Components: Async Scaleout Affects Versions: 2.3 Reporter: Burn Lewis When running the uima-as test described in section 3.4 of the README, the uima.log is always produced in the xml format. The problem appears to be caused by the bootstrap jar as just before the service start it outputs: log4j:WARN No appenders could be found for logger (org.springframework.context.support.FileSystemXmlApplicationContext). log4j:WARN Please initialize the log4j system properly. Perhaps the bootstrap program needs to be in uima-core.jar so it can find the specified log formatter: org.apache.uima.internal.util.UIMALogFormatter -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (UIMA-1607) Wrong log formatter used in uima-as
[ https://issues.apache.org/jira/browse/UIMA-1607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12764224#action_12764224 ] Burn Lewis commented on UIMA-1607: -- I verified that the log is OK when using an old-style explicit classpath that exactly matches the one loaded by UimaBootstrap.jar ... so it's not caused by the order of loading. Wrong log formatter used in uima-as --- Key: UIMA-1607 URL: https://issues.apache.org/jira/browse/UIMA-1607 Project: UIMA Issue Type: Bug Components: Async Scaleout Affects Versions: 2.3 Reporter: Burn Lewis When running the uima-as test described in section 3.4 of the README, the uima.log is always produced in the xml format. The problem appears to be caused by the bootstrap jar as just before the service start it outputs: log4j:WARN No appenders could be found for logger (org.springframework.context.support.FileSystemXmlApplicationContext). log4j:WARN Please initialize the log4j system properly. Perhaps the bootstrap program needs to be in uima-core.jar so it can find the specified log formatter: org.apache.uima.internal.util.UIMALogFormatter -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (UIMA-1149) [UIMA-AS] fix potential thread safety issue with flow controller code
[ https://issues.apache.org/jira/browse/UIMA-1149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12761731#action_12761731 ] Burn Lewis commented on UIMA-1149: -- Is synchronization also needed around the FlowContainer next() call in executeFlowStep in AggregateAnalysisEngineController_impl.java ? [UIMA-AS] fix potential thread safety issue with flow controller code - Key: UIMA-1149 URL: https://issues.apache.org/jira/browse/UIMA-1149 Project: UIMA Issue Type: Bug Components: Async Scaleout Affects Versions: 2.2.2AS Reporter: Marshall Schor Priority: Minor Fix For: 2.3AS Attachments: uimaj-as-core-UIMA-1149-patch.txt The general contract regarding threading for user-written UIMA components is that components do not have to be written to be thread-safe, or, more precisely, the framework guarantees it will not call an instance of a user-written component class on multiple threads at the same time. See http://incubator.apache.org/uima/downloads/releaseDocs/2.2.2-incubating/docs/html/tutorials_and_users_guides/tutorials_and_users_guides.html#ugr.tug.aae.contract_for_annotator_methods This is intended to make writing UIMA components by our user community easier, and to eliminate many hard-to-diagnose issues that could occur otherwise. The FlowController main object class, the one that is specified in the custom flow control specification for an aggregate, in UIMA-AS, can be (we think, but to be investigated :-) ) be called on multiple threads at the same time, in the current implementation. This Jira is to fix this, by synchronizing on the flow controller object so that users don't have to write thread safe implementations of this class. Also, the docs in the above referenced manual should be updated to include the flow controller object in the set of objects where the framework guarantees that instances of this object will not be called on multiple threads at the same time. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (UIMA-1153) thread safety issue with sample flow controller AdvancedFixedFlowController
[ https://issues.apache.org/jira/browse/UIMA-1153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12761732#action_12761732 ] Burn Lewis commented on UIMA-1153: -- A nice solution ... we should change the FC example ... but may be hard to test .. can FindBugs help us? thread safety issue with sample flow controller AdvancedFixedFlowController --- Key: UIMA-1153 URL: https://issues.apache.org/jira/browse/UIMA-1153 Project: UIMA Issue Type: Bug Components: Async Scaleout, Examples Affects Versions: 2.2.2 Reporter: Marshall Schor Assignee: Burn Lewis Priority: Minor The AdvancedFixedFlowController implements its Flow Object class as an inner class of its Flow Controller class. In UIMA-AS, it is possible that more than one Flow Object can be accessing the Flow Controller fields on different threads, and (for Cas Multipliers) it is possible for an individual Flow Object to be called on multiple threads at the same time (via the method (via the newCasProduced method). In the example, the newCasProduced method is marked *synchronized*, so I think the same Flow Object will not be running multiple threads at the same time, because the other methods to this are all calls done on 1 thread on behalf of the main CAS associated with this Flow Object. However, multiple flow objects running on different threads could have their newCasProduced method called. In this case, the references in that method to common mutable fields in the shared Flow Controller object are not synchronized. This code should be fixed so that those references are synchronized on the same monitor used to synchronize other field access in the Flow Controller. UIMA-1149 I hope will use the class instance of the flow controller for this purpose, and, assuming that it does, this code should explicitly synchronize on that same object, for references to mutable fields in that class. There is one field, mSequence, which is in the associated Flow Controller class, which is mutable (in theory). References to this field should be synchronized with the same monitor used by the flow controller class when manipulating it. The other field references in the flow object should be checked, and synchronized if they refer to mutable Flow Controller fields. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
Re: svn commit: r808996 - /incubator/uima/uimaj/trunk/uimaj-bootstrap/
We have a very long list of jars in setUimaClassPath largely because we are uncertain how many ActiveMQ jars to include ... currently we specify only 14 of the 31 that AMQ loads. And one of ours is wrong as we specify commons-collections-3.1.jar while the library has commons-collections-2.1.jar ... which causes an apparently innocuous message that is usually suppressed: 8/28/09 3:49:54 PM - 0: org.springframework.util.ClassUtils.isPresent: FINE: Class [org.apache.commons.collections.map.LinkedMap] or one of its dependencies is not present: java.lang.ClassNotFoundException: org.apache.commons.collections.map.LinkedMap I was hoping that using a jar loader would avoid such mistakes, and also make it easier for users to switch ActiveMQ versions by merely renaming the parent directory. We could perhaps use AMQ's run.jar for these uima-as scripts and load everything that their scripts load. If there are some uima jars that should not be loaded perhaps they should be in an optional directory. -Burn
Re: New UIMA committers
Thanks for the welcome. I'll no doubt be bugging some of my neighbors for help! -Burn
[jira] Updated: (UIMA-1297) Uima AS Service Not Handling Send Failures Correctly
[ https://issues.apache.org/jira/browse/UIMA-1297?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Burn Lewis updated UIMA-1297: - Attachment: uimaj-as-activemq_1297.patch Two of the JUnit test descriptors need to be modified to ignore the new ForcedMessageTimeoutException Uima AS Service Not Handling Send Failures Correctly Key: UIMA-1297 URL: https://issues.apache.org/jira/browse/UIMA-1297 Project: UIMA Issue Type: Bug Components: Async Scaleout Reporter: Jerry Cwiklik Assignee: Jerry Cwiklik Attachments: uimaj-as-activemq_1297.patch When a send requst fails due to a lost broker connection, the uima AS aggregate removes the CAS from the outstanding list. Subsequently, when a timer pops the Timeout Exception is reported against the wrong CAS. Fix the code so that the CAS remains in the outstanding list until the timer pops. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (UIMA-1358) Exceptions on generated CASes are returned to client without parentage information
[ https://issues.apache.org/jira/browse/UIMA-1358?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Burn Lewis updated UIMA-1358: - Attachment: uimaj-as-activemq_1358.patch Yes, works fine now. This patch adds code to the test driver to test if any exceptions come back associated with a child CAS. Also named some of the test threads, and moved some of the fail calls so they occur after the service has been shutdown (otherwise test hangs on failure) Exceptions on generated CASes are returned to client without parentage information -- Key: UIMA-1358 URL: https://issues.apache.org/jira/browse/UIMA-1358 Project: UIMA Issue Type: Bug Components: Async Scaleout Affects Versions: 2.2.2 Reporter: Burn Lewis Assignee: Burn Lewis Fix For: 2.3S Attachments: uimaj-as-activemq_1358.patch The client should be told which of its input CASes might have (indirectly) generated this failing CAS. Also is there any value in sending more than one exception if many children fail? If the aggregate is not a CM then the client should just be told that the input CAS failed. Here is part of a recent email discussion on this problem: I think I have a somewhat clearer picture of how we might handle errors on child CASes. First consider Primitive Aggregate CMs, and then a non-CM aggregate that contains a CM. I can see 3 different ways an application may wish to handle errors on child CASes: Primitive CM Stop generating children/descendants of the input CAS and return an exception on the input CAS Generate an incomplete CAS -- perhaps marked as damaged (useful when the total count must be preserved and a place-holder provided) Ignore the error, generate no CAS and carry on to generate the next CAS (if any) Aggregate CM Stop generating any more children/descendants from the input CAS and return the exception on the input CAS Allow the CAS to continue in the flow Quietly drop the CAS, do not return it and do not generate an exception Simple Aggregate with internal CM Stop generating any more children/descendants from the input CAS and return the exception on the input CAS Allow the CAS to continue in the flow (it will be dropped at the end of the flow) Quietly drop the CAS as if it reached the end of the flow, and do not generate an exception Currently our aggregate error-handling supports #2, while #3 doesn't depend on the framework. I have added aggregate support for #3 to the AdvancedFixedFlowController in the UIMA-AS test suite (as part of Jira 1353) in the form of a new AllowDropOnFailure option which specifies the delegates for which a failing CAS can be dropped, i.e. skip to the end of the flow with the forceCasToBeDropped flag set. (I used it to test the thresholdWindow error handling to verify that an intermittently failing delegate is disabled when N of the last M CASes fail.) But I don't think our docs indicate what should happen in #1 and the current implementation handles it differently ... the exception is associated with the child CAS without any reference to the input CAS, and the CM continues to generate children, so the client can get many exceptions that refer to unknown CASes. The getParentCasReferenceId() method in the UimaASProcessStatus (which I could not find in the JavaDocs) can be used to associate a child CAS with the input CAS that generated it, but it is always null when an exception is returned. Consider the information available to the entityProcessComplete callback when an input CAS successfully generates 2 children: returnedCAS getCasReferenceId() getParentCasReferenceId() isException() Child1 ID-of-Child1ID-of-Parent false Child2 ID-of-Child2ID-of-Parent false Parent ID-of-Parentnull false If the 2nd child causes an exception then the client might see (Option A) returnedCAS getCasReferenceId() getParentCasReferenceId() isException() Child1 ID-of-Child1ID-of-Parent false nullID-of-Parentnull true Or we could put the failing child's ID in the status (Option B) returnedCAS getCasReferenceId() getParentCasReferenceId() isException() Child1 ID-of-Child1ID-of-Parent false nullID-of-Child2ID-of-Parent true Note that in an Aggregate CM the failing CAS may not have been generated directly by the parent
Re: can we drop .bz2 formats of our binary distribution?
+1 -Burn
[jira] Created: (UIMA-1495) dd2spring throws SAXParseException if parameters are appended to a broker URL
dd2spring throws SAXParseException if parameters are appended to a broker URL - Key: UIMA-1495 URL: https://issues.apache.org/jira/browse/UIMA-1495 Project: UIMA Issue Type: Bug Components: Async Scaleout Reporter: Burn Lewis Priority: Minor Fix For: 2.3AS If a brokerURL includes ActiveMQ parameters, e.g. tcp://foo.com:61616?wireFormat.maxInactivityDuration=3 we get: org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 30 in XML document from URL [file:C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp/UIMAdd2springOutput6969751502912373687.xml] is invalid; nested exception is org.xml.sax.SAXParseException: Attribute value qBroker_tcp_c__ss_foo.com_c_61616?wireFormat.maxInactivityDuration=3 of type ID must be a name. Caused by: org.xml.sax.SAXParseException: Attribute value qBroker_tcp_c__ss_foo.com_c_61616?wireFormat.maxInactivityDuration=3 of type ID must be a name. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
Re: [VOTE] graduate UIMA-AS from sandbox
+1
[jira] Commented: (UIMA-1257) Type System Merging Should Produce Consistent Ordering of Types
[ https://issues.apache.org/jira/browse/UIMA-1257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12735896#action_12735896 ] Burn Lewis commented on UIMA-1257: -- +1 for sorting, and hence providing a consistent ordering when users forget to explicitly specify type priorities. Ensures portability with a low one-time cost. Type System Merging Should Produce Consistent Ordering of Types --- Key: UIMA-1257 URL: https://issues.apache.org/jira/browse/UIMA-1257 Project: UIMA Issue Type: Improvement Components: Core Java Framework Affects Versions: 2.2.2 Reporter: Adam Lally Assignee: Adam Lally Priority: Minor Fix For: 2.3 Currently when type systems are merged across annotators, the ordering of the types produced by the merge method is not defined, and varies according to the ordering in which the individual type system descriptors are passed to the merge method. The ordering depends on the order in which individual AEs are initialized, which is also not defined, and may even vary according to JVM version. One reason to improve this is that UIMA-AS has a feature to allow binary serialization, but it requires that type systems be identical on both sides of the connection, and it is difficult to ensure this if ordering cannot be relied on. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Closed: (UIMA-1378) Build of uimaj-examples project fails
[ https://issues.apache.org/jira/browse/UIMA-1378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Burn Lewis closed UIMA-1378. Resolution: Fixed Patch applied tested. Build of uimaj-examples project fails - Key: UIMA-1378 URL: https://issues.apache.org/jira/browse/UIMA-1378 Project: UIMA Issue Type: Bug Components: Async Scaleout Reporter: Burn Lewis Priority: Minor Fix For: 2.3S Attachments: UIMA-1378_uima-as-distr.patch Classpath for uimaj-examples project references old xstream-1.1.2.jar instead of xstream-1.2.2.jar Offending file appears to be uima-as-distr/src/main/eclipseProject/classpath -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (UIMA-1326) Remove EMF dependency from uimaj-ep-runtime plugin
[ https://issues.apache.org/jira/browse/UIMA-1326?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Burn Lewis updated UIMA-1326: - Attachment: uima-as-distr_1326.patch Ooops -- we need to move the same files in the uima-as build. FWIW I've tested jcasgen in the uima-as build Remove EMF dependency from uimaj-ep-runtime plugin -- Key: UIMA-1326 URL: https://issues.apache.org/jira/browse/UIMA-1326 Project: UIMA Issue Type: Improvement Components: Eclipse plugins Affects Versions: 2.3 Reporter: Jörn Kottmann Assignee: Jörn Kottmann Fix For: 2.3 Attachments: uima-as-distr_1326.patch, uimaj-distr_1326.patch, uimaj-examples_1326.patch The uimaj-ep-runtime plugin depends on EMF, this dependency makes deploying in an non eclipse OSGI environment difficult since EMF depends on org.eclipse.core.runtime, which depends on many other eclipse plugins. Since EMF is only really used in the examples project, the dependency is removed from uimaj-core and the classes Ecore2UimaTypeSystem and UimaTypeSystem2Ecore.java are moved to uimaj-examples. The uimaj-ep-runtime plugin contains currently uimaj-examples, that could be moved to a seperate plugin or shipped with an OSGI bundle. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
Problem with plugins on our update site
I've installed Eclipse 3.4.2 and added the EMF and UIMA plugins from the appropriate sites but the CDE fails to open or create Deployment Descriptors. I've attached the stack trace below. Help-Software Updates-Manage Configuration shows a red X on UIMA-AS Deployment Descriptor Editor 2.2.2.incubating and the Properties are: Status: The feature is not configured properly. Reason: Plug-in org.apache.uima.deployeditor version 2.2.2.incubating referenced by this feature is missing. But in my eclipse/plugins directory I have org.apache.uima.deployeditor_2.2.2.incubating.jar I've also tried Eclipse 3.5.0 and had the same configuration error but the CDE simply fails to recognize a DD. Are there some hidden tricks to using the update site http://www.apache.org/dist/incubator/uima/eclipse-update-site ? Has anybody else tried to install from it recently? - Burn java.lang.NullPointerException at org.eclipse.ui.internal.forms.widgets.FormImages$ImageIdentifier.hashCode(FormImages.java:69) at org.eclipse.ui.internal.forms.widgets.FormImages$ComplexImageIdentifier.hashCode(FormImages.java:138) at java.util.HashMap.getEntry(HashMap.java:509) at java.util.HashMap.get(HashMap.java:497) at org.eclipse.ui.internal.forms.widgets.FormImages.getGradient(FormImages.java:187) at org.eclipse.ui.internal.forms.widgets.FormHeading.updateGradientImage(FormHeading.java:868) at org.eclipse.ui.internal.forms.widgets.FormHeading.setTextBackground(FormHeading.java:718) at org.eclipse.ui.forms.widgets.Form.setTextBackground(Form.java:315) at org.apache.uima.dde.internal.page.OverviewPage.createFormContent(OverviewPage.java:346) at org.eclipse.ui.forms.editor.FormPage$1.run(FormPage.java:151) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) at org.eclipse.ui.forms.editor.FormPage.createPartControl(FormPage.java:149) at org.eclipse.ui.forms.editor.FormEditor.pageChange(FormEditor.java:488) at org.apache.uima.taeconfigurator.editors.MultiPageEditor.pageChangeSuper(MultiPageEditor.java:615) at org.apache.uima.dde.internal.DeploymentDescriptorEditor.pageChangeForCurrentEditor(DeploymentDescriptorEditor.java:303) at org.apache.uima.taeconfigurator.editors.MultiPageEditor.pageChange(MultiPageEditor.java:1118) at org.eclipse.ui.part.MultiPageEditorPart.setActivePage(MultiPageEditorPart.java:973) at org.eclipse.ui.forms.editor.FormEditor.setActivePage(FormEditor.java:623) at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:314) at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:661) at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:428) at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:594) at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:266) at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2820) at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2729) at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2721) at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2673) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2668) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2652) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2635) at org.apache.uima.taeconfigurator.wizards.AbstractNewWizard$2.run(AbstractNewWizard.java:175) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:133) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3800) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3425) at org.eclipse.jface.operation.ModalContext$ModalContextThread.block(ModalContext.java:173) at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:388) at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:934) at org.apache.uima.taeconfigurator.wizards.AbstractNewWizard.performFinish(AbstractNewWizard.java:108) at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742) at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373) at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422) at
[jira] Commented: (UIMA-1109) Need ability to quiesce an instance of a service
[ https://issues.apache.org/jira/browse/UIMA-1109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12726245#action_12726245 ] Burn Lewis commented on UIMA-1109: -- Tested using the command-line q and also with completeProcessingAndStop via JMX (had to use a Sun JVM for both the service and jconsole in order to connect) ... both caused a ServiceShutdownException to be sent to the client which is unexpected. Also when quiesced via JMX the service did not exit ... perhaps is still waiting for a 'q' or 's'. When stopped with s or the JMX stopNow() the service stopped but did not exit ... required control-C. Client also got a ServiceShutdownException but maybe that's to be expected with a hard shutdown. Need ability to quiesce an instance of a service Key: UIMA-1109 URL: https://issues.apache.org/jira/browse/UIMA-1109 Project: UIMA Issue Type: Improvement Components: Async Scaleout Reporter: Burn Lewis Assignee: Jerry Cwiklik We can deploy extra instances of a service seamlessly but also need a mechanism to undeploy without losing any work, i.e. ask an instance to stop processing messages and shutdown when it finishes its current work. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (UIMA-1326) Remove EMF dependency from uimaj-ep-runtime plugin
[ https://issues.apache.org/jira/browse/UIMA-1326?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Burn Lewis updated UIMA-1326: - Attachment: uimaj-examples_1326.patch uimaj-distr_1326.patch One patch fixes the compile error exposed by new versions of EMF, the other puts 2 more emf-dependent routines in the ecore_src directory (I think I have the syntax correct ... the build now produces a project that compiles) Remove EMF dependency from uimaj-ep-runtime plugin -- Key: UIMA-1326 URL: https://issues.apache.org/jira/browse/UIMA-1326 Project: UIMA Issue Type: Improvement Components: Eclipse plugins Affects Versions: 2.3 Reporter: Jörn Kottmann Assignee: Jörn Kottmann Fix For: 2.3 Attachments: uimaj-distr_1326.patch, uimaj-examples_1326.patch The uimaj-ep-runtime plugin depends on EMF, this dependency makes deploying in an non eclipse OSGI environment difficult since EMF depends on org.eclipse.core.runtime, which depends on many other eclipse plugins. Since EMF is only really used in the examples project, the dependency is removed from uimaj-core and the classes Ecore2UimaTypeSystem and UimaTypeSystem2Ecore.java are moved to uimaj-examples. The uimaj-ep-runtime plugin contains currently uimaj-examples, that could be moved to a seperate plugin or shipped with an OSGI bundle. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (UIMA-1326) Remove EMF dependency from uimaj-ep-runtime plugin
[ https://issues.apache.org/jira/browse/UIMA-1326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12725643#action_12725643 ] Burn Lewis commented on UIMA-1326: -- That's what the patch to bin.xml does ... all are under src in svn but when we build the binary distribution we now move 3 files (was 1) to ecore_src. All looks fine now - thanks, Burn. Remove EMF dependency from uimaj-ep-runtime plugin -- Key: UIMA-1326 URL: https://issues.apache.org/jira/browse/UIMA-1326 Project: UIMA Issue Type: Improvement Components: Eclipse plugins Affects Versions: 2.3 Reporter: Jörn Kottmann Assignee: Jörn Kottmann Fix For: 2.3 Attachments: uimaj-distr_1326.patch, uimaj-examples_1326.patch The uimaj-ep-runtime plugin depends on EMF, this dependency makes deploying in an non eclipse OSGI environment difficult since EMF depends on org.eclipse.core.runtime, which depends on many other eclipse plugins. Since EMF is only really used in the examples project, the dependency is removed from uimaj-core and the classes Ecore2UimaTypeSystem and UimaTypeSystem2Ecore.java are moved to uimaj-examples. The uimaj-ep-runtime plugin contains currently uimaj-examples, that could be moved to a seperate plugin or shipped with an OSGI bundle. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (UIMA-1326) Remove EMF dependency from uimaj-ep-runtime plugin
[ https://issues.apache.org/jira/browse/UIMA-1326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12725382#action_12725382 ] Burn Lewis commented on UIMA-1326: -- If I add to the uimaj-examples classpath the ecore jars that maven puts in my repository when building from svn (e.g. org/eclipse/emf/ecore/2.1.0/ecore-2.1.0.jar) the build works. When I instead use the ones in my eclipse/plugins directory (e.g. org.eclipse.emf.ecore_2.3.2.v200802051830.jar) that match my Eclipse 3.3.2, the compile of UimaTypeSystem2Ecore fails at line 188: eclass.getESuperTypes().add(superclass); But I don't think we intended to have any ecore code in this project as we have some of it in ecore_src ... so the simplest fix is to move the ecore-dependent files into examples/ecore_src instead of examples/src Remove EMF dependency from uimaj-ep-runtime plugin -- Key: UIMA-1326 URL: https://issues.apache.org/jira/browse/UIMA-1326 Project: UIMA Issue Type: Improvement Components: Eclipse plugins Affects Versions: 2.3 Reporter: Jörn Kottmann Assignee: Jörn Kottmann Fix For: 2.3 The uimaj-ep-runtime plugin depends on EMF, this dependency makes deploying in an non eclipse OSGI environment difficult since EMF depends on org.eclipse.core.runtime, which depends on many other eclipse plugins. Since EMF is only really used in the examples project, the dependency is removed from uimaj-core and the classes Ecore2UimaTypeSystem and UimaTypeSystem2Ecore.java are moved to uimaj-examples. The uimaj-ep-runtime plugin contains currently uimaj-examples, that could be moved to a seperate plugin or shipped with an OSGI bundle. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (UIMA-1326) Remove EMF dependency from uimaj-ep-runtime plugin
[ https://issues.apache.org/jira/browse/UIMA-1326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12724504#action_12724504 ] Burn Lewis commented on UIMA-1326: -- Sorry, I should have clarified my problem. The build worked fine but the problem came when I took the resultant zip file (binary) and installed it and tried to build the examples project as our docs recommend. Presumably we don't require maven for that step. Remove EMF dependency from uimaj-ep-runtime plugin -- Key: UIMA-1326 URL: https://issues.apache.org/jira/browse/UIMA-1326 Project: UIMA Issue Type: Improvement Components: Eclipse plugins Affects Versions: 2.3 Reporter: Jörn Kottmann Assignee: Jörn Kottmann Fix For: 2.3 The uimaj-ep-runtime plugin depends on EMF, this dependency makes deploying in an non eclipse OSGI environment difficult since EMF depends on org.eclipse.core.runtime, which depends on many other eclipse plugins. Since EMF is only really used in the examples project, the dependency is removed from uimaj-core and the classes Ecore2UimaTypeSystem and UimaTypeSystem2Ecore.java are moved to uimaj-examples. The uimaj-ep-runtime plugin contains currently uimaj-examples, that could be moved to a seperate plugin or shipped with an OSGI bundle. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Created: (UIMA-1391) Client of a CAS Multiplier should be able to stop processing of a CAS
Client of a CAS Multiplier should be able to stop processing of a CAS - Key: UIMA-1391 URL: https://issues.apache.org/jira/browse/UIMA-1391 Project: UIMA Issue Type: Improvement Components: Async Scaleout Reporter: Burn Lewis Fix For: 2.3S Normally the number of CASes generated by a Cas Multiplier is determined by the CM itself, but with an aggregate CM that number may be hard to anticipate or control. Some applications may not need all of the generated CASes ... they may be satisfied once an appropriate amount of information has been returned. Hence it would be convenient for the client to be able to request that the CM stop generating CASes, and if an aggregate, stop processing any internal CASes generated from the input CAS. Such a request is probably only useful for CMs acting as pure segmenters ... if the CM is merging CASes or resegmenting them then the process could be terminated by the application upon receiving an end-of-stream CAS. It might be an acceptable simplification to have the stop request stop all processing of active CASes, but then again it may be easily handled by the changes being made to stop an aggregate CM when a generated CAS produces an exception. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Created: (UIMA-1390) UIMA should include a User Library containing all the necessary jars for Eclipse projects
UIMA should include a User Library containing all the necessary jars for Eclipse projects -- Key: UIMA-1390 URL: https://issues.apache.org/jira/browse/UIMA-1390 Project: UIMA Issue Type: Improvement Reporter: Burn Lewis Priority: Minor We could include a uima.userlibraries file containing all the jars needed by projects using UIMA ... would avoid the need to add the jars one by one when setting up the classpath ... simply import this file and then add the library to the project's build path. It could contain separate sets for core UIMA and UIMA-AS. The adjustExamplePaths script could correct its absolute paths. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (UIMA-1390) UIMA should include a User Library containing all the necessary jars for Eclipse projects
[ https://issues.apache.org/jira/browse/UIMA-1390?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Burn Lewis updated UIMA-1390: - Attachment: UIMA-1390_uima-as-distr.patch UIMA-1390_uimaj-distr.patch Here are 2 patches ... one for adjustExamplePaths.bat .sh and the other a new file holding 2 User Libraries ... UIMA_LIB UIMA_AS_LIB Not sure where this should go ... I guessed UIMA_HOME/config but could be /lib UIMA should include a User Library containing all the necessary jars for Eclipse projects -- Key: UIMA-1390 URL: https://issues.apache.org/jira/browse/UIMA-1390 Project: UIMA Issue Type: Improvement Reporter: Burn Lewis Priority: Minor Attachments: UIMA-1390_uima-as-distr.patch, UIMA-1390_uimaj-distr.patch We could include a uima.userlibraries file containing all the jars needed by projects using UIMA ... would avoid the need to add the jars one by one when setting up the classpath ... simply import this file and then add the library to the project's build path. It could contain separate sets for core UIMA and UIMA-AS. The adjustExamplePaths script could correct its absolute paths. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (UIMA-1378) Build of uimaj-examples project fails
[ https://issues.apache.org/jira/browse/UIMA-1378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12720639#action_12720639 ] Burn Lewis commented on UIMA-1378: -- Yes, this is for AS. Just like the core it provides a ,classpath for the uimaj-examples project that is often a template for new projects. Build of uimaj-examples project fails - Key: UIMA-1378 URL: https://issues.apache.org/jira/browse/UIMA-1378 Project: UIMA Issue Type: Bug Components: Async Scaleout Reporter: Burn Lewis Priority: Minor Fix For: 2.3S Attachments: UIMA-1378_uima-as-distr.patch Classpath for uimaj-examples project references old xstream-1.1.2.jar instead of xstream-1.2.2.jar Offending file appears to be uima-as-distr/src/main/eclipseProject/classpath -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (UIMA-1326) Remove EMF dependency from uimaj-ep-runtime plugin
[ https://issues.apache.org/jira/browse/UIMA-1326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12720729#action_12720729 ] Burn Lewis commented on UIMA-1326: -- I'm probably missing something but I can't build the uimaj-examples project now. I built a new uima core uimaj-2.3.0-incubating-SNAPSHOT-bin.zip and installed it, then created a new workspace and imported the uimaj-examples project. It failed on the new ecore classes in org.apache.uima.examples.xmi so I followed the instructions in the ecore_src directory to add the 3 emf jar files to my classpath and now I have only one error: The method add(EClass) in the type ListEClass is not applicable for the arguments (EClassifier) uimaj-examples/src/org/apache/uima/examples/xmi UimaTypeSystem2Ecore.java line 188 I have Eclipse 3.3.2 and an updated EMF 2.3.2.v200802051830 Remove EMF dependency from uimaj-ep-runtime plugin -- Key: UIMA-1326 URL: https://issues.apache.org/jira/browse/UIMA-1326 Project: UIMA Issue Type: Improvement Components: Eclipse plugins Affects Versions: 2.3 Reporter: Jörn Kottmann Assignee: Jörn Kottmann Fix For: 2.3 The uimaj-ep-runtime plugin depends on EMF, this dependency makes deploying in an non eclipse OSGI environment difficult since EMF depends on org.eclipse.core.runtime, which depends on many other eclipse plugins. Since EMF is only really used in the examples project, the dependency is removed from uimaj-core and the classes Ecore2UimaTypeSystem and UimaTypeSystem2Ecore.java are moved to uimaj-examples. The uimaj-ep-runtime plugin contains currently uimaj-examples, that could be moved to a seperate plugin or shipped with an OSGI bundle. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Created: (UIMA-1378) Build of uimaj-examples project fails
Build of uimaj-examples project fails - Key: UIMA-1378 URL: https://issues.apache.org/jira/browse/UIMA-1378 Project: UIMA Issue Type: Bug Components: Async Scaleout Reporter: Burn Lewis Priority: Minor Fix For: 2.3S Classpath for uimaj-examples project references old xstream-1.1.2.jar instead of xstream-1.2.2.jar Offending file appears to be uima-as-distr/src/main/eclipseProject/classpath -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (UIMA-1378) Build of uimaj-examples project fails
[ https://issues.apache.org/jira/browse/UIMA-1378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Burn Lewis updated UIMA-1378: - Attachment: UIMA-1378_uima-as-distr.patch This patch fixes the xstream problem. Build of uimaj-examples project fails - Key: UIMA-1378 URL: https://issues.apache.org/jira/browse/UIMA-1378 Project: UIMA Issue Type: Bug Components: Async Scaleout Reporter: Burn Lewis Priority: Minor Fix For: 2.3S Attachments: UIMA-1378_uima-as-distr.patch Classpath for uimaj-examples project references old xstream-1.1.2.jar instead of xstream-1.2.2.jar Offending file appears to be uima-as-distr/src/main/eclipseProject/classpath -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (UIMA-1367) UIMA-AS docs JavaDocs don't fully describe the UimaASStatusCallbackListener interface
[ https://issues.apache.org/jira/browse/UIMA-1367?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Burn Lewis updated UIMA-1367: - Component/s: Async Scaleout Affects Version/s: 2.2.2 Fix Version/s: 2.3S UIMA-AS docs JavaDocs don't fully describe the UimaASStatusCallbackListener interface --- Key: UIMA-1367 URL: https://issues.apache.org/jira/browse/UIMA-1367 Project: UIMA Issue Type: Bug Components: Async Scaleout Affects Versions: 2.2.2 Reporter: Burn Lewis Priority: Minor Fix For: 2.3S They claim the callbacks provide an org.apache.uima.collection.EntityProcessStatus but it's actually an extension (org.apache.uima.aae.client.UimaASProcessStatus) with 2 extra methods. Also need a correction as says that On success aStatus will be null Also need to state when (or if) entityProcessComplete provides a null CAS, and that the input CAS is provided when an exception has occurred. Note: When running the tests I do see replies with a null CAS, with without IDs in the status, but some are to be expected until 1358 is fixed. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Created: (UIMA-1367) UIMA-AS docs JavaDocs don't fully describe the UimaASStatusCallbackListener interface
UIMA-AS docs JavaDocs don't fully describe the UimaASStatusCallbackListener interface --- Key: UIMA-1367 URL: https://issues.apache.org/jira/browse/UIMA-1367 Project: UIMA Issue Type: Bug Reporter: Burn Lewis Priority: Minor They claim the callbacks provide an org.apache.uima.collection.EntityProcessStatus but it's actually an extension (org.apache.uima.aae.client.UimaASProcessStatus) with 2 extra methods. Also need a correction as says that On success aStatus will be null Also need to state when (or if) entityProcessComplete provides a null CAS, and that the input CAS is provided when an exception has occurred. Note: When running the tests I do see replies with a null CAS, with without IDs in the status, but some are to be expected until 1358 is fixed. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (UIMA-1358) Exceptions on generated CASes are returned to client without parentage information
[ https://issues.apache.org/jira/browse/UIMA-1358?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12715715#action_12715715 ] Burn Lewis commented on UIMA-1358: -- After more discussions I think the conclusion is ... The real issue here is what should happen when a delegate in an aggregate reports an error on a generated CAS and the error handling is configured to not let the CAS continue. Since this is the simplest (default) way to handle errors we should take the simplest approach of reporting the error against the parent CAS, i.e. * stop generating any more CASes from this parent * don't start any further processing of CASes already generated by this parent that are still within the aggregate ** i.e. don't let them continue in the flow ** if they themselves are in a local or remote Cas Multiplier don't let then generate any more children * don't return any more child CASes if this is a Cas Multiplier * when all children of this parent are accounted for return the exception as if the parent failed If additional exceptions occur on other children of the parent they could possibly be added to the EntityProcessStatus returned to the client. Note: Currently the exception is always returned against each failing child, the processing does not stop, and the parent is returned with no exceptions. Exceptions on generated CASes are returned to client without parentage information -- Key: UIMA-1358 URL: https://issues.apache.org/jira/browse/UIMA-1358 Project: UIMA Issue Type: Bug Components: Async Scaleout Affects Versions: 2.2.2 Reporter: Burn Lewis Fix For: 2.3S The client should be told which of its input CASes might have (indirectly) generated this failing CAS. Also is there any value in sending more than one exception if many children fail? If the aggregate is not a CM then the client should just be told that the input CAS failed. Here is part of a recent email discussion on this problem: I think I have a somewhat clearer picture of how we might handle errors on child CASes. First consider Primitive Aggregate CMs, and then a non-CM aggregate that contains a CM. I can see 3 different ways an application may wish to handle errors on child CASes: Primitive CM Stop generating children/descendants of the input CAS and return an exception on the input CAS Generate an incomplete CAS -- perhaps marked as damaged (useful when the total count must be preserved and a place-holder provided) Ignore the error, generate no CAS and carry on to generate the next CAS (if any) Aggregate CM Stop generating any more children/descendants from the input CAS and return the exception on the input CAS Allow the CAS to continue in the flow Quietly drop the CAS, do not return it and do not generate an exception Simple Aggregate with internal CM Stop generating any more children/descendants from the input CAS and return the exception on the input CAS Allow the CAS to continue in the flow (it will be dropped at the end of the flow) Quietly drop the CAS as if it reached the end of the flow, and do not generate an exception Currently our aggregate error-handling supports #2, while #3 doesn't depend on the framework. I have added aggregate support for #3 to the AdvancedFixedFlowController in the UIMA-AS test suite (as part of Jira 1353) in the form of a new AllowDropOnFailure option which specifies the delegates for which a failing CAS can be dropped, i.e. skip to the end of the flow with the forceCasToBeDropped flag set. (I used it to test the thresholdWindow error handling to verify that an intermittently failing delegate is disabled when N of the last M CASes fail.) But I don't think our docs indicate what should happen in #1 and the current implementation handles it differently ... the exception is associated with the child CAS without any reference to the input CAS, and the CM continues to generate children, so the client can get many exceptions that refer to unknown CASes. The getParentCasReferenceId() method in the UimaASProcessStatus (which I could not find in the JavaDocs) can be used to associate a child CAS with the input CAS that generated it, but it is always null when an exception is returned. Consider the information available to the entityProcessComplete callback when an input CAS successfully generates 2 children: returnedCAS getCasReferenceId() getParentCasReferenceId() isException() Child1 ID-of-Child1ID-of-Parent false Child2 ID-of-Child2ID-of-Parent false Parent ID-of-Parentnull
[jira] Updated: (UIMA-1353) UIMA-AS JUnit test code suppresses some exceptions so may not report some test failures
[ https://issues.apache.org/jira/browse/UIMA-1353?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Burn Lewis updated UIMA-1353: - Attachment: (was: UIMA-1353-fixed.patch) UIMA-AS JUnit test code suppresses some exceptions so may not report some test failures --- Key: UIMA-1353 URL: https://issues.apache.org/jira/browse/UIMA-1353 Project: UIMA Issue Type: Bug Components: Async Scaleout Reporter: Burn Lewis Priority: Minor Fix For: 2.3AS Attachments: UIMA-1353_uimaj-as-activemq.patch, UIMA-1353_uimaj-as-jms.patch The test support code suppresses the ServiceShutdownException (and others) which can make failing tests appear OK. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (UIMA-1355) When one delagate in a parallel step fails, the flow continues without waiting for the last reply
[ https://issues.apache.org/jira/browse/UIMA-1355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Burn Lewis updated UIMA-1355: - Attachment: UIMA-1355_test_uimaj-as-activemq.patch Here's a patch that makes testProcessParallelFlowWithDelegateDisable fail as it now checks that the other delegate's results do get merged into the CAS. If the final CheckTextAnnotator does not find a SourceDocumentInformatiom annotation it fails the test. When one delagate in a parallel step fails, the flow continues without waiting for the last reply - Key: UIMA-1355 URL: https://issues.apache.org/jira/browse/UIMA-1355 Project: UIMA Issue Type: Bug Components: Async Scaleout Reporter: Burn Lewis Fix For: 2.3S Attachments: UIMA-1355_test_uimaj-as-activemq.patch When a delegate in a parallel step fails the number of replies received is incremented twice, so the reply from the last delegate is not merged into the CAS. When it is received it will reenter the flow if the CAS is still active, causing even more trouble. I have a test case that demonstrates the problem. Also we should make the check for all-replies-received atomic so that only one reply- or error-processing thread will send the CAS on to the next step, or, depending on the error-handling, discard the CAS or terminate the service. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Created: (UIMA-1358) Exceptions on generated CASes are returned to client without parentage information
Exceptions on generated CASes are returned to client without parentage information -- Key: UIMA-1358 URL: https://issues.apache.org/jira/browse/UIMA-1358 Project: UIMA Issue Type: Bug Components: Async Scaleout Affects Versions: 2.2.2 Reporter: Burn Lewis Fix For: 2.3S The client should be told which of its input CASes might have (indirectly) generated this failing CAS. Also is there any value in sending more than one exception if many children fail? If the aggregate is not a CM then the client should just be told that the input CAS failed. Here is part of a recent email discussion on this problem: I think I have a somewhat clearer picture of how we might handle errors on child CASes. First consider Primitive Aggregate CMs, and then a non-CM aggregate that contains a CM. I can see 3 different ways an application may wish to handle errors on child CASes: Primitive CM Stop generating children/descendants of the input CAS and return an exception on the input CAS Generate an incomplete CAS -- perhaps marked as damaged (useful when the total count must be preserved and a place-holder provided) Ignore the error, generate no CAS and carry on to generate the next CAS (if any) Aggregate CM Stop generating any more children/descendants from the input CAS and return the exception on the input CAS Allow the CAS to continue in the flow Quietly drop the CAS, do not return it and do not generate an exception Simple Aggregate with internal CM Stop generating any more children/descendants from the input CAS and return the exception on the input CAS Allow the CAS to continue in the flow (it will be dropped at the end of the flow) Quietly drop the CAS as if it reached the end of the flow, and do not generate an exception Currently our aggregate error-handling supports #2, while #3 doesn't depend on the framework. I have added aggregate support for #3 to the AdvancedFixedFlowController in the UIMA-AS test suite (as part of Jira 1353) in the form of a new AllowDropOnFailure option which specifies the delegates for which a failing CAS can be dropped, i.e. skip to the end of the flow with the forceCasToBeDropped flag set. (I used it to test the thresholdWindow error handling to verify that an intermittently failing delegate is disabled when N of the last M CASes fail.) But I don't think our docs indicate what should happen in #1 and the current implementation handles it differently ... the exception is associated with the child CAS without any reference to the input CAS, and the CM continues to generate children, so the client can get many exceptions that refer to unknown CASes. The getParentCasReferenceId() method in the UimaASProcessStatus (which I could not find in the JavaDocs) can be used to associate a child CAS with the input CAS that generated it, but it is always null when an exception is returned. Consider the information available to the entityProcessComplete callback when an input CAS successfully generates 2 children: returnedCAS getCasReferenceId() getParentCasReferenceId() isException() Child1ID-of-Child1ID-of-Parent false Child2ID-of-Child2ID-of-Parent false ParentID-of-Parentnull false If the 2nd child causes an exception then the client might see (Option A) returnedCAS getCasReferenceId() getParentCasReferenceId() isException() Child1ID-of-Child1ID-of-Parent false null ID-of-Parentnull true Or we could put the failing child's ID in the status (Option B) returnedCAS getCasReferenceId() getParentCasReferenceId() isException() Child1ID-of-Child1ID-of-Parent false null ID-of-Child2ID-of-Parenttrue Note that in an Aggregate CM the failing CAS may not have been generated directly by the parent, but by any one of its descendants. I think option A is cleaner and easier to document ... exception always on input CAS. If the ID of the failing child is useful we could wrap the exception in another that said something like Exception inherited from generated CAS xyz Any other options we should consider? I'll put this in a Jira as that may be the better place to discuss it. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Created: (UIMA-1359) Strange warning message when deploying an Aggregate CM
Strange warning message when deploying an Aggregate CM -- Key: UIMA-1359 URL: https://issues.apache.org/jira/browse/UIMA-1359 Project: UIMA Issue Type: Bug Components: Async Scaleout Reporter: Burn Lewis Priority: Minor Fix For: 2.3S What's the correct syntax when deploying an aggregate CM? When running testClientWithAggregateMultiplier we get the warning: *** WARN: line-number: 36 deployment descriptor for analysisEngine: TopLevelTaeQueue is for a top-level CAS Multiplier (or Collection Reader wrapped as a CAS Multiplier). However, the lt;casMultipliergt; element is missing. Defaulting to a poolSize of 1, initialFsHeapSize of 2,000,000 but when I add the casMultiplier element it decides to ignore it! *** WARNING: line-number: 36 casMultiplier settings for poolSize ( poolSize=55) and initialFsHeapSize ( ) will be ignored for the analysisEngine with key= TopLevelTaeQueue because the pool specs are set using the contained delegate cas multiplier specification. The change I made was: Index: uimaj-as-activemq/src/test/resources/deployment/Deploy_AggregateMultiplier.xml === --- uimaj-as-activemq/src/test/resources/deployment/Deploy_AggregateMultiplier.xml (revision 779293) +++ uimaj-as-activemq/src/test/resources/deployment/Deploy_AggregateMultiplier.xml (working copy) @@ -34,6 +34,7 @@ import location=../descriptors/analysis_engine/SimpleTestAggregateCasMultiplier.xml/ /topDescriptor analysisEngine + casMultiplier poolSize=55/ delegates remoteAnalysisEngine key=TestMultiplier -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (UIMA-1353) UIMA-AS JUnit test code suppresses some exceptions so may not report some test failures
[ https://issues.apache.org/jira/browse/UIMA-1353?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Burn Lewis updated UIMA-1353: - Attachment: (was: UIMA-1353.patch) UIMA-AS JUnit test code suppresses some exceptions so may not report some test failures --- Key: UIMA-1353 URL: https://issues.apache.org/jira/browse/UIMA-1353 Project: UIMA Issue Type: Bug Components: Async Scaleout Reporter: Burn Lewis Priority: Minor Fix For: 2.3AS Attachments: UIMA-1353-fixed.patch The test support code suppresses the ServiceShutdownException (and others) which can make failing tests appear OK. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (UIMA-1353) UIMA-AS JUnit test code suppresses some exceptions so may not report some test failures
[ https://issues.apache.org/jira/browse/UIMA-1353?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Burn Lewis updated UIMA-1353: - Attachment: UIMA-1353-fixed.patch Fixed a typo in the patch and made it a DOS file (original had a mixture of DOS Unix lines) UIMA-1353-fixed.patch UIMA-AS JUnit test code suppresses some exceptions so may not report some test failures --- Key: UIMA-1353 URL: https://issues.apache.org/jira/browse/UIMA-1353 Project: UIMA Issue Type: Bug Components: Async Scaleout Reporter: Burn Lewis Priority: Minor Fix For: 2.3AS Attachments: UIMA-1353-fixed.patch The test support code suppresses the ServiceShutdownException (and others) which can make failing tests appear OK. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Created: (UIMA-1355) When one delagate in a parallel step fails, the flow continues without waiting for the last reply
When one delagate in a parallel step fails, the flow continues without waiting for the last reply - Key: UIMA-1355 URL: https://issues.apache.org/jira/browse/UIMA-1355 Project: UIMA Issue Type: Bug Components: Async Scaleout Reporter: Burn Lewis Fix For: 2.3S When a delegate in a parallel step fails the number of replies received is incremented twice, so the reply from the last delegate is not merged into the CAS. When it is received it will reenter the flow if the CAS is still active, causing even more trouble. I have a test case that demonstrates the problem. Also we should make the check for all-replies-received atomic so that only one reply- or error-processing thread will send the CAS on to the next step, or, depending on the error-handling, discard the CAS or terminate the service. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Created: (UIMA-1353) UIMA-AS JUnit test code suppresses some exceptions so may not report some test failures
UIMA-AS JUnit test code suppresses some exceptions so may not report some test failures --- Key: UIMA-1353 URL: https://issues.apache.org/jira/browse/UIMA-1353 Project: UIMA Issue Type: Bug Components: Async Scaleout Reporter: Burn Lewis Priority: Minor Fix For: 2.3AS The test support code suppresses the ServiceShutdownException (and others) which can make failing tests appear OK. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (UIMA-1353) UIMA-AS JUnit test code suppresses some exceptions so may not report some test failures
[ https://issues.apache.org/jira/browse/UIMA-1353?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Burn Lewis updated UIMA-1353: - Attachment: UIMA-1353.patch These changes instead only ignore exceptions that occur after the client stops the service, assuming that the ServiceShutdownException is to be expected then. Some tests had to be corrected (by adding to AllowContinueOnFailure) and the AdvancedFixedFlowController has a new AllowDropOnFailure option so that child CASes with errors can be quietly dropped from the flow and not cause exceptions to be returned to the client. CAS flow tracing has also been added to the flow controller. One test now fails, testJmsServiceAdapterWithGetmetaTimeout, but I don't think it's testing what it should be testing. UIMA-AS JUnit test code suppresses some exceptions so may not report some test failures --- Key: UIMA-1353 URL: https://issues.apache.org/jira/browse/UIMA-1353 Project: UIMA Issue Type: Bug Components: Async Scaleout Reporter: Burn Lewis Priority: Minor Fix For: 2.3AS Attachments: UIMA-1353.patch The test support code suppresses the ServiceShutdownException (and others) which can make failing tests appear OK. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Created: (UIMA-1339) MESSAGE LOCALIZATION FAILED -- missing key UIMAJMS_send_reply_failed__FINE
MESSAGE LOCALIZATION FAILED -- missing key UIMAJMS_send_reply_failed__FINE -- Key: UIMA-1339 URL: https://issues.apache.org/jira/browse/UIMA-1339 Project: UIMA Issue Type: Bug Components: Async Scaleout Affects Versions: 2.3AS Reporter: Burn Lewis Priority: Minor Key in resource bundle is correct (UIMAJMS_send_reply_failed__INFO) ... code is wrong. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (UIMA-1339) MESSAGE LOCALIZATION FAILED -- missing key UIMAJMS_send_reply_failed__FINE
[ https://issues.apache.org/jira/browse/UIMA-1339?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Burn Lewis updated UIMA-1339: - Attachment: UIMA-1339.patch A 1-line fix MESSAGE LOCALIZATION FAILED -- missing key UIMAJMS_send_reply_failed__FINE -- Key: UIMA-1339 URL: https://issues.apache.org/jira/browse/UIMA-1339 Project: UIMA Issue Type: Bug Components: Async Scaleout Affects Versions: 2.3AS Reporter: Burn Lewis Priority: Minor Attachments: UIMA-1339.patch Key in resource bundle is correct (UIMAJMS_send_reply_failed__INFO) ... code is wrong. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (UIMA-1316) Need to extend FlowControllerContainer to support collectionProcessComplete()
[ https://issues.apache.org/jira/browse/UIMA-1316?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12696239#action_12696239 ] Burn Lewis commented on UIMA-1316: -- For the record - the FlowController interface defines a collectionProcessComplete method but at present the UIMA framework doesn't call it. It could be used to report flow statistics, e.g. the number of CAses successfully processed by each delegate. Need to extend FlowControllerContainer to support collectionProcessComplete() - Key: UIMA-1316 URL: https://issues.apache.org/jira/browse/UIMA-1316 Project: UIMA Issue Type: Improvement Components: Async Scaleout, Core Java Framework Reporter: Jerry Cwiklik The FlowControllerContainer wrapper around the FlowController object does not expose collectionProcessComplete() method. Add a new method and delegate collectionProcessComplete to FlowController instance -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (UIMA-1109) Need ability to quiesce an instance of a service
[ https://issues.apache.org/jira/browse/UIMA-1109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12689904#action_12689904 ] Burn Lewis commented on UIMA-1109: -- Investigation has shown that the java logfile has been closed when the shutdown hooks run, but java signal handlers are OK as they are run before it is closed. So we could trigger a graceful shutdown by sending a signal to the JVM running deployAsyncService. On Windows only SIG_INT is supported (Cntl-C) but since the process runs in the foreground it could simply wait for a Shutdown request to be entered at the terminal. A more elegant suggestion was to use JMX messaging, identifying a particular service by an ID generated at startup. Need ability to quiesce an instance of a service Key: UIMA-1109 URL: https://issues.apache.org/jira/browse/UIMA-1109 Project: UIMA Issue Type: Improvement Components: Async Scaleout Reporter: Burn Lewis We can deploy extra instances of a service seamlessly but also need a mechanism to undeploy without losing any work, i.e. ask an instance to stop processing messages and shutdown when it finishes its current work. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (UIMA-1109) Need ability to quiesce an instance of a service
[ https://issues.apache.org/jira/browse/UIMA-1109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12688720#action_12688720 ] Burn Lewis commented on UIMA-1109: -- I don't think we need to support client-initiated shutdown until we have a way for clients to deploy remote services. One use case would be when moving a service to a different machine -- first deploy on the new machine and then gracefully undeploy on the old machine so that no work is lost. Another would be when upgrading a service or UIMA-AS. Currently services are started with deployAsyncService so we need a matching undeploy that would be run from the same machine that would cause the service to stop processing input requests and shutdown when the current request has been completed. For simplicity it should apply to all instances of the service started by the deploy script, so could use the pid of the JVM and a special signal, but may not be able to rely on the shutdown hook since the logs may have been closed ... but perhaps we can add a Java signal handler. Need ability to quiesce an instance of a service Key: UIMA-1109 URL: https://issues.apache.org/jira/browse/UIMA-1109 Project: UIMA Issue Type: Improvement Components: Async Scaleout Reporter: Burn Lewis We can deploy extra instances of a service seamlessly but also need a mechanism to undeploy without losing any work, i.e. ask an instance to stop processing messages and shutdown when it finishes its current work. -- 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
[ https://issues.apache.org/jira/browse/UIMA-1296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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-1297) Uima AS Service Not Handling Send Failures Correctly
[ https://issues.apache.org/jira/browse/UIMA-1297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12677488#action_12677488 ] Burn Lewis commented on UIMA-1297: -- We've discussed an optimization that would immediately execute the error handling as if a timeout had occurred (since that's what would happen if the request was lost later in the network) but decided to postpone that for now until we understand its impact on the new single-timer-per-delegate implementation. Uima AS Service Not Handling Send Failures Correctly Key: UIMA-1297 URL: https://issues.apache.org/jira/browse/UIMA-1297 Project: UIMA Issue Type: Bug Components: Async Scaleout Reporter: Jerry Cwiklik Assignee: Jerry Cwiklik When a send requst fails due to a lost broker connection, the uima AS aggregate removes the CAS from the outstanding list. Subsequently, when a timer pops the Timeout Exception is reported against the wrong CAS. Fix the code so that the CAS remains in the outstanding list until the timer pops. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (UIMA-1297) Uima AS Service Not Handling Send Failures Correctly
[ https://issues.apache.org/jira/browse/UIMA-1297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12677496#action_12677496 ] Burn Lewis commented on UIMA-1297: -- In one of our logs I noticed that even though the a send to a remote service failed, later sends appeared to work and we continued to use the same temp reply queue, so presumably its listener didn't lose connection to the broker!? Uima AS Service Not Handling Send Failures Correctly Key: UIMA-1297 URL: https://issues.apache.org/jira/browse/UIMA-1297 Project: UIMA Issue Type: Bug Components: Async Scaleout Reporter: Jerry Cwiklik Assignee: Jerry Cwiklik When a send requst fails due to a lost broker connection, the uima AS aggregate removes the CAS from the outstanding list. Subsequently, when a timer pops the Timeout Exception is reported against the wrong CAS. Fix the code so that the CAS remains in the outstanding list until the timer pops. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Created: (UIMA-1298) A shared remote CM hangs when one of its clients runs out of memory
A shared remote CM hangs when one of its clients runs out of memory Key: UIMA-1298 URL: https://issues.apache.org/jira/browse/UIMA-1298 Project: UIMA Issue Type: Bug Components: Async Scaleout Reporter: Burn Lewis Priority: Minor Fix For: 2.3S Twice I observed that when one client aggregate of a shared remote CM crashed with an out-of-memory exception the service stopped responding to the other client's requests. No errors found in the service log. The client was not using the service at the time of the crash. Requests stacked up on the input queue ... almost as if the service was blocked on an empty pool, or ...? Killing a client (cntl-C) did not cause the hang. Weird! -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (UIMA-1245) Processing order of parent CAS different on UIMA and UIMA AS
[ https://issues.apache.org/jira/browse/UIMA-1245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12676750#action_12676750 ] Burn Lewis commented on UIMA-1245: -- My suggestion that we should attempt to emulate core UIMA's single-threaded handling of parents was clearly over-design when all that appears to be needed is a way to optionally ensure that parents follow children in the flow. I assume that in 3) you mean that the parameter is part of the CasMultiplier specification in the deployment descriptor for the aggregate, i.e. applies per CasMultiplier and not to all CasMulti[pliers in the aggregate. Since the default (I hope) will be to let the parent continue in the flow as soon as its last child has entered the flow, perhaps the parameter for this new feature could indicate that the parent's processing will be suspended until all its child CASes have completed their processing in the aggregate. Since the docs use the terms input/output instead of parent/child perhaps... casMultiplier poolSize=6 suspendInputCas=true/ or casMultiplier poolSize=6 processInputCasAfterOutputs=true/ +1 for the simpler per-aggregate design Processing order of parent CAS different on UIMA and UIMA AS Key: UIMA-1245 URL: https://issues.apache.org/jira/browse/UIMA-1245 Project: UIMA Issue Type: Bug Components: Async Scaleout Reporter: Eddie Epstein Arron Kaplan raised the question of when parent CASes are processed relative to their children. See http://markmail.org/message/5cop7iv2nshouhgs As of now, the processing order for a multi-threaded UIMA AS aggregate is different than that for a single-threaded UIMA aggregate. A discussion with Burn, Adam, Jerry, Marshall and myself concluded that the default processing order for UIMA AS should be changed to be the same as in UIMA, in order to have the same application behavior for both. This will be done by suspending flow of a parent CAS after it is returned from a CasMultiplier delegate until all its children CASes have finished processing. However, there also needs to be a UIMA AS deployment option for CasMultiplier delegates that allows the parent CAS to resume processing immediately after being returned from the CM. This option is needed to enable parallel processing. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (UIMA-1245) Processing order of parent CAS different on UIMA and UIMA AS
[ https://issues.apache.org/jira/browse/UIMA-1245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12676308#action_12676308 ] Burn Lewis commented on UIMA-1245: -- To summarize my understanding of recent discussions ... First I'd like to suggest that the default should not change. Processing the parent last does not guarantee that UIMA-AS will act like core UIMA ... in addition the size of all downstream pools must be set to 1 to ensure that each child is processed sequentially. We should document the settings needed for UIMA-like processing but I think the default should be UIMA-AS style processing, i.e. processParentLast=false. With the current design parents are held in the final step of an aggregate until all children have completed processing in that aggregate. This ensures that any child errors can be reported on the input CAS, and that aggregate CMs satisfy the CM contract of not processing the parent until all children have been returned. If this aggregate is nested in another, the same conditions hold at the final step of the outer aggregate. But with this new processParentLast=true option the parent must be held after the CM until all of its children have completed processing in all aggregates, i.e. have been returned to their pool. Unlike the previous case we must track the number of children active in any of the nested aggregates. Processing order of parent CAS different on UIMA and UIMA AS Key: UIMA-1245 URL: https://issues.apache.org/jira/browse/UIMA-1245 Project: UIMA Issue Type: Bug Components: Async Scaleout Reporter: Eddie Epstein Arron Kaplan raised the question of when parent CASes are processed relative to their children. See http://markmail.org/message/5cop7iv2nshouhgs As of now, the processing order for a multi-threaded UIMA AS aggregate is different than that for a single-threaded UIMA aggregate. A discussion with Burn, Adam, Jerry, Marshall and myself concluded that the default processing order for UIMA AS should be changed to be the same as in UIMA, in order to have the same application behavior for both. This will be done by suspending flow of a parent CAS after it is returned from a CasMultiplier delegate until all its children CASes have finished processing. However, there also needs to be a UIMA AS deployment option for CasMultiplier delegates that allows the parent CAS to resume processing immediately after being returned from the CM. This option is needed to enable parallel processing. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Created: (UIMA-1293) Remote CasMultipliers that don't always generate CASes not handled correctly
Remote CasMultipliers that don't always generate CASes not handled correctly Key: UIMA-1293 URL: https://issues.apache.org/jira/browse/UIMA-1293 Project: UIMA Issue Type: Bug Components: Async Scaleout Reporter: Burn Lewis Fix For: 2.3 If a remote CM generates 1 CAS for every N input, some of the childless parents do not continue in the flow. Since the default FC uses dropIfNewCasProduced all CASes should continue in the flow except for every N-th one being replaced by its child. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (UIMA-1293) Replies from remote CasMultipliers that don't always generate CASes are not handled correctly
[ https://issues.apache.org/jira/browse/UIMA-1293?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Burn Lewis updated UIMA-1293: - Summary: Replies from remote CasMultipliers that don't always generate CASes are not handled correctly (was: Remote CasMultipliers that don't always generate CASes not handled correctly) Replies from remote CasMultipliers that don't always generate CASes are not handled correctly - Key: UIMA-1293 URL: https://issues.apache.org/jira/browse/UIMA-1293 Project: UIMA Issue Type: Bug Components: Async Scaleout Reporter: Burn Lewis Fix For: 2.3 If a remote CM generates 1 CAS for every N input, some of the childless parents do not continue in the flow. Since the default FC uses dropIfNewCasProduced all CASes should continue in the flow except for every N-th one being replaced by its child. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Reopened: (UIMA-1071) http connector fails with some Java implementations
[ https://issues.apache.org/jira/browse/UIMA-1071?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Burn Lewis reopened UIMA-1071: -- The old xstream-1.1.2.jar is still specified in setUimaClassPath so http services still fail http connector fails with some Java implementations --- Key: UIMA-1071 URL: https://issues.apache.org/jira/browse/UIMA-1071 Project: UIMA Issue Type: Bug Components: Async Scaleout Reporter: Eddie Epstein Assignee: Eddie Epstein Fix For: 2.3S Using the http connector with AMQ 4.1.1 on some 64-bit JRE's results in an exception: Caused by: java.lang.RuntimeException: Could not access java.util.EnumSet.elementType field at com.thoughtworks.xstream.core.util.Fields.find(Fields.java:18) at com.thoughtworks.xstream.converters.enums.EnumSetConverter.init(EnumSetConverter.java:31) The problem is identified here: http://jira.codehaus.org/browse/XSTR-379 and the fix is to use xstream-1.2.2.jar instead of the 1.1.2 version. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (UIMA-857) Change startup of framework to support versioned Jars and simplified classpath
[ https://issues.apache.org/jira/browse/UIMA-857?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12674349#action_12674349 ] Burn Lewis commented on UIMA-857: - Yes, with something like UIMA_JARPATH we could add the ActiveMQ libraries and the UIMA library to any user libraries of jar files. Presumably we'd choose a predictable order, e.g. alphabetical, for the jars in a directory. Change startup of framework to support versioned Jars and simplified classpath -- Key: UIMA-857 URL: https://issues.apache.org/jira/browse/UIMA-857 Project: UIMA Issue Type: Improvement Components: Build, Packaging and Test Reporter: Marshall Schor Priority: Minor Our approach to the framework classpath is to (a) strip version info from our Jar names, and (b) have a setUimaClassPath script that adds lots of these (unversioned) jars to the classpath. Other systems use a different approach - usually putting all the jars that should be in the classpath into a directory, and then having a small wrapper jar (with an unversioned name) that adds all the jars it finds in this dir to the classpath. (See for instance, ActiveMQ startup, or the way things like Tomcat work).Change UIMA to use this approach. (Not for 2.2.2, but for following release, perhaps). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Created: (UIMA-1289) If an aggregate uses the unsupported include instead of import a very very very obscure error message results
If an aggregate uses the unsupported include instead of import a very very very obscure error message results - Key: UIMA-1289 URL: https://issues.apache.org/jira/browse/UIMA-1289 Project: UIMA Issue Type: Bug Components: Core Java Framework Affects Versions: 2.2.2 Reporter: Burn Lewis Priority: Minor In converting a CPE descriptor to an aggregate descriptor I forgot to change one include ... to import The docs indicate that include is not supported but the CDE error message was: ResourceInitializationException: The CasCreationUtils.createCas method was passed a collection containing an object of class org.apache.uima.collection.impl.metadata.cpe.CpeIncludeImpl, which is not supported. Not very helpful! The cvd reported a stack trace but still no clue as to what part of what file was in error: org.apache.uima.tools.cvd.MainFrame.handleException(575): SEVERE: org.apache.uima.collection.impl.metadata.cpe.CpeIncludeImpl incompatible with org.apache.uima.resource.ResourceSpecifier java.lang.ClassCastException: org.apache.uima.collection.impl.metadata.cpe.CpeIncludeImpl incompatible with org.apache.uima.resource.ResourceSpecifier at org.apache.uima.analysis_engine.impl.AnalysisEngineDescription_impl.getComponentSpecifier(AnalysisEngineDescription_impl.java:439) at org.apache.uima.analysis_engine.impl.AnalysisEngineDescription_impl.checkForInvalidParameterOverrides(AnalysisEngineDescription_impl.java:380) at org.apache.uima.resource.impl.ResourceCreationSpecifier_impl.validateConfigurationParameters(ResourceCreationSpecifier_impl.java:246) at org.apache.uima.resource.impl.ResourceCreationSpecifier_impl.validate(ResourceCreationSpecifier_impl.java:219) at org.apache.uima.analysis_engine.impl.AnalysisEngineDescription_impl.validate(AnalysisEngineDescription_impl.java:304) at org.apache.uima.analysis_engine.impl.AggregateAnalysisEngine_impl.initialize(AggregateAnalysisEngine_impl.java:163) at org.apache.uima.impl.AnalysisEngineFactory_impl.produceResource(AnalysisEngineFactory_impl.java:94) at org.apache.uima.impl.CompositeResourceFactory_impl.produceResource(CompositeResourceFactory_impl.java:62) at org.apache.uima.UIMAFramework.produceResource(UIMAFramework.java:258) at org.apache.uima.UIMAFramework.produceResource(UIMAFramework.java:303) at org.apache.uima.UIMAFramework.produceAnalysisEngine(UIMAFramework.java:383) at org.apache.uima.tools.cvd.MainFrame.setupAE(MainFrame.java:1529) at org.apache.uima.tools.cvd.MainFrame.loadAEDescriptor(MainFrame.java:524) at org.apache.uima.tools.cvd.control.AnnotatorOpenEventHandler.actionPerformed(AnnotatorOpenEventHandler.java:52) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2006) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2329) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:398) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:253) at javax.swing.AbstractButton.doClick(AbstractButton.java:368) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1231) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1272) at java.awt.Component.processMouseEvent(Component.java:6052) at javax.swing.JComponent.processMouseEvent(JComponent.java:3276) at java.awt.Component.processEvent(Component.java:5817) at java.awt.Container.processEvent(Container.java:2069) at java.awt.Component.dispatchEventImpl(Component.java:4424) at java.awt.Container.dispatchEventImpl(Container.java:2127) at java.awt.Component.dispatchEvent(Component.java:4254) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4333) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3997) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3927) at java.awt.Container.dispatchEventImpl(Container.java:2113) at java.awt.Window.dispatchEventImpl(Window.java:2451) at java.awt.Component.dispatchEvent(Component.java:4254) at java.awt.EventQueue.dispatchEvent(EventQueue.java:610) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:284) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:194) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:179) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:171
[jira] Created: (UIMA-1280) Missing message key in CPM at FINEST logging
Missing message key in CPM at FINEST logging Key: UIMA-1280 URL: https://issues.apache.org/jira/browse/UIMA-1280 Project: UIMA Issue Type: Bug Components: Collection Processing Affects Versions: 2.2.2 Reporter: Burn Lewis Priority: Minor The message key UIMA_CPM_pipeline_exception__FINEST is used in org.apache.uima.collection.impl.cpm.engine.ProcessingUnit but is not in the properties file org.apache.uima.collection.impl.cpm.cpm_messages -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Created: (UIMA-1270) runRemoteAsyncAE uses binary serialization which is not supported for native CPP services
runRemoteAsyncAE uses binary serialization which is not supported for native CPP services - Key: UIMA-1270 URL: https://issues.apache.org/jira/browse/UIMA-1270 Project: UIMA Issue Type: Bug Components: Async Scaleout Reporter: Burn Lewis Fix For: 2.3AS Default serialization should be xmi with binary an option -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (UIMA-1270) runRemoteAsyncAE uses binary serialization which is not supported for native CPP services
[ https://issues.apache.org/jira/browse/UIMA-1270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Burn Lewis updated UIMA-1270: - Attachment: UIMA-1270.patch Added -b option for binary serialization. Created a common application context Map ... should all or some of the args apply to the deployed services?? Also fixed a log message that printed deserialization time in microsecs instead of millisecs runRemoteAsyncAE uses binary serialization which is not supported for native CPP services - Key: UIMA-1270 URL: https://issues.apache.org/jira/browse/UIMA-1270 Project: UIMA Issue Type: Bug Components: Async Scaleout Reporter: Burn Lewis Fix For: 2.3AS Attachments: UIMA-1270.patch Default serialization should be xmi with binary an option -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Created: (UIMA-1269) NPE when using a C++ service deployed via JNI
NPE when using a C++ service deployed via JNI - Key: UIMA-1269 URL: https://issues.apache.org/jira/browse/UIMA-1269 Project: UIMA Issue Type: Bug Components: Async Scaleout Affects Versions: 2.2.2 Reporter: Burn Lewis C++ services don't support delta CAS so the JNI wrapper clears the Marker before uploading the C++ CAS but then the service crashes when trying to return a delta CAS to its caller. May also have a problem in an aggregate if one of its services does not support delta CAS ... need to invalidate the input Marker and make the aggregate return a full CAS. Should also create a fresh Marker for following delegates so they can return delta CASes. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (UIMA-1251) If one delegate in an aggregate uses a JMS service descriptor and another fails to initialize, the JVM fails to terminate
[ https://issues.apache.org/jira/browse/UIMA-1251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12657416#action_12657416 ] Burn Lewis commented on UIMA-1251: -- The When called section could be updated, but the Requirements say destroy should release resources to get ready for another initialize which implies that it should undo the effect of any previous initialize, even if partial ... but it wouldn't hurt to clarify that. Meanwhile we should try to ensure the framework classes follow a similar contract where appropriate, and Marshall has found a problem with my patch as it exposes a bug in the FlowControllerContainer's destroy method after partial initialization. If one delegate in an aggregate uses a JMS service descriptor and another fails to initialize, the JVM fails to terminate - Key: UIMA-1251 URL: https://issues.apache.org/jira/browse/UIMA-1251 Project: UIMA Issue Type: Bug Components: Core Java Framework Affects Versions: 2.2.2 Reporter: Burn Lewis Assignee: Marshall Schor Attachments: UIMA-1251.patch When initialization of an aggregate fails we need to give the successful delegates the opportunity to release their resources. Critical for JMS service adapters as they create a thread that waits on replies from the remote service. Reported as a runAE hang by Jerry Quinn. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Created: (UIMA-1250) Some initialization messages may not appear as the Logger object changes during initialization
Some initialization messages may not appear as the Logger object changes during initialization -- Key: UIMA-1250 URL: https://issues.apache.org/jira/browse/UIMA-1250 Project: UIMA Issue Type: Bug Components: Core Java Framework Affects Versions: 2.2.2 Reporter: Burn Lewis Priority: Minor In the initialize method in AggregateAnalysisEngine_impl the logger object returned by the local getLogger() method changes ... for the init_begin msg it is correct, but after initASB has been called when the init_successful msg is logged the logger object is the one for the ASB_impl class. All 3 implementations of AnalysisEngine use the getLogger() method in Resource_ImplBase which gets it from its local UimaContext ... but this is changed during initialization. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Created: (UIMA-1251) If one delegate in an aggregate uses a JMS service descriptor and another fails to initialize, the JVM fails to terminate
If one delegate in an aggregate uses a JMS service descriptor and another fails to initialize, the JVM fails to terminate - Key: UIMA-1251 URL: https://issues.apache.org/jira/browse/UIMA-1251 Project: UIMA Issue Type: Bug Components: Core Java Framework Affects Versions: 2.2.2 Reporter: Burn Lewis When initialization of an aggregate fails we need to give the successful delegates the opportunity to release their resources. Critical for JMS service adapters as they create a thread that waits on replies from the remote service. Reported as a runAE hang by Jerry Quinn. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (UIMA-1251) If one delegate in an aggregate uses a JMS service descriptor and another fails to initialize, the JVM fails to terminate
[ https://issues.apache.org/jira/browse/UIMA-1251?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Burn Lewis updated UIMA-1251: - Attachment: UIMA-1251.patch This patch catches the exception, calls destroy on the aggregate, and rethrows the exception. If one delegate in an aggregate uses a JMS service descriptor and another fails to initialize, the JVM fails to terminate - Key: UIMA-1251 URL: https://issues.apache.org/jira/browse/UIMA-1251 Project: UIMA Issue Type: Bug Components: Core Java Framework Affects Versions: 2.2.2 Reporter: Burn Lewis Attachments: UIMA-1251.patch When initialization of an aggregate fails we need to give the successful delegates the opportunity to release their resources. Critical for JMS service adapters as they create a thread that waits on replies from the remote service. Reported as a runAE hang by Jerry Quinn. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (UIMA-1245) Processing order of parent CAS different on UIMA and UIMA AS
[ https://issues.apache.org/jira/browse/UIMA-1245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12656131#action_12656131 ] Burn Lewis commented on UIMA-1245: -- Marshall's generalization to apply process-parent-last to any delegate, not just the first after a CM, would probably be only useful with a custom Flow Controller, so perhaps it should be controlled via the FC. If we added a wait-for-children flag to each Step object then when set true the framework could suspend the flow of any CAS with active children. When all children are released the controller would process the parent's flow. We're currently doing this just for the FinalStep but generalizing to any Step would be easy. (The flag would always be set for FinalStep as all children must complete without errors before the parent is released.) We could add a new wait choice to the ActionAfterCasMultiplier configuration parameter in the Fixed Advanced FCs Processing order of parent CAS different on UIMA and UIMA AS Key: UIMA-1245 URL: https://issues.apache.org/jira/browse/UIMA-1245 Project: UIMA Issue Type: Bug Components: Async Scaleout Reporter: Eddie Epstein Arron Kaplan raised the question of when parent CASes are processed relative to their children. See http://markmail.org/message/5cop7iv2nshouhgs As of now, the processing order for a multi-threaded UIMA AS aggregate is different than that for a single-threaded UIMA aggregate. A discussion with Burn, Adam, Jerry, Marshall and myself concluded that the default processing order for UIMA AS should be changed to be the same as in UIMA, in order to have the same application behavior for both. This will be done by suspending flow of a parent CAS after it is returned from a CasMultiplier delegate until all its children CASes have finished processing. However, there also needs to be a UIMA AS deployment option for CasMultiplier delegates that allows the parent CAS to resume processing immediately after being returned from the CM. This option is needed to enable parallel processing. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (UIMA-1245) Processing order of parent CAS different on UIMA and UIMA AS
[ https://issues.apache.org/jira/browse/UIMA-1245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12654817#action_12654817 ] Burn Lewis commented on UIMA-1245: -- I think we could get the same behaviour as single-threaded UIMA if in addition to delaying the processing of the parent we set the size of all CAS pools to 1. This would ensure that only one child at a time would be active and the next would not start until the previous had been returned to the pool. If the CM is remote then when the child CAS is returned to the AGGR ~outer~ pool it signals back to AGGR ~inner~ that a CAS has been released which would then release its copy of the child and so allow the CM in AGGR ~inner~ to generate the next child. Then when all children have been released the held-up parent CAS would be allowed to continue in the flow. Also, as we discussed, this process-parent-last option would be more useful than for just emulating single-threaded operation. An aggregate could use a CM to split its work into many parallel pieces, and then use a final CM to combine the results of its children and merge them into the parent before it exits the aggregate. The new option would ensure that the parent reaches the final CM only after all its children. This would let the aggregate process its children asynchronously but appear to its caller as a non-CM simple aggregate. I assume this would be a per-CM option, not application wide where should we specify it and how? Should we make this new behaviour the default? Should the default be true or false? Perhaps in the deployment descriptor: {{casMultiplier poolSize=1 processParentLast=true}} or {{casMultiplier poolSize=1 processParentEarly=false}} or Processing order of parent CAS different on UIMA and UIMA AS Key: UIMA-1245 URL: https://issues.apache.org/jira/browse/UIMA-1245 Project: UIMA Issue Type: Bug Components: Async Scaleout Reporter: Eddie Epstein Arron Kaplan raised the question of when parent CASes are processed relative to their children. See http://markmail.org/message/5cop7iv2nshouhgs As of now, the processing order for a multi-threaded UIMA AS aggregate is different than that for a single-threaded UIMA aggregate. A discussion with Burn, Adam, Jerry, Marshall and myself concluded that the default processing order for UIMA AS should be changed to be the same as in UIMA, in order to have the same application behavior for both. This will be done by suspending flow of a parent CAS after it is returned from a CasMultiplier delegate until all its children CASes have finished processing. However, there also needs to be a UIMA AS deployment option for CasMultiplier delegates that allows the parent CAS to resume processing immediately after being returned from the CM. This option is needed to enable parallel processing. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Closed: (UIMA-1209) Old 2.2.2 services cannot be used in parallel
[ https://issues.apache.org/jira/browse/UIMA-1209?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Burn Lewis closed UIMA-1209. Tested against IOD 2.2.2 services Old 2.2.2 services cannot be used in parallel - Key: UIMA-1209 URL: https://issues.apache.org/jira/browse/UIMA-1209 Project: UIMA Issue Type: Bug Reporter: Burn Lewis Assignee: Burn Lewis Priority: Minor Attachments: UIMA-1209-3.patch New delta CAS support insists that remote services run in parallel must use delta CAS, but we should also support services still running 2.2.2 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (UIMA-1171) Initialization hangs if an Exception is thrown when initializing the flow controller AND delegates are offline
[ https://issues.apache.org/jira/browse/UIMA-1171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12651137#action_12651137 ] Burn Lewis commented on UIMA-1171: -- This now looks to have been fixed ... not sure how or when. Initialization hangs if an Exception is thrown when initializing the flow controller AND delegates are offline -- Key: UIMA-1171 URL: https://issues.apache.org/jira/browse/UIMA-1171 Project: UIMA Issue Type: Bug Components: Async Scaleout Affects Versions: 2.2.2 Reporter: Burn Lewis Assignee: Burn Lewis Fix For: 2.3AS Attachments: UIMA-1171-test.patch, UIMA-1171-test2.patch If the framework has some delegates to disable (i.e. failed getMeta) it calls the flow controller's initialize method on a different path and the ResourceInitializationException is caught and rethrown as AsynchAEException ... this causes the deployment to hang. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (UIMA-1237) Fix Cas Not Found In CasManager Cache Error in the Parallel Step
[ https://issues.apache.org/jira/browse/UIMA-1237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12651151#action_12651151 ] Burn Lewis commented on UIMA-1237: -- Another way to do this that I think will be safe is to make the synchronized incrementHowManyDelegatesResponded() return a boolean when all have responded ... then only one thread will actually get the all-done flag. Fix Cas Not Found In CasManager Cache Error in the Parallel Step -- Key: UIMA-1237 URL: https://issues.apache.org/jira/browse/UIMA-1237 Project: UIMA Issue Type: Bug Components: Async Scaleout Reporter: Jerry Cwiklik Attachments: uimaj-as-core-UIMA-1237-patch-02.txt, uimaj-as-core-UIMA-1237-patch.txt There is an exception when processing a secondary reply from a delegate in a parallel step. The exception indicates that the CAS id received in a reply message from one of the delegates in the parallel step does not exist in the cache. The exception happens in the testcase that tests disable of one of the delegates in the parallel step. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (UIMA-1206) Add the capability to browse subdirectories to org.apache.uima.examples.cpe.FileSystemCollectionReader
[ https://issues.apache.org/jira/browse/UIMA-1206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12650691#action_12650691 ] Burn Lewis commented on UIMA-1206: -- My windows patch program worked only after I made it a pure DOS file ... currently only some lines end with cntl-M Add the capability to browse subdirectories to org.apache.uima.examples.cpe.FileSystemCollectionReader -- Key: UIMA-1206 URL: https://issues.apache.org/jira/browse/UIMA-1206 Project: UIMA Issue Type: Improvement Components: Examples Affects Versions: 2.2.2 Environment: Operating System : GNU/Linux Ubuntu Hardy Heron Java : java version 1.6.0_06 Java(TM) SE Runtime Environment (build 1.6.0_06-b02) Java HotSpot(TM) Client VM (build 10.0-b22, mixed mode, sharing) UIMA svn revision : 704699 Reporter: Fabien POULARD Priority: Minor Attachments: browse-subdirectories.patch Make the component org.apache.uima.examples.cpe.FileSystemCollectionReader able to browse sub-directories of the InputDirectory through an option. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (UIMA-1210) XmiCollectionReader fails when it encounters unknown types
[ https://issues.apache.org/jira/browse/UIMA-1210?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12650712#action_12650712 ] Burn Lewis commented on UIMA-1210: -- Looks like the patch was computed against the wrong file ... XmiWriterCasConsumer XmiCollectionReader fails when it encounters unknown types -- Key: UIMA-1210 URL: https://issues.apache.org/jira/browse/UIMA-1210 Project: UIMA Issue Type: New Feature Components: Examples Affects Versions: 2.2.2 Environment: GNU/Linux Ubuntu Hardy Heron 8.04 java version 1.6.0_07 Java(TM) SE Runtime Environment (build 1.6.0_07-b06) Java HotSpot(TM) Client VM (build 10.0-b23, mixed mode, sharing) Reporter: Fabien POULARD Priority: Trivial Attachments: xmicollectionreader-desc.patch, xmicollectionreader-java.patch When XmiCollectionReader is used as CollectionReader and it encounters types that are not present in the TypeSystems provided with the analysis engines, then it fails. There should be an option to silently ignore those errors and still load the CAS. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (UIMA-1227) Help users debug binary CAS serialization problems
[ https://issues.apache.org/jira/browse/UIMA-1227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12649526#action_12649526 ] Burn Lewis commented on UIMA-1227: -- If we construct the getMeta reply on each service by serializing its binary typesystem, then comparing the string form of the typesystem should be equivalent to comparing the binary form. And require no changes to the message formats. Help users debug binary CAS serialization problems -- Key: UIMA-1227 URL: https://issues.apache.org/jira/browse/UIMA-1227 Project: UIMA Issue Type: Improvement Components: Async Scaleout Reporter: Eddie Epstein In order to use binary CAS serialization for remote services, both client and service must have identical type systems. If not the same, binary deserialization is likely to throw exceptions. The service request handler should catch these exceptions when using binary deserialization and add message suggesting a likely cause of the problem: unequal type systems. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Closed: (UIMA-1228) Merging results from a parallel step fails when a feature is an array of pre-existing annotations
[ https://issues.apache.org/jira/browse/UIMA-1228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Burn Lewis closed UIMA-1228. Tests OK. Merging results from a parallel step fails when a feature is an array of pre-existing annotations - Key: UIMA-1228 URL: https://issues.apache.org/jira/browse/UIMA-1228 Project: UIMA Issue Type: Bug Components: Core Java Framework Reporter: Burn Lewis Assignee: Burn Lewis Fix For: 2.3 Attachments: UIMA-1228-test.patch, UIMA-1228.patch Found when doing 2.2.2-style merging (non deltaCas) of new arrays referencing preexisting annotations, but also fails with delta CASes. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (UIMA-1119) The XmiCasDeserializer throws NoSuchElementException if an XCAS is corrupted, but doesn't report the offending element.
[ https://issues.apache.org/jira/browse/UIMA-1119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12646550#action_12646550 ] Burn Lewis commented on UIMA-1119: -- Our documentation refers to the old XCAS format and the new XMI format for representing CASes in XML. I think it is acceptable to use the terms XMI and XCAS when referring to XML representations of CASes. Also we provide a class org.apache.uima.util.XmlCasDeserializer that will read either ... its Javadocs say: Deserializes a CAS from a standoff-XML format. This class can read the XMI format introduced in UIMA v1.4 as well as the XCAS format from previous versions. Eclipse cannot find any callers of any of the setDocumentLocator methods ... perhaps we should be creating a Locator and setting it as it would be somewhat helpful to know where the error is. Can we not simply change the error messages to refer to XML parsing? It'll be pretty obvious which format is being used. Yes, and we'd also need a comment about XMI in XCASParsingException.java Or change to xmlcas.properties XmlParsingException.java The XmiCasDeserializer throws NoSuchElementException if an XCAS is corrupted, but doesn't report the offending element. --- Key: UIMA-1119 URL: https://issues.apache.org/jira/browse/UIMA-1119 Project: UIMA Issue Type: Improvement Components: Core Java Framework Affects Versions: 2.2.2 Reporter: Burn Lewis Assignee: Marshall Schor Priority: Minor Attachments: UIMA-1119-3.patch Obviously it's dangerous to edit XCASes but it is often the quickest way to produce a variety of test cases for an annotator. By changing a few lines we can report the invalid id. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (UIMA-1228) Merging results from a parallel step fails when a feature is an array of pre-existing annotations
[ https://issues.apache.org/jira/browse/UIMA-1228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Burn Lewis updated UIMA-1228: - Attachment: UIMA-1228.patch UIMA-1228.patch fixes the problem ... a simple 1-line change. Merging results from a parallel step fails when a feature is an array of pre-existing annotations - Key: UIMA-1228 URL: https://issues.apache.org/jira/browse/UIMA-1228 Project: UIMA Issue Type: Bug Components: Async Scaleout Reporter: Burn Lewis Fix For: 2.3AS Attachments: UIMA-1228-test.patch, UIMA-1228.patch Found when doing 2.2.2-style merging (non deltaCas) of new arrays referencing preexisting annotations, but also fails with delta CASes. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (UIMA-1119) The XmiCasDeserializer throws NoSuchElementException if an XCAS is corrupted, but doesn't report the offending element.
[ https://issues.apache.org/jira/browse/UIMA-1119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12646556#action_12646556 ] Burn Lewis commented on UIMA-1119: -- More on the naming issue ... on the IOD project we've been using the term XCAS for any XML CAS ... we don't care which format as the collection reader accepts either. Admittedly confusing to refer to an XCAS-formatted XCAS but we rarely have to. The XmiCasDeserializer throws NoSuchElementException if an XCAS is corrupted, but doesn't report the offending element. --- Key: UIMA-1119 URL: https://issues.apache.org/jira/browse/UIMA-1119 Project: UIMA Issue Type: Improvement Components: Core Java Framework Affects Versions: 2.2.2 Reporter: Burn Lewis Assignee: Marshall Schor Priority: Minor Attachments: UIMA-1119-3.patch Obviously it's dangerous to edit XCASes but it is often the quickest way to produce a variety of test cases for an annotator. By changing a few lines we can report the invalid id. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Created: (UIMA-1228) Merging results from a parallel step fails when a feature is an array of pre-existing annotations
Merging results from a parallel step fails when a feature is an array of pre-existing annotations - Key: UIMA-1228 URL: https://issues.apache.org/jira/browse/UIMA-1228 Project: UIMA Issue Type: Bug Components: Async Scaleout Reporter: Burn Lewis Fix For: 2.3AS Found when doing 2.2.2-style merging (non deltaCas) of new arrays referencing preexisting annotations, but also fails with delta CASes. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (UIMA-1228) Merging results from a parallel step fails when a feature is an array of pre-existing annotations
[ https://issues.apache.org/jira/browse/UIMA-1228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Burn Lewis updated UIMA-1228: - Attachment: UIMA-1228-test.patch Here's a patch for the JUnit tests that exposes the problem. I also combined the merging tests so that testMerging testDeltaCasMerging share code ... could add more sharing. Merging results from a parallel step fails when a feature is an array of pre-existing annotations - Key: UIMA-1228 URL: https://issues.apache.org/jira/browse/UIMA-1228 Project: UIMA Issue Type: Bug Components: Async Scaleout Reporter: Burn Lewis Fix For: 2.3AS Attachments: UIMA-1228-test.patch Found when doing 2.2.2-style merging (non deltaCas) of new arrays referencing preexisting annotations, but also fails with delta CASes. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Created: (UIMA-1224) Exceptions received from a delegate don't identify their origin
Exceptions received from a delegate don't identify their origin --- Key: UIMA-1224 URL: https://issues.apache.org/jira/browse/UIMA-1224 Project: UIMA Issue Type: Bug Components: Async Scaleout Reporter: Burn Lewis Priority: Minor Fix For: 2.3AS Here's an exception in the client log that came from a remote delegate ... the only way I know that it is not a local exception is that I see a foreign class org.gale.columbia.TopicSummarizer deep in the stack trace. We should add a line indicating which delegate returned the exception. Perhaps we should also suppress the first trace as it doesn't carry any useful information about the error. 11/4/08 5:49:27 PM - 4: org.apache.uima.aae.error.handler.ProcessCasErrorHandler.handleError: WARNING: {0} org.apache.uima.aae.error.UimaEEServiceException: org.apache.uima.analysis_engine.AnalysisEngineProcessException at org.apache.uima.adapter.jms.activemq.JmsOutputChannel.sendReply(JmsOutputChannel.java:761) at org.apache.uima.aae.error.handler.ProcessCasErrorHandler.sendExceptionToClient(ProcessCasErrorHandler.java:105) at org.apache.uima.aae.error.handler.ProcessCasErrorHandler.handleError(ProcessCasErrorHandler.java:483) at org.apache.uima.aae.error.ErrorHandlerChain.handle(ErrorHandlerChain.java:64) at org.apache.uima.aae.controller.PrimitiveAnalysisEngineController_impl.process(PrimitiveAnalysisEngineController_impl.java:479) at org.apache.uima.aae.handler.HandlerBase.invokeProcess(HandlerBase.java:125) at org.apache.uima.aae.handler.input.ProcessRequestHandler_impl.handleProcessRequestWithXMI(ProcessRequestHandler_impl.java:316) at org.apache.uima.aae.handler.input.ProcessRequestHandler_impl.handle(ProcessRequestHandler_impl.java:695) at org.apache.uima.aae.handler.input.MetadataRequestHandler_impl.handle(MetadataRequestHandler_impl.java:82) at org.apache.uima.adapter.jms.activemq.JmsInputChannel.onMessage(JmsInputChannel.java:549) at org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:485) at org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:442) at org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:414) at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:309) at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:254) at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:871) at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:818) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:619) Caused by: org.apache.uima.analysis_engine.AnalysisEngineProcessException at org.gale.columbia.TopicSummarizer.process(TopicSummarizer.java:352) at org.apache.uima.analysis_component.CasAnnotator_ImplBase.process(CasAnnotator_ImplBase.java:56) at org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.callAnalysisComponentProcess(PrimitiveAnalysisEngine_impl.java:375) at org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.processAndOutputNewCASes(PrimitiveAnalysisEngine_impl.java:297) at org.apache.uima.aae.controller.PrimitiveAnalysisEngineController_impl.process(PrimitiveAnalysisEngineController_impl.java:338) ... 15 more Caused by: java.io.FileNotFoundException: work/9.2.176.254_pvirga_20081104/BlankStory/webar20081104aljazeerareposrev_122www.aljazeera.netnewsTemplatesPostingsHumanRightsDetailedPage.aspx?FRAMELESS=falseNRNODEGUID={30F2C898-3504-4FBC-A7BC-4A66B26538BB}NRORIGINALURL=%2FNR%2Fexeres%2F30F2C898-3504-4FBC-A7BC-4A66B26538BB.htmNRCACHEHINT=Guest.txt (File name too long) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.init(FileOutputStream.java:179) at java.io.FileOutputStream.init(FileOutputStream.java:70) at java.io.FileWriter.init(FileWriter.java:46) at org.gale.columbia.TopicSummarizer.process(TopicSummarizer.java:255) ... 19 more -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (UIMA-1119) The XmiCasDeserializer throws NoSuchElementException if an XCAS is corrupted, but doesn't report the offending element.
[ https://issues.apache.org/jira/browse/UIMA-1119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12645497#action_12645497 ] Burn Lewis commented on UIMA-1119: -- 6 of the original 12 types of XCASParsingException are thrown from this code, so I was simply propagating the confusion! The stack trace will show which format is in use so perhaps we could change the messages to start with: Error parsing XML from source {0} at line {1}, column {2}: Also do we ever have the location information? I don't see any code setting the Locator so these 3 values are always unknown The XmiCasDeserializer throws NoSuchElementException if an XCAS is corrupted, but doesn't report the offending element. --- Key: UIMA-1119 URL: https://issues.apache.org/jira/browse/UIMA-1119 Project: UIMA Issue Type: Improvement Components: Core Java Framework Affects Versions: 2.2.2 Reporter: Burn Lewis Assignee: Marshall Schor Priority: Minor Attachments: UIMA-1119-3.patch Obviously it's dangerous to edit XCASes but it is often the quickest way to produce a variety of test cases for an annotator. By changing a few lines we can report the invalid id. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (UIMA-1166) Getmeta replies from some remote delegates are ignored, causing a timeout
[ https://issues.apache.org/jira/browse/UIMA-1166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Burn Lewis updated UIMA-1166: - Attachment: UIMA-1166-2.patch This patch replaces the first ... fixes one more case and is against latest code. Getmeta replies from some remote delegates are ignored, causing a timeout - Key: UIMA-1166 URL: https://issues.apache.org/jira/browse/UIMA-1166 Project: UIMA Issue Type: Bug Components: Async Scaleout Reporter: Burn Lewis Attachments: UIMA-1166-2.patch, UIMA-1166-patch.txt The reply is falsely discarded: 9/4/08 3:15:05 PM - 22: org.apache.uima.aae.controller.AggregateAnalysisEngineController_impl.mergeTypeSystem: INFO: Controller: IODBurnTest Received Metadata From an Invalid (Possibly Disabled) Delegate: TopicLabellerAnnotatorQueue The recent change to support duplicate queue names on different brokers checks the broker name returned in the reply against the broker the request was sent to. But the service returns the name it uses for the broker, e.g. tcp://localhost:61616, and not the external name of the broker. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (UIMA-1209) Old 2.2.2 services cannot be used in parallel
[ https://issues.apache.org/jira/browse/UIMA-1209?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Burn Lewis updated UIMA-1209: - Attachment: UIMA-1209-2.patch This patch replaces the first ... applied against latest code. Does old-style merging for a parallel step if the service doesn't return a delta CAS (2.2.2) Old 2.2.2 services cannot be used in parallel - Key: UIMA-1209 URL: https://issues.apache.org/jira/browse/UIMA-1209 Project: UIMA Issue Type: Bug Reporter: Burn Lewis Priority: Minor Attachments: UIMA-1209-2.patch New delta CAS support insists that remote services run in parallel must use delta CAS, but we should also support services still running 2.2.2 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (UIMA-1209) Old 2.2.2 services cannot be used in parallel
[ https://issues.apache.org/jira/browse/UIMA-1209?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Burn Lewis updated UIMA-1209: - Attachment: (was: UIMA-1209.patch) Old 2.2.2 services cannot be used in parallel - Key: UIMA-1209 URL: https://issues.apache.org/jira/browse/UIMA-1209 Project: UIMA Issue Type: Bug Reporter: Burn Lewis Priority: Minor Attachments: UIMA-1209-2.patch New delta CAS support insists that remote services run in parallel must use delta CAS, but we should also support services still running 2.2.2 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (UIMA-1119) The XmiCasDeserializer throws NoSuchElementException if an XCAS is corrupted, but doesn't report the offending element.
[ https://issues.apache.org/jira/browse/UIMA-1119?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Burn Lewis updated UIMA-1119: - Attachment: UIMA-1119-2.patch UIMA-1119-2.patch replaces the previous one ... applies to the latest code with deltaCas support. The XmiCasDeserializer throws NoSuchElementException if an XCAS is corrupted, but doesn't report the offending element. --- Key: UIMA-1119 URL: https://issues.apache.org/jira/browse/UIMA-1119 Project: UIMA Issue Type: Improvement Components: Core Java Framework Affects Versions: 2.2.2 Reporter: Burn Lewis Priority: Minor Attachments: UIMA-1119-2.patch, UIMA-1119.patch Obviously it's dangerous to edit XCASes but it is often the quickest way to produce a variety of test cases for an annotator. By changing a few lines we can report the invalid id. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (UIMA-1119) The XmiCasDeserializer throws NoSuchElementException if an XCAS is corrupted, but doesn't report the offending element.
[ https://issues.apache.org/jira/browse/UIMA-1119?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Burn Lewis updated UIMA-1119: - Attachment: (was: UIMA-1119.patch) The XmiCasDeserializer throws NoSuchElementException if an XCAS is corrupted, but doesn't report the offending element. --- Key: UIMA-1119 URL: https://issues.apache.org/jira/browse/UIMA-1119 Project: UIMA Issue Type: Improvement Components: Core Java Framework Affects Versions: 2.2.2 Reporter: Burn Lewis Priority: Minor Attachments: UIMA-1119-2.patch Obviously it's dangerous to edit XCASes but it is often the quickest way to produce a variety of test cases for an annotator. By changing a few lines we can report the invalid id. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.