cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Yeh (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CASSANDRA-4856) Thrift daemon is crashing the server
Date Wed, 24 Oct 2012 21:02:12 GMT

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

Michael Yeh edited comment on CASSANDRA-4856 at 10/24/12 9:00 PM:
------------------------------------------------------------------

Why did it work again once I recreated the keyspace and column family then?  Did you at least
try to repro it?
                
      was (Author: myeh):
    Why did it work again once I recreated the keyspace and column family then?
                  
> Thrift daemon is crashing the server
> ------------------------------------
>
>                 Key: CASSANDRA-4856
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4856
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 1.1.6
>         Environment: MacOS 10.8.2
>            Reporter: Michael Yeh
>
> I'm new to cassandra and was looking at using the kundera thrift client.  I was able
to get the sample code working without any issues.  After upgrading to mountain lion on my
mac, I didn't realize I had lost the /var/lib/cassandra directory.  When I tried to run the
previously working sample code, it would crash cassandra with the following stack trace:
> INFO 12:55:37,147 Listening for thrift clients...
> ERROR 12:55:43,545 Exception in thread Thread[Thread-3,5,main]
> java.lang.OutOfMemoryError: unable to create new native thread
> 	at java.lang.Thread.start0(Native Method)
> 	at java.lang.Thread.start(Thread.java:658)
> 	at java.util.concurrent.ThreadPoolExecutor.addIfUnderMaximumPoolSize(ThreadPoolExecutor.java:727)
> 	at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:657)
> 	at org.apache.cassandra.thrift.CustomTThreadPoolServer.serve(CustomTThreadPoolServer.java:103)
> 	at org.apache.cassandra.thrift.CassandraDaemon$ThriftServer.run(CassandraDaemon.java:213)
> After realizing that I needed to recreate the keyspace and column families, everything
started to work again.  Although I'm no longer blocked with my issue, no clients should ever
be able to crash a server even if it is user error.

--
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