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

stand alone sstableupgrade prints LEAK DETECTED warnings some times

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Fix Version/s: 2.2.9, 3.0.11, 3.10
    • Component/s: None
    • Labels:
      None
    • Severity:
      Normal

      Description

      the stand alone sstableupgrade prints LEAK DETECTED warnings some times.

      sstableupgrade keyspace1 standard1
      WARN  04:22:41,942 Small commitlog volume detected at /var/lib/cassandra/commitlog; setting commitlog_total_space_in_mb to 8047.  You can override this in cassandra.yaml
      WARN  04:22:41,948 Small cdc volume detected at /var/lib/cassandra/cdc_raw; setting cdc_total_space_in_mb to 4023.  You can override this in cassandra.yaml
      WARN  04:22:41,950 Only 29.016GiB free across all data volumes. Consider adding more capacity to your cluster or removing obsolete snapshots
      Found 0 sstables that need upgrading.
      ERROR 04:22:45,472 LEAK DETECTED: a reference (org.apache.cassandra.utils.concurrent.Ref$State@7b135bd7) to class org.apache.cassandra.io.sstable.format.SSTableReader$InstanceTidier@2080155253:/var/lib/cassandra/data/keyspace1/standard1-24e490e1a6fb11e68ebe232ff1b97ca7/mc-17-big was not released before the reference was garbage collected
      ERROR 04:22:45,472 Allocate trace org.apache.cassandra.utils.concurrent.Ref$State@7b135bd7:
      Thread[main,5,main]
      	at java.lang.Thread.getStackTrace(Thread.java:1552)
      	at org.apache.cassandra.utils.concurrent.Ref$Debug.<init>(Ref.java:245)
      	at org.apache.cassandra.utils.concurrent.Ref$State.<init>(Ref.java:175)
      	at org.apache.cassandra.utils.concurrent.Ref.<init>(Ref.java:97)
      	at org.apache.cassandra.io.sstable.format.SSTableReader.<init>(SSTableReader.java:237)
      	at org.apache.cassandra.io.sstable.format.big.BigTableReader.<init>(BigTableReader.java:57)
      	at org.apache.cassandra.io.sstable.format.big.BigFormat$ReaderFactory.open(BigFormat.java:101)
      	at org.apache.cassandra.io.sstable.format.SSTableReader.internalOpen(SSTableReader.java:638)
      	at org.apache.cassandra.io.sstable.format.SSTableReader.open(SSTableReader.java:506)
      	at org.apache.cassandra.io.sstable.format.SSTableReader.openNoValidation(SSTableReader.java:401)
      	at org.apache.cassandra.tools.StandaloneUpgrader.main(StandaloneUpgrader.java:85)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:497)
      	at com.datastax.bdp.tools.ShellToolWrapper.main(ShellToolWrapper.java:34)
      

        Attachments

          Activity

            People

            • Assignee:
              yukim Yuki Morishita
              Reporter:
              jjordan Jeremiah Jordan
              Authors:
              Yuki Morishita
              Reviewers:
              Paulo Motta (Deprecated)
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: