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

nodetool compactionstats gets stuck

    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

          People

            Unassigned Unassigned
            hkroger Hannu Kröger
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: