cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-5767) NPE under load
Date Mon, 22 Jul 2013 20:32:48 GMT

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

Jonathan Ellis commented on CASSANDRA-5767:
-------------------------------------------

Duplicate of CASSANDRA-5779?
                
> NPE under load
> --------------
>
>                 Key: CASSANDRA-5767
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5767
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.2.6
>            Reporter: Nikolai Grigoriev
>
> I am new to Cassandra so my report may not contain enough relevant information. I am
trying to use Cassandra as backend storage for Titan graph DB. I am running a simple test
on a small cluster of 4 Cassandra nodes (1.2.6 all of them, running from scratch). I can consistently
get this exception that makes Cassandra unusable:
> {code}
>  INFO [FlushWriter:38] 2013-07-16 23:28:37,246 Memtable.java (line 461) Writing Memtable-schema_columnfamilies@1756904544(1291/1291
serialized/live bytes, 21 ops)
>  INFO [FlushWriter:38] 2013-07-16 23:28:37,395 Memtable.java (line 495) Completed flushing
/hadoop/disk4/cassandra/data/system/schema_columnfamilies/system-schema_columnf
> amilies-ic-284-Data.db (701 bytes) for commitlog position ReplayPosition(segmentId=1374015168706,
position=2927400)
>  INFO [CompactionExecutor:188] 2013-07-16 23:28:37,396 CompactionTask.java (line 105)
Compacting [SSTableReader(path='/hadoop/disk4/cassandra/data/system/schema_columnfam
> ilies/system-schema_columnfamilies-ic-281-Data.db'), SSTableReader(path='/hadoop/disk4/cassandra/data/system/schema_columnfamilies/system-schema_columnfamilies-ic-284-Dat
> a.db'), SSTableReader(path='/hadoop/disk4/cassandra/data/system/schema_columnfamilies/system-schema_columnfamilies-ic-283-Data.db'),
SSTableReader(path='/hadoop/disk4/cas
> sandra/data/system/schema_columnfamilies/system-schema_columnfamilies-ic-282-Data.db')]
> ERROR [MigrationStage:1] 2013-07-16 23:28:37,405 CassandraDaemon.java (line 192) Exception
in thread Thread[MigrationStage:1,5,main]
> java.lang.NullPointerException
>         at org.apache.cassandra.db.DefsTable.mergeColumnFamilies(DefsTable.java:476)
>         at org.apache.cassandra.db.DefsTable.mergeSchema(DefsTable.java:355)
>         at org.apache.cassandra.db.DefinitionsUpdateVerbHandler$1.runMayThrow(DefinitionsUpdateVerbHandler.java:55)
>         at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28)
>         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
>         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>         at java.lang.Thread.run(Thread.java:662)
>  INFO [CompactionExecutor:188] 2013-07-16 23:28:37,580 CompactionTask.java (line 262)
Compacted 4 sstables to [/hadoop/disk4/cassandra/data/system/schema_columnfamilies/s
> ystem-schema_columnfamilies-ic-285,].  7,059 bytes to 5,801 (~82% of original) in 184ms
= 0.030067MB/s.  8 total rows, 5 unique.  Row merge counts were {1:4, 2:0, 3:0, 4:
> 1, }
>  INFO [MigrationStage:1] 2013-07-16 23:28:42,595 ColumnFamilyStore.java (line 630) Enqueuing
flush of Memtable-schema_columnfamilies@1684657235(1207/1207 serialized/live
> bytes, 21 ops)
>  INFO [FlushWriter:39] 2013-07-16 23:28:42,596 Memtable.java (line 461) Writing Memtable-schema_columnfamilies@1684657235(1207/1207
serialized/live bytes, 21 ops)
>  INFO [FlushWriter:39] 2013-07-16 23:28:42,787 Memtable.java (line 495) Completed flushing
/hadoop/disk4/cassandra/data/system/schema_columnfamilies/system-schema_columnf
> amilies-ic-286-Data.db (699 bytes) for commitlog position ReplayPosition(segmentId=1374015168706,
position=2929541)
> ERROR [MigrationStage:1] 2013-07-16 23:28:42,796 CassandraDaemon.java (line 192) Exception
in thread Thread[MigrationStage:1,5,main]
> java.lang.NullPointerException
>         at org.apache.cassandra.db.DefsTable.mergeColumnFamilies(DefsTable.java:476)
>         at org.apache.cassandra.db.DefsTable.mergeSchema(DefsTable.java:355)
>         at org.apache.cassandra.db.DefinitionsUpdateVerbHandler$1.runMayThrow(DefinitionsUpdateVerbHandler.java:55)
>         at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28)
>         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
>         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>         at java.lang.Thread.run(Thread.java:662)
>  INFO [MemoryMeter:1] 2013-07-16 23:28:58,908 Memtable.java (line 238) CFS(Keyspace='mykeyspace',
ColumnFamily='edgestore') liveRatio is 9.582214511662903 (just-counted w
> as 9.582214511662903).  calculation took 136930ms for 18075721 columns
>  INFO [MemoryMeter:1] 2013-07-16 23:29:14,208 Memtable.java (line 238) CFS(Keyspace='mykeyspace',
ColumnFamily='vertexindex') liveRatio is 36.198425299625 (just-counted w
> as 36.198425299625).  calculation took 15300ms for 720565 columns
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message