accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Tubbs (JIRA)" <>
Subject [jira] [Resolved] (ACCUMULO-2873) Create utility that generates single line tablet information
Date Thu, 15 Aug 2019 20:28:00 GMT


Christopher Tubbs resolved ACCUMULO-2873.
    Resolution: Duplicate

Duplicated by the issue on GitHub:

> Create utility that generates single line tablet information
> ------------------------------------------------------------
>                 Key: ACCUMULO-2873
>                 URL:
>             Project: Accumulo
>          Issue Type: New Feature
>            Reporter: Keith Turner
>            Priority: Major
>              Labels: newbie
> It would be very useful to have a utility that generates single line tablet info.  The
output of this could be fed to sort, awk, grep, etc inorder to answer questions like which
tablets have the most files.
> The output could look something like the following
> {noformat}
> $accumulo admin listTablets --table bigTable3
> #files #walogs #entries #size #status #location #tableid #endrow
> 6 2 40,001 50M ASSIGNED 4:9997[abc]  3 admin
> 3 1 50,002 40M ASSIGNED 5:9997[abc]  3 helpful
> {noformat}
> All of the information can be obtained by scanning the metadata table and looking into
zookeeper.   Could possibly contact tablet servers to get info about entires in memory.
> The order of the columns in the example above is arbitrary, except for end row.  Maybe
end row column should come last because it can be of arbitrary length.  Also the end row could
contain any character, could look into using a CSV library.   It would be nice to design the
utility so that columns can be added in future versions w/o impacting current scripts that
use the utility.

This message was sent by Atlassian JIRA

View raw message