hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Venkatesh <vramanatha...@aol.com>
Subject HTable object - how long it is valid
Date Mon, 02 Aug 2010 03:13:23 GMT

 Hi

If I construct new HTable() object upon my app init, is it valid until my app is shutdown?
I read in earlier postings that it is better to construct HTable once for performance reasons.
Wonder if underlying connection & other resources are kept around for ever for put/scan/..

Also ..when do I call close()..upon every operation (put/get/..) ? to avoid memory leaks

thanks
venkatesh





 



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