You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Markus Jelsma (JIRA)" <ji...@apache.org> on 2011/04/01 17:09:09 UTC

[jira] [Closed] (NUTCH-152) TaskRunner io pipes are not setDaemon(true), cleanup and exception errors are incomplete, max heap too small

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

Markus Jelsma closed NUTCH-152.
-------------------------------


Bulk close of resolved issues:
http://www.lucidimagination.com/search/document/2738eeb014805854/clean_up_open_legacy_issues_in_jira

> TaskRunner io pipes are not setDaemon(true), cleanup and exception errors are incomplete, max heap too small
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: NUTCH-152
>                 URL: https://issues.apache.org/jira/browse/NUTCH-152
>             Project: Nutch
>          Issue Type: Bug
>          Components: fetcher
>    Affects Versions: 0.8
>         Environment: all
>            Reporter: Paul Baclace
>            Assignee: Andrzej Bialecki 
>             Fix For: 0.8
>
>         Attachments: TaskRunner.java.patch
>
>
> 1. io pipes should be setDaemon(true) so that process cannot hang.
> 2. error messages for Exceptions are incomplete since e.getMessage() is used and it can be empty (NullPointerException has an empty message).   Change this to e.toString() which always has more meaning.
> 3. a separate thread is not used for the subprocess stdout pipe, but it must be a separate thread if setDaemon(true).
> 4. TaskRunner.kill()  does not stop the io pipe threads, but it should.
> 5. If InterruptedException occurs, it was assumed to be for the current (main) thread, but it should check this with Thread.interrupted() otherwise spurious thread interrupts will be rethrown as IOException.
> 6. A recent run had some Tasktracker child processes that ran out of heap.  The default max heap size should be larger.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira