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

Changing partitioner causes interval tree build failure before the change can be detected

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 1.0.4
    • None
    • None
    • Linux 2.6.18

    • Low

    Description

      After installed 1.0.0 and changed config file cassandra.yaml, restart cassandra and got exception,

      INFO 22:25:37,727 Opening /srv/opt/cassandra8/data/system/IndexInfo-g-121 (5428 bytes)
      ERROR 22:25:37,753 Exception encountered during startup_type: 0},
      java.lang.StackOverflowError, validation_class: UTF8Type, index_type: 0},
      at java.math.BigInteger.compareMagnitude(BigInteger.java:2477)
      at java.math.BigInteger.compareTo(BigInteger.java:2463)type: 0},
      at org.apache.cassandra.dht.BigIntegerToken.compareTo(BigIntegerToken.java:39)
      at org.apache.cassandra.db.DecoratedKey.compareTo(DecoratedKey.java:83)
      at org.apache.cassandra.db.DecoratedKey.compareTo(DecoratedKey.java:38)
      at java.util.Arrays.mergeSort(Arrays.java:1144)dex_type: 0},
      at java.util.Arrays.sort(Arrays.java:1079)dex_type: 0},
      at java.util.Collections.sort(Collections.java:117)},
      at org.apache.cassandra.utils.IntervalTree.IntervalNode.findMinMedianMax(IntervalNode.java:102)
      at org.apache.cassandra.utils.IntervalTree.IntervalNode.<init>(IntervalNode.java:43)
      at org.apache.cassandra.utils.IntervalTree.IntervalNode.<init>(IntervalNode.java:51)
      at org.apache.cassandra.utils.IntervalTree.IntervalNode.<init>(IntervalNode.java:51)
      at org.apache.cassandra.utils.IntervalTree.IntervalNode.<init>(IntervalNode.java:51)
      at org.apache.cassandra.utils.IntervalTree.IntervalNode.<init>(IntervalNode.java:51)
      at org.apache.cassandra.utils.IntervalTree.IntervalNode.<init>(IntervalNode.java:51)
      at org.apache.cassandra.utils.IntervalTree.IntervalNode.<init>(IntervalNode.java:51)
      .....

      at org.apache.cassandra.utils.IntervalTree.IntervalNode.<init>(IntervalNode.java:51)
      at org.apache.cassandra.utils.IntervalTree.IntervalTree.<init>(IntervalTree.java:38)
      at org.apache.cassandra.db.DataTracker$View.buildIntervalTree(DataTracker.java:522)
      at org.apache.cassandra.db.DataTracker$View.replace(DataTracker.java:547)
      at org.apache.cassandra.db.DataTracker.replace(DataTracker.java:268)
      at org.apache.cassandra.db.DataTracker.addSSTables(DataTracker.java:237)
      at org.apache.cassandra.db.ColumnFamilyStore.<init>(ColumnFamilyStore.java:216)
      at org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:315)
      at org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:285)
      at org.apache.cassandra.db.Table.initCf(Table.java:372)
      at org.apache.cassandra.db.Table.<init>(Table.java:320)
      at org.apache.cassandra.db.Table.open(Table.java:121)
      at org.apache.cassandra.db.Table.open(Table.java:104)
      at org.apache.cassandra.db.SystemTable.checkHealth(SystemTable.java:215)
      at org.apache.cassandra.service.AbstractCassandraDaemon.setup(AbstractCassandraDaemon.java:150)
      at org.apache.cassandra.service.AbstractCassandraDaemon.activate(AbstractCassandraDaemon.java:337)
      at org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:106)
      Exception encountered during startup: null

      Attachments

        1. 3407.txt
          7 kB
          Yuki Morishita
        2. 3407-assert-intervals.patch
          0.9 kB
          paul cannon
        3. 3407-v2.txt
          7 kB
          Yuki Morishita
        4. exception1.txt
          59 kB
          Zhong Li
        5. system.log
          279 kB
          Zhong Li
        6. system.log
          264 kB
          Zhong Li
        7. system.tar.gz
          2 kB
          Zhong Li

        Issue Links

          Activity

            People

              yukim Yuki Morishita
              apache.zli Zhong Li
              Yuki Morishita
              Jonathan Ellis
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: