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

Ari Rabkin updated HADOOP-4892:
-------------------------------

    Status: Patch Available  (was: Open)

No test included; obvious way to test this is to run lots of subprocesses; if 
the system doesn't die, the patch worked.
But this would be a distinctly heavyweight test with unpleasant consequences if 
it failed.  Further, it wouldn't be very reliable since there's no way of 
knowing what any particular system's file descriptor limit is.

> File descriptor leak in Chukwa's ExecPlugin
> -------------------------------------------
>
>                 Key: HADOOP-4892
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4892
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: contrib/chukwa
>            Reporter: Ari Rabkin
>            Assignee: Ari Rabkin
>         Attachments: chukwafiledescleak.patch
>
>   Original Estimate: 0.08h
>  Remaining Estimate: 0.08h
>
> Chukwa's ExecPlugin doesn't properly close pipes after running a child 
> process.  For ExecPlugin, this is benign, since it runs in a separate 
> process.  For ExecAdaptor, this is catastrophic, since file descriptors leak. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to