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

java.lang.NumberFormatException: For input string: "02473253("

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:

      Cassandra 0.6.2

      Ubuntu 9.10 on EC2

      java version "1.6.0_0"
      IcedTea6 1.3.1 (6b12-0ubuntu6.6) Runtime Environment (build 1.6.0_0-b12)
      OpenJDK 64-Bit Server VM (build 1.6.0_0-b12, mixed mode)

      Description

      When trying to boot a node:

      INFO 11:05:16,117 Sampling index for /cassandra/data/permacache/permacache-13662-Data.db
      ERROR 11:05:17,389 Exception encountered during startup.
      java.lang.NumberFormatException: For input string: "72392391 "
      at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
      at java.lang.Integer.parseInt(Integer.java:481)
      at java.math.BigInteger.<init>(BigInteger.java:343)
      at java.math.BigInteger.<init>(BigInteger.java:467)
      at org.apache.cassandra.dht.BigIntegerToken.<init>(BigIntegerToken.java:32)
      at org.apache.cassandra.dht.RandomPartitioner.convertFromDiskFormat(RandomPartitioner.java:53)
      at org.apache.cassandra.io.SSTableReader.loadIndexFile(SSTableReader.java:261)
      at org.apache.cassandra.io.SSTableReader.open(SSTableReader.java:125)
      at org.apache.cassandra.io.SSTableReader.open(SSTableReader.java:114)
      at org.apache.cassandra.db.ColumnFamilyStore.<init>(ColumnFamilyStore.java:178)
      at org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:248)
      at org.apache.cassandra.db.Table.<init>(Table.java:338)
      at org.apache.cassandra.db.Table.open(Table.java:199)
      at org.apache.cassandra.thrift.CassandraDaemon.setup(CassandraDaemon.java:91)
      at org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:177)
      Exception encountered during startup.
      java.lang.NumberFormatException: For input string: "72392391 "
      at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
      at java.lang.Integer.parseInt(Integer.java:481)
      at java.math.BigInteger.<init>(BigInteger.java:343)
      at java.math.BigInteger.<init>(BigInteger.java:467)
      at org.apache.cassandra.dht.BigIntegerToken.<init>(BigIntegerToken.java:32)
      at org.apache.cassandra.dht.RandomPartitioner.convertFromDiskFormat(RandomPartitioner.java:53)
      at org.apache.cassandra.io.SSTableReader.loadIndexFile(SSTableReader.java:261)
      at org.apache.cassandra.io.SSTableReader.open(SSTableReader.java:125)
      at org.apache.cassandra.io.SSTableReader.open(SSTableReader.java:114)
      at org.apache.cassandra.db.ColumnFamilyStore.<init>(ColumnFamilyStore.java:178)
      at org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:248)
      at org.apache.cassandra.db.Table.<init>(Table.java:338)
      at org.apache.cassandra.db.Table.open(Table.java:199)
      at org.apache.cassandra.thrift.CassandraDaemon.setup(CassandraDaemon.java:91)
      at org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:177)

      I deleted the sstable with the broken key (RF==3, so I figured I could just repair when it came back up), but now instead I get:

      ERROR 11:16:02,045 Exception encountered during startup.
      java.lang.NumberFormatException: For input string: "02473253("
      at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
      at java.lang.Integer.parseInt(Integer.java:481)
      at java.math.BigInteger.<init>(BigInteger.java:343)
      at java.math.BigInteger.<init>(BigInteger.java:467)
      at org.apache.cassandra.dht.BigIntegerToken.<init>(BigIntegerToken.java:32)
      at org.apache.cassandra.dht.RandomPartitioner.convertFromDiskFormat(RandomPartitioner.java:53)
      at org.apache.cassandra.io.SSTableReader.loadIndexFile(SSTableReader.java:261)
      at org.apache.cassandra.io.SSTableReader.open(SSTableReader.java:125)
      at org.apache.cassandra.io.SSTableReader.open(SSTableReader.java:114)
      at org.apache.cassandra.db.ColumnFamilyStore.<init>(ColumnFamilyStore.java:178)
      at org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:248)
      at org.apache.cassandra.db.Table.<init>(Table.java:338)
      at org.apache.cassandra.db.Table.open(Table.java:199)
      at org.apache.cassandra.thrift.CassandraDaemon.setup(CassandraDaemon.java:91)
      at org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:177)
      Exception encountered during startup.
      java.lang.NumberFormatException: For input string: "02473253("
      at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
      at java.lang.Integer.parseInt(Integer.java:481)
      at java.math.BigInteger.<init>(BigInteger.java:343)
      at java.math.BigInteger.<init>(BigInteger.java:467)
      at org.apache.cassandra.dht.BigIntegerToken.<init>(BigIntegerToken.java:32)
      at org.apache.cassandra.dht.RandomPartitioner.convertFromDiskFormat(RandomPartitioner.java:53)
      at org.apache.cassandra.io.SSTableReader.loadIndexFile(SSTableReader.java:261)
      at org.apache.cassandra.io.SSTableReader.open(SSTableReader.java:125)
      at org.apache.cassandra.io.SSTableReader.open(SSTableReader.java:114)
      at org.apache.cassandra.db.ColumnFamilyStore.<init>(ColumnFamilyStore.java:178)
      at org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:248)
      at org.apache.cassandra.db.Table.<init>(Table.java:338)
      at org.apache.cassandra.db.Table.open(Table.java:199)
      at org.apache.cassandra.thrift.CassandraDaemon.setup(CassandraDaemon.java:91)
      at org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:177)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ketralnis David King
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: