-
Notifications
You must be signed in to change notification settings - Fork 477
Closed
Labels
enhancementThis issue describes a new feature, improvement, or optimization.This issue describes a new feature, improvement, or optimization.good first issueWell written issue that is very specific and easy to do, intended for first time contributors.Well written issue that is very specific and easy to do, intended for first time contributors.
Milestone
Description
Original JIRA ticket : https://issues.apache.org/jira/browse/ACCUMULO-1660
Description from the ticket:
The output from o.a.a.core.file.rfile.PrintInfo --histogram is hard to read. Specifically, the number of zeroes in each row in the histogram is difficult to tell at a glance. We have code elsewhere to pretty-print large sizes using MB, GB, etc... It would be nice to see that here as well.
Describe the solution you'd like
As shown in the photo below, the size is hard to determine at a glance. Using units like MB or GB would be easier to read. This could be done as the default or as another option on top of --histogram. We utilize NumUtil in other areas of the code such as DUCommand and that could possibly be used here as well..
Additional context
Currently, the output of the histogram command looks like the following:
An example of how to run the command is accumulo rfile-info <table r-file> --histogram.
Metadata
Metadata
Assignees
Labels
enhancementThis issue describes a new feature, improvement, or optimization.This issue describes a new feature, improvement, or optimization.good first issueWell written issue that is very specific and easy to do, intended for first time contributors.Well written issue that is very specific and easy to do, intended for first time contributors.
