hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lars hofhansl <lhofha...@yahoo.com>
Subject Re: Registered listeners not getting removed - Leading to memory leak
Date Mon, 19 Dec 2011 18:47:03 GMT
A friend of mine who is evaluating HBase just told that calling HBaseAdmin.tableExists frequently
slows down the client.
This is probably the same issue. He was using stock CHD3 HBase.

-- Lars


________________________________
 From: Ramkrishna S Vasudevan <ramkrishna.vasudevan@huawei.com>
To: dev@hbase.apache.org 
Sent: Monday, December 19, 2011 3:59 AM
Subject: Registered listeners not getting removed - Leading to memory leak
 
Hi 



From the HBaseAdmin if i try to use apis like tableExists, compact, flush,
closeRegion all creates new CataLogTracker.  Everytime we register a
listener but we dont 

remove the listeners.  

Note that, every catalog tracker creation calls HConnection.getConnection().

On continuous run of admin apis this is leading to memory leak.  Correct me
if am wrong.  



Any suggestions on this on how to clear the listeners?



Regards

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