You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Chad Rhyner (JIRA)" <ji...@apache.org> on 2012/11/26 21:22:59 UTC

[jira] [Commented] (HADOOP-6848) FsShell have resource leak

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

Chad Rhyner commented on HADOOP-6848:
-------------------------------------

This issue has been fixed in 0.21 and beyond, and was only relevant for the 0.20.x branch.  Since the 0.20.x branches are not on the RoadMap anymore, and there are no plans to release another 0.20.x version, I suggest that this gets moved to WontFix.
                
> FsShell have resource leak
> --------------------------
>
>                 Key: HADOOP-6848
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6848
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 0.20.1, 0.20.2, 0.20.3, 0.20-append
>            Reporter: Vladimir Klimontovich
>
> When FsShell exectutes -text command it's using TextRecordInputStream. This class doesn't close inbuf and outbuf (with underlying socket in case of HDFS fs) opened in constructor. It's ok in "classic" "command per JVM" case when -text command is being used from command-line. But when FsShell is being used in same JVM several times (for example via http://martiansoftware.com/nailgun/index.html project) it cause socket leak.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira