Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-875

add list compactions command to shell

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5.0
    • Component/s: None
    • Labels:
      None

      Description

      The shell currently has a list scans command which is very useful for debugging. Another command that would be useful is list compactions.

      The things that would be useful to know about a running compaction are the following :

      • Tablet server
      • Age
      • State (if showing queued compactions)
      • Type (User, Chop, System, Idle)
      • Tablet
      • Iterator info (iterators could have changed since it started and there are per compaction iterators)
      • Input files
      • Output file
      • Rate
      • Key/values read so far (could do bytes also)
      • Key/values written so far (could do bytes also)
      • Locality group compacting

      Could consider using JMX to collect this info from tablet servers. List scans currently uses a thrift call to get its info from tablet servers. Making the info available via JMX would enable other tools to use the information.

        Attachments

          Activity

            People

            • Assignee:
              kturner Keith Turner
              Reporter:
              kturner Keith Turner
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: