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

Nodetool compactionstats fails with NullPointerException

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Fix Version/s: 3.0.11
    • Component/s: None
    • Labels:
      None
    • Environment:

      3.0.10

    • Severity:
      Normal

      Description

      Found in 3.0.10:

      $ nodetool compactionstats
      pending tasks: 2
      error: null
      -- StackTrace --
      java.lang.NullPointerException
              at org.apache.cassandra.tools.nodetool.CompactionStats.addLine(CompactionStats.java:102)
              at org.apache.cassandra.tools.nodetool.CompactionStats.execute(CompactionStats.java:70)
              at org.apache.cassandra.tools.NodeTool$NodeToolCmd.run(NodeTool.java:247)
              at org.apache.cassandra.tools.NodeTool.main(NodeTool.java:161)
      

        Attachments

        1. 13021-3.0-update2.txt
          2 kB
          Jay Zhuang
        2. 13021-3.0-update.txt
          1 kB
          Jay Zhuang
        3. 13021-3.0.txt
          1 kB
          Jay Zhuang

          Issue Links

            Activity

              People

              • Assignee:
                jay.zhuang Jay Zhuang
                Reporter:
                jay.zhuang Jay Zhuang
                Authors:
                Jay Zhuang
                Reviewers:
                Jason Brown
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: