Rookie Question... I've built a Query Service Layer (QSL) according to the
documentation from the Accumulo v1.6.0 User Manual. My question is how
often should I be getting a Zoo Keeper Instance and Connector to accumulo.
For example, here's some psuedo code for a typical service in my QSL.
publ
Jeff,
Unless you've got multiple different tables with different permissions to
manage for different physical Accumulo users, the connector should probably
be an instance variable in your service. It can be safely shared across all
the reads as long as the Accumulo user configured in the connector
Hi Jeff,
Not a rookie question at all. This is an area in the API where we know
we could make the lifecycle more obvious. We have a ticket somewhere for it.
If you're using a single user/password to connect to Accumulo (not using
special accounts per your QSL client), there's no reason you ca
Hi Guys,
I have updated my code to use apache commons-pool2 for connection pooling.
In this implementation, each connector has it's own zookeeper instance...
Now my code looks like this:
public void readTable(...) {
Connector connector = null;
try {
connector = accumuloConnection