cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jose Martinez Poblete (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-10797) Bootstrap new node fails with OOM when streaming nodes contains thousands of sstables
Date Wed, 02 Dec 2015 00:27:11 GMT
Jose Martinez Poblete created CASSANDRA-10797:
-------------------------------------------------

             Summary: Bootstrap new node fails with OOM when streaming nodes contains thousands
of sstables
                 Key: CASSANDRA-10797
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10797
             Project: Cassandra
          Issue Type: Bug
          Components: Streaming and Messaging
         Environment: Cassandra 2.1.8.621 w/G1GC
            Reporter: Jose Martinez Poblete
         Attachments: 112415_system.log, Heapdump_OOM.zip

When adding a new node to an existing DC, it runs OOM after 25-45 minutes
Upon heapdump revision, it is found the sending nodes are streaming thousands of sstables
which in turns blows the bootstrapping node heap 

{noformat}
ERROR [RMI Scheduler(0)] 2015-11-24 10:10:44,585 JVMStabilityInspector.java:94 - JVM state
determined to be unstable.  Exiting forcefully due to:
java.lang.OutOfMemoryError: Java heap space
ERROR [STREAM-IN-/173.36.28.148] 2015-11-24 10:10:44,585 StreamSession.java:502 - [Stream
#0bb13f50-92cb-11e5-bc8d-f53b7528ffb4] Streaming error occurred
java.lang.IllegalStateException: Shutdown in progress
        at java.lang.ApplicationShutdownHooks.remove(ApplicationShutdownHooks.java:82) ~[na:1.8.0_65]
        at java.lang.Runtime.removeShutdownHook(Runtime.java:239) ~[na:1.8.0_65]
        at org.apache.cassandra.service.StorageService.removeShutdownHook(StorageService.java:747)
~[cassandra-all-2.1.8.621.jar:2.1.8.621]
        at org.apache.cassandra.utils.JVMStabilityInspector$Killer.killCurrentJVM(JVMStabilityInspector.java:95)
~[cassandra-all-2.1.8.621.jar:2.1.8.621]
        at org.apache.cassandra.utils.JVMStabilityInspector.inspectThrowable(JVMStabilityInspector.java:64)
~[cassandra-all-2.1.8.621.jar:2.1.8.621]
        at org.apache.cassandra.streaming.messages.IncomingFileMessage$1.deserialize(IncomingFileMessage.java:66)
~[cassandra-all-2.1.8.621.jar:2.1.8.621]
        at org.apache.cassandra.streaming.messages.IncomingFileMessage$1.deserialize(IncomingFileMessage.java:38)
~[cassandra-all-2.1.8.621.jar:2.1.8.621]
        at org.apache.cassandra.streaming.messages.StreamMessage.deserialize(StreamMessage.java:55)
~[cassandra-all-2.1.8.621.jar:2.1.8.621]
        at org.apache.cassandra.streaming.ConnectionHandler$IncomingMessageHandler.run(ConnectionHandler.java:250)
~[cassandra-all-2.1.8.621.jar:2.1.8.621]
        at java.lang.Thread.run(Thread.java:745) [na:1.8.0_65]
ERROR [RMI TCP Connection(idle)] 2015-11-24 10:10:44,585 JVMStabilityInspector.java:94 - JVM
state determined to be unstable.  Exiting forcefully due to:
java.lang.OutOfMemoryError: Java heap space
ERROR [OptionalTasks:1] 2015-11-24 10:10:44,585 CassandraDaemon.java:223 - Exception in thread
Thread[OptionalTasks:1,5,main]
java.lang.IllegalStateException: Shutdown in progress
{noformat}

Attached is the Eclipse MAT report as a zipped web page





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message