Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-1223

Annotators should be initialized in the same thread that their process method will later be called on

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.2.2
    • 2.3AS
    • Async Scaleout
    • None

    Description

      It is more convenient if an annotator is initialized on the same thread that it is later called on. Some components may use thread-local data and they won't work in UIMA-AS currently. Another advantage of doing the initialization in the processing thread is that you could initialize multiple instances of the annotator in parallel instead of sequentially, which may be faster for a multi-core machine.

      Attachments

        1. uimaj-as-activemq-UIMA-1223-patch.txt
          18 kB
          Jaroslaw Cwiklik
        2. uimaj-as-core-UIMA-1223-patch.txt
          54 kB
          Jaroslaw Cwiklik

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            cwiklik Jaroslaw Cwiklik
            alally Adam P. Lally
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment