On 06/23/2015 06:44 PM, Keith Turner wrote:
row=time_client id_client counter
this will definitely generate a UUID but if I use 14 digits for time
+ 12 digits for client_id + say 6 digits for client_counter which
makes the UUID 32 bit long. I want UUID to be 16 digits long.
Can you suggest
Chiming in on one of Josh's comments
Since you're passing in what are likely multiple, disjoint ranges, I'm not
sure you're going to get much of a performance optimization out of a custom
iterator in this case. After each seek, your iterator would need to return
the entries that it summed in
Don't forget the MultiTableBatchWriter
http://accumulo.apache.org/1.7/apidocs/org/apache/accumulo/core/client/MultiTableBatchWriter.html
=)
On Wed, Jun 24, 2015 at 2:58 PM, Josh Elser josh.el...@gmail.com wrote:
Yep, connections to TabletServers and the Master are automatically
pooled. There
Could look into using Lexicoders. The following program prints out 19.
However this will vary depending on how many leading 0 bytes the longs
have, because those are dropped.
long time = System.currentTimeMillis();
ListLexicoderLong ll = new ListLexicoderLong(new ULongLexicoder());
Hi, Mohit,
I'm not sure what you mean when you say,
which makes the UUID 32 bit long. I want UUID to be 16 digits long
Do you want the UUID to be 16 bytes long, giving you 128 bits to work with?
Do you care if the UUID is human-readable (ie. ascii text) or not?
If not, take a look at how
Hi everyone,
I wanted to ask if Accumulo supports connection pooling?
If yes is there something in the JAVA api that can be used to make use of
it?
Thanks
Vaibhav
Yep, connections to TabletServers and the Master are automatically
pooled. There shouldn't be anything you have to do yourself -- it
should just work out of the box.
On Wed, Jun 24, 2015 at 2:54 PM, vaibhav thapliyal
vaibhav.thapliyal...@gmail.com wrote:
Hi everyone,
I wanted to ask if