cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brandon Williams (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-10797) Bootstrap new node fails with OOM when streaming nodes contains thousands of sstables
Date Thu, 17 Dec 2015 15:03:46 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-10797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Brandon Williams updated CASSANDRA-10797:
-----------------------------------------
    External issue ID:   (was: 21205)

> 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
>            Assignee: Paulo Motta
>             Fix For: 3.0.x, 3.x
>
>         Attachments: 10797-nonpatched.png, 10797-patched.png, 10798-nonpatched-500M.png,
10798-patched-500M.png, 112415_system.log, Heapdump_OOM.zip, Screen Shot 2015-12-01 at 7.34.40
PM.png, dtest.tar.gz
>
>
> 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