You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (JIRA)" <ji...@apache.org> on 2012/08/02 18:18:02 UTC

[jira] [Commented] (CASSANDRA-4483) Restarting service

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

Jonathan Ellis commented on CASSANDRA-4483:
-------------------------------------------

This is because JMX doesn't set SO_REUSEADDR.  We'd have to create our own socket factory to work around this (http://vafer.org/blog/20061010091658/).
                
> Restarting service
> ------------------
>
>                 Key: CASSANDRA-4483
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4483
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core, Tools
>         Environment: CentOS release 6.2 (Final)
>            Reporter: Vladimir Barinov
>
> Cassandra can't restart too quickly.
> # /etc/init.d/cassandra status
> cassandra (pid  6843) is running...
> # /etc/init.d/cassandra restart
> Shutdown Cassandra: OK
> Starting Cassandra: OK
> # /etc/init.d/cassandra status
> cassandra is stopped
> cassandra log:
> xss =  -ea -javaagent:/usr/share/cassandra//lib/jamm-0.2.5.jar -XX:+UseThreadPriorities -XX:ThreadPriorityPolicy=42 -Xms1024M -Xmx1024M -Xmn200M -XX:+HeapDumpOnOutOfMemoryError -Xss128k
> Error: Exception thrown by the agent : java.rmi.server.ExportException: Port already in use: 7199; nested exception is: 
>         java.net.BindException: Address already in use

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira