hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Huy Phan <dac...@gmail.com>
Subject libhdfs with FileSystem cache issue can causes to memory leak ?
Date Tue, 13 Oct 2009 03:52:30 GMT
Hi All,
    I'm writing a multi-thread application using libhdfs in C, a known issue
of HDFS is that the FileSystem API caches FileSystem handles and always
returned the same FileSystem handle when called from different threads. It
means even though I called hdfsConnect for many times, I should not call
hdfsDisconnect in any single thread.
This may lead to memory leak on system, do you know any workaround for this
issue ?

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message