Quantcast
Channel: The Lily Project: Ticket #19: Repository & thread safety
Viewing all articles
Browse latest Browse all 2

Article 0

0
0

Just saw there is class !HTablePool in HBase client that helps dealing with this. This solution implies that you need to return your HTable instance to the pool when you are done with it.

A solution using ThreadLocals? would not require this, but I am not sure it is a good idea.


Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images