You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Bin (JIRA)" <ji...@apache.org> on 2011/04/26 05:56:03 UTC
[jira] [Commented] (HDFS-799) libhdfs needs an API function that
calls DetachCurrentThread
[ 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