uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Faisal Feroz (JIRA)" <...@uima.apache.org>
Subject [jira] [Updated] (UIMA-4199) AnalysisEngineFactory doesn't pass AnalysisEngine.PARAM_NUM_SIMULTANEOUS_REQUESTS parameter correctly to UIMAFactory when creating a new engine
Date Sat, 24 Jan 2015 11:37:35 GMT

     [ https://issues.apache.org/jira/browse/UIMA-4199?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Faisal Feroz updated UIMA-4199:
-------------------------------
    Priority: Blocker  (was: Major)

> AnalysisEngineFactory doesn't pass AnalysisEngine.PARAM_NUM_SIMULTANEOUS_REQUESTS parameter
correctly to UIMAFactory when creating a new engine
> -----------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: UIMA-4199
>                 URL: https://issues.apache.org/jira/browse/UIMA-4199
>             Project: UIMA
>          Issue Type: Bug
>          Components: uimaFIT
>    Affects Versions: 2.1.0uimaFIT
>            Reporter: Faisal Feroz
>            Priority: Blocker
>
> When {{org.apache.uima.fit.factory.AnalysisEngineFactory.createEngine(Class<? extends
AnalysisComponent>, Object...)}} is called for creating a multi-threaded engine instance
by passing in AnalysisEngine.PARAM_NUM_SIMULTANEOUS_REQUESTS and some integer value in configurationData.
It creates AnalysisEngineDescription object from the data and calls {{org.apache.uima.fit.factory.AnalysisEngineFactory.createEngine(AnalysisEngineDescription,
Object...)}} method which passes in null in {{aAdditionalParameters}} when calling {{UIMAFramework.produceAnalysisEngine}}.
The respective method looks for {{AnalysisEngine.PARAM_NUM_SIMULTANEOUS_REQUESTS}} as per
the following code:
> {code:java}
> boolean multiprocessing = (aAdditionalParams != null)
>             && aAdditionalParams.containsKey(AnalysisEngine.PARAM_NUM_SIMULTANEOUS_REQUESTS);
> {code}
> which is never found and the required {{MultiprocessingAnalysisEngine_impl}} is never
created.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message