cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David King (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CASSANDRA-1170) java.lang.NumberFormatException: For input string: "02473253("
Date Fri, 10 Sep 2010 21:54:34 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-1170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12908200#action_12908200
] 

David King commented on CASSANDRA-1170:
---------------------------------------

Seeing this again in production. Different node, different block devices, etc.

{quote}
java.util.concurrent.ExecutionException: java.lang.NumberFormatException: For input string:
"955)10530"
        at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:252)
        at java.util.concurrent.FutureTask.get(FutureTask.java:111)
        at org.apache.cassandra.concurrent.DebuggableThreadPoolExecutor.afterExecute(DebuggableThreadPoolExecutor.java:86)
        at org.apache.cassandra.db.CompactionManager$CompactionExecutor.afterExecute(CompactionManager.java:577)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1118)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
        at java.lang.Thread.run(Thread.java:636)
Caused by: java.lang.NumberFormatException: For input string: "955)10530"
        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.IteratingRow.<init>(IteratingRow.java:48)
        at org.apache.cassandra.io.SSTableScanner$KeyScanningIterator.next(SSTableScanner.java:136)
        at org.apache.cassandra.io.SSTableScanner$KeyScanningIterator.next(SSTableScanner.java:113)
        at org.apache.cassandra.io.SSTableScanner.next(SSTableScanner.java:105)
        at org.apache.cassandra.io.SSTableScanner.next(SSTableScanner.java:34)
        at org.apache.commons.collections.iterators.FilterIterator.setNextObject(FilterIterator.java:184)
        at org.apache.commons.collections.iterators.FilterIterator.hasNext(FilterIterator.java:94)
        at org.apache.commons.collections.iterators.CollatingIterator.set(CollatingIterator.java:283)
        at org.apache.commons.collections.iterators.CollatingIterator.least(CollatingIterator.java:326)
        at org.apache.commons.collections.iterators.CollatingIterator.next(CollatingIterator.java:230)
        at org.apache.cassandra.utils.ReducingIterator.computeNext(ReducingIterator.java:68)
        at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:135)
        at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:130)
        at org.apache.commons.collections.iterators.FilterIterator.setNextObject(FilterIterator.java:183)
        at org.apache.commons.collections.iterators.FilterIterator.hasNext(FilterIterator.java:94)
        at org.apache.cassandra.db.CompactionManager.doAntiCompaction(CompactionManager.java:368)
        at org.apache.cassandra.db.CompactionManager.doCleanupCompaction(CompactionManager.java:411)
        at org.apache.cassandra.db.CompactionManager.access$400(CompactionManager.java:49)
        at org.apache.cassandra.db.CompactionManager$2.call(CompactionManager.java:130)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
        at java.util.concurrent.FutureTask.run(FutureTask.java:166)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
        ... 2 more
{quote}

> java.lang.NumberFormatException: For input string: "02473253("
> --------------------------------------------------------------
>
>                 Key: CASSANDRA-1170
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1170
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.6.2
>         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)
>            Reporter: David King
>
> 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)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message