Jerry Cwiklik (JIRA | 24 Apr 21:49 2014
Picon

[jira] [Resolved] (UIMA-3588) UIMA-AS service should use maxInactivityDurationInitalDelay property


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

Jerry Cwiklik resolved UIMA-3588.
---------------------------------

    Resolution: Won't Fix

Another fix to deal with "Wire format exception" has been committed under JIRA https://issues.apache.org/jira/browse/UIMA-3595

> UIMA-AS service should use maxInactivityDurationInitalDelay property
> --------------------------------------------------------------------
>
>                 Key: UIMA-3588
>                 URL: https://issues.apache.org/jira/browse/UIMA-3588
>             Project: UIMA
>          Issue Type: Bug
>          Components: Async Scaleout
>    Affects Versions: 2.4.2AS
>            Reporter: Jerry Cwiklik
>            Assignee: Jerry Cwiklik
>            Priority: Minor
>             Fix For: 2.5.0AS
>
>
> When handling the first request message from a client, the UIMA-AS service establishes a connection to a
broker, creates a session and a producer and caches it for a subsequent use. 
> To the broker URL the service currently appends wireFormat.maxInactivityDuration=0 to disable
inactivity monitor. The service should support other decorations as well. For example,  the
(Continue reading)

Jerry Cwiklik (JIRA | 24 Apr 21:41 2014
Picon

[jira] [Updated] (UIMA-3770) UIMA-AS binary distro does not include source for RunRemoteAsyncAE.java


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

Jerry Cwiklik updated UIMA-3770:
--------------------------------

    Summary: UIMA-AS binary distro does not include source for RunRemoteAsyncAE.java  (was: Example UIMA-AS)

> UIMA-AS binary distro does not include source for RunRemoteAsyncAE.java
> -----------------------------------------------------------------------
>
>                 Key: UIMA-3770
>                 URL: https://issues.apache.org/jira/browse/UIMA-3770
>             Project: UIMA
>          Issue Type: Improvement
>          Components: Async Scaleout
>    Affects Versions: 2.4.2AS
>            Reporter: Charles Jalin
>            Assignee: Jerry Cwiklik
>            Priority: Minor
>             Fix For: 2.5.0AS
>
>
> hello,
> in UIMA-AS 2.4.2, in file binary, 
> $UIMA_HOME/examples/src/org/apache/uima/examples/as/RunRemoteAsyncAE.java
> doesn't appears
> Can you help me?
> Thanks.
(Continue reading)

Jerry Cwiklik (JIRA | 24 Apr 21:39 2014
Picon

[jira] [Updated] (UIMA-3770) Example UIMA-AS


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

Jerry Cwiklik updated UIMA-3770:
--------------------------------

          Component/s: Async Scaleout
    Affects Version/s: 2.4.2AS
        Fix Version/s: 2.5.0AS
             Assignee: Jerry Cwiklik
           Issue Type: Improvement  (was: Question)

Modify binary assembly script to pull RunRemoteAsyncAE.java into the binary tarball for the next release

> Example UIMA-AS
> ---------------
>
>                 Key: UIMA-3770
>                 URL: https://issues.apache.org/jira/browse/UIMA-3770
>             Project: UIMA
>          Issue Type: Improvement
>          Components: Async Scaleout
>    Affects Versions: 2.4.2AS
>            Reporter: Charles Jalin
>            Assignee: Jerry Cwiklik
>            Priority: Minor
>             Fix For: 2.5.0AS
>
>
(Continue reading)

Apache Jenkins Server | 24 Apr 20:24 2014
Picon

Jenkins build is unstable: UIMA-SDK #514

See <https://builds.apache.org/job/UIMA-SDK/514/changes>

Apache Jenkins Server | 24 Apr 20:24 2014
Picon

Jenkins build became unstable: UIMA-SDK » Apache UIMA Base: uimaj-core #514

See <https://builds.apache.org/job/UIMA-SDK/org.apache.uima$uimaj-core/514/changes>

Picon

[jira] [Updated] (UIMA-3776) Delegate AEs no longer serialized to XML after resolving imports on aggregate


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

Richard Eckart de Castilho updated UIMA-3776:
---------------------------------------------

    Assignee: Marshall Schor

> Delegate AEs no longer serialized to XML after resolving imports on aggregate
> -----------------------------------------------------------------------------
>
>                 Key: UIMA-3776
>                 URL: https://issues.apache.org/jira/browse/UIMA-3776
>             Project: UIMA
>          Issue Type: Bug
>          Components: Core Java Framework
>            Reporter: Richard Eckart de Castilho
>            Assignee: Marshall Schor
>             Fix For: 2.6.0SDK
>
>
> This is a regression in the UIMA SDK 2.6.0 RC 1 and worked in UIMA SDK 2.5.0.
> * Add a full delegate description to an AAE.
> * Serialize to XML: delegate description is serialized.
> * Call resolveImports()
> * Serialize to XML: delegate description is no longer serialized.
> {noformat}
>   public void testNoDelegatesToResolve() throws Exception {
>     ResourceSpecifierFactory f = UIMAFramework.getResourceSpecifierFactory();
(Continue reading)

Picon

[jira] [Commented] (UIMA-3776) Delegate AEs no longer serialized to XML after resolving imports on aggregate


    [
https://issues.apache.org/jira/browse/UIMA-3776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13979968#comment-13979968
] 

Richard Eckart de Castilho commented on UIMA-3776:
--------------------------------------------------

Allowing access to the "delegateAnalysisEngineSpecifiers" to make the logic mentioned above work
causes many other test cases to fail.

[~schor], maybe you can provide some clue on the intended behavior here and why the
"delegateAnalysisEngineSpecifiers" attribute is not exposed...

> Delegate AEs no longer serialized to XML after resolving imports on aggregate
> -----------------------------------------------------------------------------
>
>                 Key: UIMA-3776
>                 URL: https://issues.apache.org/jira/browse/UIMA-3776
>             Project: UIMA
>          Issue Type: Bug
>          Components: Core Java Framework
>            Reporter: Richard Eckart de Castilho
>             Fix For: 2.6.0SDK
>
>
> This is a regression in the UIMA SDK 2.6.0 RC 1 and worked in UIMA SDK 2.5.0.
> * Add a full delegate description to an AAE.
> * Serialize to XML: delegate description is serialized.
> * Call resolveImports()
(Continue reading)

Picon

[jira] [Commented] (UIMA-3776) Delegate AEs no longer serialized to XML after resolving imports on aggregate


    [
https://issues.apache.org/jira/browse/UIMA-3776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13979956#comment-13979956
] 

Richard Eckart de Castilho commented on UIMA-3776:
--------------------------------------------------

MetaDataObject_impl.getAttributes() does not automatically detect the attribute
"delegateAnalysisEngineSpecifiers" because it has no setter.
AnalysisEngineDescription_impl.getAdditionalAttributes() does not return
"delegateAnalysisEngineSpecifiers", only "delegateAnalysisEngineSpecifiersWithImports".
However, AnalysisEngineDescription_impl.writePropertyAsElement(PropertyXmlInfo, String,
ContentHandler) has the following logic:

{noformat}
String propName = PROP_DELEGATE_ANALYSIS_ENGINE_SPECIFIERS;
      if (mDelegateAnalysisEngineSpecifiers.isEmpty()) {
        propName = PROP_DELEGATE_ANALYSIS_ENGINE_SPECIFIERS_WITH_IMPORTS;
      }
      writeMapPropertyToXml(propName, ELEM_DELEGATE_ANALYSIS_ENGINE_SPECIFIERS, "key",
              "delegateAnalysisEngine", aPropInfo.omitIfNull, aNamespace, aContentHandler);
{noformat}

Note that writeMapPropertyToXml uses MetaDataObject_impl.getAttributes() internally. Thus, after
resolving imports and thus causing mDelegateAnalysisEngineSpecifiers not to be empty anymore, the
delegates are no longer serialized because writeMapPropertyToXml has no access to "delegateAnalysisEngineSpecifiers".

It should be save to e add a read-only attribute for delegateAnalysisEngineSpecifiers to
AnalysisEngineDescription_impl using getDelegateAnalysisEngineSpecifiers() as a getter method. 
(Continue reading)

Jerry Cwiklik (JIRA | 24 Apr 18:44 2014
Picon

[jira] [Closed] (UIMA-3777) DUCC Agent should not reset exit code of a process killed by SIGTERM


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

Jerry Cwiklik closed UIMA-3777.
-------------------------------

    Resolution: Fixed

Modified to prevent exit code from being changed if a process gets killed via SIGTERM

> DUCC Agent should not reset exit code of a process killed by SIGTERM
> --------------------------------------------------------------------
>
>                 Key: UIMA-3777
>                 URL: https://issues.apache.org/jira/browse/UIMA-3777
>             Project: UIMA
>          Issue Type: Bug
>          Components: DUCC
>    Affects Versions: 1.0.0-Ducc
>            Reporter: Jerry Cwiklik
>            Assignee: Jerry Cwiklik
>             Fix For: 2.0.0-Ducc
>
>
> Make sure that the agent does not reset exit code of a process that has been killed via SIGTERM. The exit code
should be preserved to indicate that it was killed externally where DUCC was not involved. 

--
This message was sent by Atlassian JIRA
(Continue reading)

Jerry Cwiklik (JIRA | 24 Apr 18:40 2014
Picon

[jira] [Created] (UIMA-3777) DUCC Agent should not reset exit code of a process killed by SIGTERM

Jerry Cwiklik created UIMA-3777:
-----------------------------------

             Summary: DUCC Agent should not reset exit code of a process killed by SIGTERM
                 Key: UIMA-3777
                 URL: https://issues.apache.org/jira/browse/UIMA-3777
             Project: UIMA
          Issue Type: Bug
          Components: DUCC
    Affects Versions: 1.0.0-Ducc
            Reporter: Jerry Cwiklik
            Assignee: Jerry Cwiklik
             Fix For: 2.0.0-Ducc

Make sure that the agent does not reset exit code of a process that has been killed via SIGTERM. The exit code
should be preserved to indicate that it was killed externally where DUCC was not involved. 

--
This message was sent by Atlassian JIRA
(v6.2#6252)

Picon

[jira] [Created] (UIMA-3776) Delegate AEs no longer serialized to XML after resolving imports on aggregate

Richard Eckart de Castilho created UIMA-3776:
------------------------------------------------

             Summary: Delegate AEs no longer serialized to XML after resolving imports on aggregate
                 Key: UIMA-3776
                 URL: https://issues.apache.org/jira/browse/UIMA-3776
             Project: UIMA
          Issue Type: Bug
          Components: Core Java Framework
            Reporter: Richard Eckart de Castilho
             Fix For: 2.6.0SDK

This is a regression in the UIMA SDK 2.6.0 RC 1 and worked in UIMA SDK 2.5.0.

* Add a full delegate description to an AAE.
* Serialize to XML: delegate description is serialized.
* Call resolveImports()
* Serialize to XML: delegate description is no longer serialized.

{noformat}
  public void testNoDelegatesToResolve() throws Exception {
    ResourceSpecifierFactory f = UIMAFramework.getResourceSpecifierFactory();
    AnalysisEngineDescription outer = f.createAnalysisEngineDescription();
    AnalysisEngineDescription inner = f.createAnalysisEngineDescription();
    outer.getDelegateAnalysisEngineSpecifiersWithImports().put("inner", inner);

    StringWriter outerXml = new StringWriter();
    outer.toXML(outerXml);

    // Resolving the imports removes the inner AE description
(Continue reading)


Gmane