You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@accumulo.apache.org by Mauro Schneider <ma...@gmail.com> on 2018/06/04 15:48:23 UTC
Number of entries
Hello
How to find out a number of entries of table with a ton of data in the
Accumulo ?
Mauro Schneider
Re: Number of entries
Posted by Mauro Schneider <ma...@gmail.com>.
Hi Josh
Thanks for the answer. Maybe the accumulo:metadata will help me.
Mauro Schneider
On Mon, Jun 4, 2018 at 1:19 PM Josh Elser <el...@apache.org> wrote:
> Hi Marcus,
>
> Via what means?
>
> This information is present on the Accumulo Monitor UI already, lagging
> only by a compaction happening on relevant Tablets. You can easily look
> at this data for just about any installation.
>
> If via code, I don't believe there is public API (stable) for requesting
> the table sizes, but the Monitor pulls this data from the
> accumulo:metadata table. You could do the same. The accumulo:metadata
> table has a reference to each file contained by a table, and with it the
> number of entries in that file. It's a simple calculation to compute the
> number of entries for a table once you can extract the number of entries
> for a single tablet.
>
> On 6/4/18 11:48 AM, Mauro Schneider wrote:
> > Hello
> >
> > How to find out a number of entries of table with a ton of data in the
> > Accumulo ?
> >
> >
> >
> >
> > Mauro Schneider
> >
>
Re: Number of entries
Posted by Josh Elser <el...@apache.org>.
Hi Marcus,
Via what means?
This information is present on the Accumulo Monitor UI already, lagging
only by a compaction happening on relevant Tablets. You can easily look
at this data for just about any installation.
If via code, I don't believe there is public API (stable) for requesting
the table sizes, but the Monitor pulls this data from the
accumulo:metadata table. You could do the same. The accumulo:metadata
table has a reference to each file contained by a table, and with it the
number of entries in that file. It's a simple calculation to compute the
number of entries for a table once you can extract the number of entries
for a single tablet.
On 6/4/18 11:48 AM, Mauro Schneider wrote:
> Hello
>
> How to find out a number of entries of table with a ton of data in the
> Accumulo ?
>
>
>
>
> Mauro Schneider
>