You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Sebastian Nagel (JIRA)" <ji...@apache.org> on 2015/11/12 23:14:10 UTC

[jira] [Updated] (NUTCH-2168) Parse-tika fails to retrieve parser

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

Sebastian Nagel updated NUTCH-2168:
-----------------------------------
    Attachment: NUTCH-2168.patch

Attached patch: use constructor of TikaConfig which passes the plugin's own class loader. Parser implementations are then successfully retrieved.

> Parse-tika fails to retrieve parser
> -----------------------------------
>
>                 Key: NUTCH-2168
>                 URL: https://issues.apache.org/jira/browse/NUTCH-2168
>             Project: Nutch
>          Issue Type: Bug
>          Components: parser
>    Affects Versions: 2.3.1
>            Reporter: Sebastian Nagel
>             Fix For: 2.3.1
>
>         Attachments: NUTCH-2168.patch
>
>
> The plugin parse-tika fails to parse most (all?) kinds of document types (PDF, xlsx, ...) when run via ParserChecker or ParserJob:
> {noformat}
> 2015-11-12 19:14:30,903 INFO  parse.ParserJob - Parsing http://localhost/pdftest.pdf
> 2015-11-12 19:14:30,905 INFO  parse.ParserFactory - ...
> 2015-11-12 19:14:30,907 ERROR tika.TikaParser - Can't retrieve Tika parser for mime-type application/pdf
> 2015-11-12 19:14:30,913 WARN  parse.ParseUtil - Unable to successfully parse content http://localhost/pdftest.pdf of type application/pdf
> {noformat}
> The same document is successfully parsed by TestPdfParser.



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