Return-Path: Delivered-To: apmail-incubator-cassandra-dev-archive@minotaur.apache.org Received: (qmail 90720 invoked from network); 11 Mar 2010 09:45:05 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 11 Mar 2010 09:45:05 -0000 Received: (qmail 6430 invoked by uid 500); 11 Mar 2010 09:44:32 -0000 Delivered-To: apmail-incubator-cassandra-dev-archive@incubator.apache.org Received: (qmail 6411 invoked by uid 500); 11 Mar 2010 09:44:32 -0000 Mailing-List: contact cassandra-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cassandra-dev@incubator.apache.org Delivered-To: mailing list cassandra-dev@incubator.apache.org Received: (qmail 6403 invoked by uid 99); 11 Mar 2010 09:44:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Mar 2010 09:44:31 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,NORMAL_HTTP_TO_IP,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of sucode@gmail.com designates 74.125.83.175 as permitted sender) Received: from [74.125.83.175] (HELO mail-pv0-f175.google.com) (74.125.83.175) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Mar 2010 09:44:27 +0000 Received: by pvg13 with SMTP id 13so476863pvg.6 for ; Thu, 11 Mar 2010 01:44:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=v1rlext61+UXBUo0z8XfZEPDbHddwZ0eNJGw9F3psV8=; b=bd1iDID19VBUP4eKC5kbJ8MW172rn3aGipjSk/+WUDcDLlYxs8AH+f7bn/hwkk7/XP DP+rL8/sT0n2oStJbJM1kWW1MlpF3S1YhKAvKz/luI+Qk4gVpnFQhmtckt8aKf+JWbiz gkUSTwJcNgBJm4i0qyiegzSEi832aTY7xskX0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=EsCLv5RJw6Gv8sRKJGjN8WsgRY3iuo6BT/QeLfXfzxDVP3fuQ/sFu06kiWJ3ODu3NQ Ueh2HZpG/ki1d8y/0FVFNlttLG24mNQb9vsfp7Qf6GL1iYNW3pbbRWbhI6nNiDTwRl/g w2jJeXW6aXL73k7vB/U1FyH0TBLm671Y+MY/A= MIME-Version: 1.0 Received: by 10.142.210.13 with SMTP id i13mr1298042wfg.68.1268300608399; Thu, 11 Mar 2010 01:43:28 -0800 (PST) In-Reply-To: References: Date: Thu, 11 Mar 2010 17:43:28 +0800 Message-ID: Subject: Re: Out of Memory error. From: Eric Yu To: cassandra-dev@incubator.apache.org Content-Type: multipart/alternative; boundary=000e0cd32eaa3b68e20481833fa3 --000e0cd32eaa3b68e20481833fa3 Content-Type: text/plain; charset=ISO-8859-1 try this if you use default cassandra.in.sh $ nodeprobe --host cass01 --port 8080 On Thu, Mar 11, 2010 at 3:20 PM, shirish wrote: > Hello, > > I managed to run two nodes on machines with IP address 192.168.0.6(cass01) > and 192.168.0.17(cass02). After a while when i did *nodeprobe --host cass01 > --port 9160 I get this messages on cass01 * > > INFO 12:35:58,809 Node /192.168.0.17 state jump to normal > java.lang.OutOfMemoryError: Java heap space > Dumping heap to java_pid3496.hprof ... > Heap dump file created [7632952 bytes in 0.233 secs] > ERROR 12:43:19,288 Fatal exception in thread Thread[pool-1-thread-3,5,main] > java.lang.OutOfMemoryError: Java heap space > at > > org.apache.thrift.protocol.TBinaryProtocol.readStringBody(TBinaryProtocol.java:296) > at > > org.apache.thrift.protocol.TBinaryProtocol.readMessageBegin(TBinaryProtocol.java:203) > at > > org.apache.cassandra.thrift.Cassandra$Processor.process(Cassandra.java:1103) > at > > org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:253) > at > > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) > at > > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) > at java.lang.Thread.run(Thread.java:636) > > and t*his one on cass02 * > > Error connecting to remote JMX agent! > java.io.IOException: Failed to retrieve RMIServer stub: > javax.naming.CommunicationException [Root exception is > java.rmi.ConnectIOException: error during JRMP connection establishment; > nested exception is: > java.io.EOFException] > at > javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:342) > at > > javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:267) > at org.apache.cassandra.tools.NodeProbe.connect(NodeProbe.java:105) > at org.apache.cassandra.tools.NodeProbe.(NodeProbe.java:81) > at org.apache.cassandra.tools.NodeCmd.main(NodeCmd.java:400) > Caused by: javax.naming.CommunicationException [Root exception is > java.rmi.ConnectIOException: error during JRMP connection establishment; > nested exception is: > java.io.EOFException] > at > com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:118) > at > > com.sun.jndi.toolkit.url.GenericURLContext.lookup(GenericURLContext.java:203) > at javax.naming.InitialContext.lookup(InitialContext.java:409) > at > > javax.management.remote.rmi.RMIConnector.findRMIServerJNDI(RMIConnector.java:1902) > at > > javax.management.remote.rmi.RMIConnector.findRMIServer(RMIConnector.java:1871) > at > javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:276) > ... 4 more > Caused by: java.rmi.ConnectIOException: error during JRMP connection > establishment; nested exception is: > java.io.EOFException > at > sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:304) > at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:202) > at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:340) > at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source) > at > com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:114) > ... 9 more > Caused by: java.io.EOFException > at java.io.DataInputStream.readByte(DataInputStream.java:267) > at > sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:246) > ... 13 more > > > > > where can I get to read more about such Exceptions in cassandra ? and what > might be the reason. > --000e0cd32eaa3b68e20481833fa3--