You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "liuxiangwei (JIRA)" <ji...@apache.org> on 2016/12/15 05:46:59 UTC

[jira] [Commented] (YARN-5939) FSDownload leaks FileSystem resources

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

liuxiangwei commented on YARN-5939:
-----------------------------------

It works well on our cluster with about 700 machines, thank you very match.

> FSDownload leaks FileSystem resources
> -------------------------------------
>
>                 Key: YARN-5939
>                 URL: https://issues.apache.org/jira/browse/YARN-5939
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: nodemanager
>    Affects Versions: 2.5.1, 2.7.3
>            Reporter: liuxiangwei
>            Assignee: Weiwei Yang
>         Attachments: YARN-5939.01.patch, YARN-5939.02.patch
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> Background
> To use our self-defined FileSystem class, the item of configuration "fs.%s.impl.disable.cache" should set to true.
> In YARN's source code, the class named "org.apache.hadoop.yarn.util.FSDownload" use getFileSystem but never close, which leading to file descriptor leak because our self-defined FileSystem class close the file descriptor when the close function is invoked.
> My Question below:
> 1. whether invoking "getFileSystem" but never close is YARN's expected behavior 
> 2. what should we do in our self-defined FileSystem resolve it.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org