cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Lohfink (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-7254) NPE on startup if another Cassandra instance is already running
Date Thu, 19 Jun 2014 16:46:25 GMT

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

Chris Lohfink commented on CASSANDRA-7254:
------------------------------------------

Seems like it, two instances of:
{code:title=Test.java|java}
public class Test {
	public static void main(String[] args) throws Exception { Thread.sleep(100000); }
}
{code}
and jvm args
{code}-Dcom.sun.management.jmxremote.port=2222 
-Dcom.sun.management.jmxremote.rmi.port=2222 
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false{code}
will cause that error.  Ill open issue and see if theres something to do about it for a better
error

> NPE on startup if another Cassandra instance is already running
> ---------------------------------------------------------------
>
>                 Key: CASSANDRA-7254
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7254
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>            Reporter: Tyler Hobbs
>            Assignee: Chris Lohfink
>            Priority: Minor
>             Fix For: 2.1.0
>
>
> After CASSANDRA-7087, if you try to start cassandra while another instance is already
running, you'll see something like this:
> {noformat}
> $ bin/cassandra -f
> Error: Exception thrown by the agent : java.lang.NullPointerException
> {noformat}
> This is probably a JVM bug, but we should confirm that, open a JVM ticket, and see if
we can give a more useful error message on the C* side.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message