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

Hudson commented on TIKA-2785:
------------------------------

SUCCESS: Integrated in Jenkins build tika-branch-1x #131 (See 
[https://builds.apache.org/job/tika-branch-1x/131/])
TIKA-2785 -- clean up logging in tika-server; redirect child stdout to 
(tallison: 
[https://github.com/apache/tika/commit/3e7e89a63a1bd5445e82f93e17e567de48317b79])
* (edit) 
tika-server/src/main/java/org/apache/tika/server/TikaServerWatchDog.java
* (add) tika-server/src/test/resources/mock/fake_oom.xml
* (add) 
tika-server/src/test/java/org/apache/tika/server/NullWebClientLogger.java
* (add) tika-server/src/test/resources/log4j.properties
* (edit) 
tika-server/src/test/java/org/apache/tika/server/TikaServerIntegrationTest.java
TIKA-2785 -- try to fix test that is failing on Linux, but not Windows 
(tallison: 
[https://github.com/apache/tika/commit/e31e8ceb8bcdb4e8e581bb2aed90d6569ab31462])
* (edit) 
tika-server/src/test/java/org/apache/tika/server/TikaServerIntegrationTest.java
TIKA-2785 -- fix unit test that is failing in Linux but not Windows, (tallison: 
[https://github.com/apache/tika/commit/5590e0aefb8fe20195acd4a368f67d51a158388b])
* (edit) tika-server/src/test/java/org/apache/tika/server/CXFTestBase.java
* (edit) 
tika-server/src/test/java/org/apache/tika/server/TikaServerIntegrationTest.java
* (edit) tika-server/src/test/java/org/apache/tika/server/TikaResourceTest.java


> Switch parent/child IPC to mmap file from stdout/stderr in tika-server
> ----------------------------------------------------------------------
>
>                 Key: TIKA-2785
>                 URL: https://issues.apache.org/jira/browse/TIKA-2785
>             Project: Tika
>          Issue Type: Task
>            Reporter: Tim Allison
>            Assignee: Tim Allison
>            Priority: Major
>             Fix For: 2.0.0, 1.20
>
>
> When I added {{-spawnChild}} to tika-server, I followed the pattern in 
> ForkParser of redirecting stdout/stderr for the parent to listen to output 
> from the child process.  This relies on the parsers not grabbing a pointer to 
> stdout/stderr _before_ we redirect it.  However, it is possible for parsers 
> to grab stdout/stderr during static initialization, as happens with log4j 
> configured to write to stdout/stderr.
> This means that the communication channel from child to parent is unreliable. 
>  Let's switch child to parent communication in {{-spawnChild}} to a shared 
> mmap'd file.  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to