You are viewing a plain text version of this content. The canonical link for it is here.
Posted to droids-dev@incubator.apache.org by "Richard Frovarp (JIRA)" <ji...@apache.org> on 2010/02/16 17:21:28 UTC

[jira] Created: (DROIDS-80) Tika module does not look to be thread safe.

Tika module does not look to be thread safe. 
---------------------------------------------

                 Key: DROIDS-80
                 URL: https://issues.apache.org/jira/browse/DROIDS-80
             Project: Droids
          Issue Type: Bug
          Components: tika
    Affects Versions: 0.01
            Reporter: Richard Frovarp


TikaHtmlParser.parse is not thread safe. The parser and metadata are class variables and are reset upon every entry into the parse() function. These should be made into local variables.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (DROIDS-80) Tika module does not look to be thread safe.

Posted by "Richard Frovarp (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DROIDS-80?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Richard Frovarp updated DROIDS-80:
----------------------------------

    Attachment: tika-multithread.patch

Should eliminate multi-threaded parsing problems. 

> Tika module does not look to be thread safe. 
> ---------------------------------------------
>
>                 Key: DROIDS-80
>                 URL: https://issues.apache.org/jira/browse/DROIDS-80
>             Project: Droids
>          Issue Type: Bug
>          Components: tika
>    Affects Versions: 0.01
>            Reporter: Richard Frovarp
>         Attachments: tika-multithread.patch
>
>
> TikaHtmlParser.parse is not thread safe. The parser and metadata are class variables and are reset upon every entry into the parse() function. These should be made into local variables.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (DROIDS-80) Tika module does not look to be thread safe.

Posted by "Thorsten Scherler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DROIDS-80?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thorsten Scherler closed DROIDS-80.
-----------------------------------

    Resolution: Fixed

Committed revision 939644.

> Tika module does not look to be thread safe. 
> ---------------------------------------------
>
>                 Key: DROIDS-80
>                 URL: https://issues.apache.org/jira/browse/DROIDS-80
>             Project: Droids
>          Issue Type: Bug
>          Components: tika
>    Affects Versions: 0.01
>            Reporter: Richard Frovarp
>         Attachments: tika-multithread.patch
>
>
> TikaHtmlParser.parse is not thread safe. The parser and metadata are class variables and are reset upon every entry into the parse() function. These should be made into local variables.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.