hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eli Collins (JIRA)" <j...@apache.org>
Subject [jira] Moved: (HADOOP-6848) FsShell have resource leak
Date Fri, 02 Jul 2010 17:58:49 GMT

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

Eli Collins moved HDFS-1279 to HADOOP-6848:
-------------------------------------------

              Project: Hadoop Common  (was: Hadoop HDFS)
                  Key: HADOOP-6848  (was: HDFS-1279)
    Affects Version/s: 0.20.2
                       0.20.1
                       0.20.3
                       0.20-append
                           (was: 0.20.1)
                           (was: 0.20.2)
                           (was: 0.20.3)
                           (was: 0.20-append)
        Fix Version/s: 0.20.3
                       0.20-append
                           (was: 0.20.3)
                           (was: 0.20-append)
          Component/s: fs
                           (was: hdfs client)

> 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.2, 0.20.1, 0.20.3, 0.20-append
>            Reporter: Vladimir Klimontovich
>             Fix For: 0.20.3, 0.20-append
>
>
> 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.


Mime
View raw message