hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-799) libhdfs needs an API function that calls DetachCurrentThread
Date Tue, 26 Apr 2011 03:56:03 GMT

    [ https://issues.apache.org/jira/browse/HDFS-799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13025053#comment-13025053

Bin commented on HDFS-799:

Hi, we also found same memory leak when using libhdfs. Any progress for this issue?
It is hard to determine when to call method DetachCurrentThread since JNIEnv is shared. Calling
DetachCurrentThread in hdfsDisconnect is not enough. Additonal method in hdfs.h is needed.

> libhdfs needs an API function that calls DetachCurrentThread
> ------------------------------------------------------------
>                 Key: HDFS-799
>                 URL: https://issues.apache.org/jira/browse/HDFS-799
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Christian Kunz
> Threads that call AttachCurrentThread in libhdfs and disappear without calling DetachCurrentThread
cause a memory leak.
> Libhdfs should provide an interface function allowing to detach the current thread.

This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message