[
https://issues.apache.org/jira/browse/TIKA-2780?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16685721#comment-16685721
]
Hudson commented on TIKA-2780:
------------------------------
UNSTABLE: Integrated in Jenkins build tika-2.x-windows #347 (See
[https://builds.apache.org/job/tika-2.x-windows/347/])
TIKA-2780 -- the shutdown method for tika-batch mode should not be (tallison:
rev dfe737c94bb71fe415fb6fa4fae505a73bd2e654)
* (edit) CHANGES.txt
* (edit)
tika-batch/src/main/java/org/apache/tika/batch/builders/BatchProcessBuilder.java
* (edit) tika-batch/src/main/java/org/apache/tika/batch/BatchProcess.java
* (edit)
tika-batch/src/main/java/org/apache/tika/batch/BatchProcessDriverCLI.java
* (edit)
tika-batch/src/main/java/org/apache/tika/batch/builders/InterrupterBuilder.java
* (edit) tika-batch/src/main/java/org/apache/tika/batch/Interrupter.java
* (edit)
tika-batch/src/main/java/org/apache/tika/batch/InterrupterFutureResult.java
> Intermittent failures in batch mode when STDIN = /tmp/null
> -----------------------------------------------------------
>
> Key: TIKA-2780
> URL: https://issues.apache.org/jira/browse/TIKA-2780
> Project: Tika
> Issue Type: Bug
> Components: batch
> Affects Versions: 1.19.1
> Reporter: Jeroen
> Assignee: Tim Allison
> Priority: Major
> Fix For: 2.0.0, 1.20
>
>
> We found this strange behavior in the R wrapper for tika:
> We call rtika in batch mode using the -fileList parameter. However if in the
> java tika process STDIN is set to /dev/null with read permission (O_RDONLY)
> as is usually the default then, then tika will randomly fail occasionally
> with this error:
> {{ BatchProcess:ParallelFileProcessingResult{considered=7, added=7,
> consumed=2, numberHandledExceptions=0, secondsElapsed=1.539, exitStatus=0,
> causeForTermination='USER_INTERRUPTION'}}}
> As a workaround we now set STDIN to something that is unreadable and then
> everything works, but this is really strange behavior.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)