cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Pope (JIRA)" <>
Subject [jira] Created: (CASSANDRA-2196) NumberFormatException processing sstable
Date Fri, 18 Feb 2011 16:17:38 GMT
NumberFormatException processing sstable

                 Key: CASSANDRA-2196
             Project: Cassandra
          Issue Type: Bug
          Components: Core
    Affects Versions: 0.7.2
         Environment: Cassandra 0.7.2

Windows 7 64-bit
java version "1.6.0_23"
Java(TM) SE Runtime Environment (build 1.6.0_23-b05)
Java HotSpot(TM) 64-Bit Server VM (build 19.0-b09, mixed mode)

            Reporter: Stephen Pope

When inserting a large number of entries with batch_insert (100000) using thrift compiled
into C# there's a NumberFormatException that occurs.

The first logged entry that tipped me off was this:
 INFO 10:53:52,171 Writing Memtable-TransactionLogs.client-hostname@350930888(1171371 bytes,
32787 o
ERROR 10:53:52,171 Error in ThreadPoolExecutor
java.lang.RuntimeException: java.lang.NumberFormatException: For input string: "tmp"
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
        at java.util.concurrent.ThreadPoolExecutor$
Caused by: java.lang.NumberFormatException: For input string: "tmp"
        at java.lang.NumberFormatException.forInputString(
        at java.lang.Integer.parseInt(
        at java.lang.Integer.parseInt(
        at org.apache.cassandra.db.Memtable.writeSortedContents(
        at org.apache.cassandra.db.Memtable.access$000(
        at org.apache.cassandra.db.Memtable$1.runMayThrow(
        ... 3 more

 Which points to the suspect piece of code in (browse at

 The file I believe it's trying to parse is mentioned in my logs as:

INFO 10:51:31,231 Compacted to C:\cassandra\apache-cassandra-0.7.2\bin\..\Storage\data\system\Index
Info-tmp-f-6-Data.db.  384 to 225 (~58% of original) bytes for 1 keys.  Time: 281ms.

 I'm new here, so I'm not sure what needs fixing here (the filename, or the parsing of it).

This message is automatically generated by JIRA.
For more information on JIRA, see:


View raw message