accumulo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Keith Turner <ke...@deenlo.com>
Subject Re: How to get TabletId
Date Fri, 17 Jul 2015 14:18:48 GMT
A tablet is uniquely identified by : (table id, end row, and previous end
row).  In the Accumulo internal code KeyExtent is used to hold this info.
Other internal code can extract KeyExtents from the the metadata table.
Are you interested in a pointer to this code? Its not public API, but I can
help you find the code if thats what you are looking for.

Inoder to avoid leaking sensitive on the monitor page, KeyExtent has a
method that returns hash((table id, end row, and previous end row).   This
hash could serve as an ID.  Or you could hash, encrypt, encode etc info
that yourself with a different  function.



On Fri, Jul 17, 2015 at 9:57 AM, Rukshan Chathuranga <rcrukshan17@gmail.com>
wrote:

> I need to get tablet id. Just for visualizing id.
>
> Thanks and regards.
> On Jul 17, 2015 7:18 PM, "Keith Turner" <keith@deenlo.com> wrote:
>
>> What do you meant by table id?  What are you trying to accomplish?
>>
>> On Thu, Jul 16, 2015 at 11:19 AM, Rukshan Chathuranga <
>> rcrukshan17@gmail.com> wrote:
>>
>>> Hi,
>>>
>>> how can i get the id of each Tablets?
>>>
>>> Thanks and Regards.
>>>
>>> *Rukshan Chathuranga.*
>>>
>>> *Department Of Computer Science & Engineering,*
>>>
>>> *Faculty Of Engineering,*
>>> *University Of Moratuwa. **Sri Lanka.*
>>>
>>> *WEB: http://www.rukspot.com/ <http://rukspot.com/>*
>>>
>>>
>>

Mime
View raw message