You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Vladimir Klimontovich (JIRA)" <ji...@apache.org> on 2010/07/02 11:03:49 UTC
[jira] Created: (HDFS-1279) FsShell have resource leak
FsShell have resource leak
--------------------------
Key: HDFS-1279
URL: https://issues.apache.org/jira/browse/HDFS-1279
Project: Hadoop HDFS
Issue Type: Bug
Components: hdfs client
Affects Versions: 0.20.2, 0.20.1, 0.20-append, 0.20.3, 0.21.0
Reporter: Vladimir Klimontovich
Fix For: 0.20-append, 0.20.3, 0.21.0, 0.22.0
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.
-
You can reply to this email to add a comment to the issue online.