hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Imran M Yousuf <imyou...@gmail.com>
Subject Query about best practice regarding opening a HTable
Date Sun, 22 Aug 2010 06:04:39 GMT
Hi,

I have a query regarding what is the best practice regarding opening a
HTable when using the client API. I am using a web application to read
and write to HBase. I have several HTables I will be regularly reading
and writing to (not only from my web application but also from other
apps in parallel). Now the ambiguity I have is - do I open a HTable
(i.e. initialize) once in the applications life-cycle or should be it
be opened and closed per-request?

-- 
Imran M Yousuf
Blog: http://imyousuf-tech.blogs.smartitengineering.com/
Mobile: +880-1711402557

Mime
View raw message