tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TIKA-2341) Upgrade to commons compress 1.14 when available
Date Thu, 01 Jun 2017 19:57:04 GMT

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

Hudson commented on TIKA-2341:
------------------------------

SUCCESS: Integrated in Jenkins build Tika-trunk #1283 (See [https://builds.apache.org/job/Tika-trunk/1283/])
TIKA-2341 -- upgrade commons-compress to 1.14, added capabilities for (tallison: [https://github.com/apache/tika/commit/77900ab626a2a05700cadf46f090966295c29149])
* (edit) tika-parsers/src/main/java/org/apache/tika/parser/pkg/ZipContainerDetector.java
* (edit) LICENSE.txt
* (edit) tika-parent/pom.xml
* (edit) tika-parsers/src/test/java/org/apache/tika/parser/pkg/CompressorParserTest.java
* (add) tika-parsers/src/test/resources/test-documents/testSnappy-framed.sz
* (edit) tika-parsers/src/main/java/org/apache/tika/parser/pkg/CompressorParser.java
* (edit) tika-parsers/src/test/java/org/apache/tika/parser/pkg/PackageParserTest.java
* (edit) tika-bundle/pom.xml
* (delete) tika-parsers/src/main/java/org/apache/tika/parser/pkg/TikaCompressorStreamFactory.java
* (delete) tika-parsers/src/main/java/org/apache/tika/parser/pkg/TikaArchiveStreamFactory.java
* (edit) tika-parsers/src/main/java/org/apache/tika/parser/pkg/PackageParser.java
* (add) tika-parsers/src/test/resources/test-documents/testLZ4-framed.lz4


> Upgrade to commons compress 1.14 when available
> -----------------------------------------------
>
>                 Key: TIKA-2341
>                 URL: https://issues.apache.org/jira/browse/TIKA-2341
>             Project: Tika
>          Issue Type: Improvement
>            Reporter: Tim Allison
>            Assignee: Tim Allison
>            Priority: Minor
>             Fix For: 1.16
>
>
> For Tika 1.15, we added temporary copy/pastes of updated CompressorInputStreamFactory
and ArchiveInputStreamFactory. 
> There's now a static {{detect()}} method which should prevent OOMs while detecting some
corrupt files.
> There's also now a {{memoryLimitInKb}} parameter that limits the amount of memory that
can be allocated.  This is can be used to protect against OOM for corrupt files that might
appear to allege enormous block sizes.
> Many thanks to [~bodewig] and the commons-compress community for their quick responses
to PRs!



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message