Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-14130

nodetool compactionstats gets stuck

Agile BoardAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsAdd voteVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Normal
    • Resolution: Unresolved
    • None
    • Local/Compaction
    • None
    • Normal

    Description

      We have a server that works apparently quite normally but nodetool compactionstats command hangs.

      For example "status" works fine

      $ nodetool status
      

      But "compactionstats" hangs

      $ nodetool compactionstats
      

      Hanging also happens when calling using JMX:

      Welcome to JMX terminal. Type "help" for available commands.
      $>open localhost:7199
      #Connection to localhost:7199 is opened
      $>bean org.apache.cassandra.metrics:type=Compaction,name=PendingTasksByTableName
      #bean is set to org.apache.cassandra.metrics:type=Compaction,name=PendingTasksByTableName
      $>get Value
      #mbean = org.apache.cassandra.metrics:type=Compaction,name=PendingTasksByTableName:
      

      What could be the problem?

      Attachments

        1. jstack.txt
          1.27 MB
          Hannu Kröger
        2. nodetool_jstack.txt
          11 kB
          Hannu Kröger

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned Assign to me
            hkroger Hannu Kröger

            Dates

              Created:
              Updated:

              Slack

                Issue deployment