|
|
-
Re: Record index within a TableJosh Elser 2012-12-04, 17:45
I was thinking a little more on the subject, and convinced myself that I
was wrong. Since many files on disk correspond to a tablet, the best you can get is the index of a key-value pair in a given file for a tablet. To get a sorted stream of key-value pairs for this tablet (to compute index offset for a key in a tablet), a merged read is performed over all of those files. Local key offset for a file is meaningless as it does not imply the correct offset for a tablet. On 12/3/12 9:30 PM, Josh Elser wrote: > > Accumulo doesn't expose any internal offsets of Key-Value pairs > through the API. While it might be able to extrapolate some of this > knowledge from the underlying structure of Accumulo, that isn't the > intent of what Accumulo is trying to provide. > |