Configuration & development Guide
hi, Can anyone help me with the configuration of CASSANDRA..and also i would like to get a developers guide like java API for CASSANDRA tutorials... Please help me with your answers. I am using .6 version. And latter i will integrate with hadoop. -- -- With Love Lin N
compiling error in GCInpector.java, cassandra 0.6
Hi, I am using OS X 10.6.3 and Eclipse to compile the cassandra 0.6 code. Everything is fine but GCInpector.java and it says: DescriptionResourcePathLocationType Access restriction: The method getDuration() from the type GcInfo is not accessible due to restriction on required library /System/Library/Frameworks/ JavaVM.framework/Versions/1.6.0/Classes/classes.jarGCInspector.java /cassandra-0.6/src/java/org/apache/cassandra/serviceline 108Java Problem Any idea? Liangzhao
need help regarding Cassandra Setup in eclipse
hi i have started playing with Cassandra from couple of days. i downloaded its binary and configured it successfully now i want to contribute in this project but i m unable to configure its source code in eclipse. i followed same steps which were written on this page "http://wiki.apache.org/cassandra/RunningCassandraInEclipse"; but i m facing some issues. issue is... when i check out the code its directory structure looks like this... project-name | src -> java ->org -> apache ->cassandra but when i open any class its package statement looks like this... package org.apache.cassandra.auth; or any other package so here eclipse gives me error "*org.apache.cassandra.auth" does not match the expected package "java.org.apache.cassandra.auth*" i tired a lot but i m unable to resolve it. i hope u guys will resolve this issue. Thanks -jp
Re: need help regarding Cassandra Setup in eclipse
On Fri, 16 Apr 2010 18:17:48 +0500 bilal ahmed wrote: ba> hi ba> i have started playing with Cassandra from couple of days. i downloaded ba> its binary and configured it successfully now i want to contribute in this ba> project but i m unable to configure ba> its source code in eclipse. i followed same steps which were written on ba> this page "http://wiki.apache.org/cassandra/RunningCassandraInEclipse"; but ba> i m facing some issues. ba> issue is... ba> when i check out the code its directory structure looks like this... ba> project-name ba> | ba> src -> java ->org -> apache ->cassandra ba> but when i open any class its package statement looks like this... ba>package org.apache.cassandra.auth; or any other package ba> so here eclipse gives me error "*org.apache.cassandra.auth" does not match ba> the expected package "java.org.apache.cassandra.auth*" i tired a lot but i m ba> unable to resolve it. Your source folder should not be "src" but "src/java" You also need to add the "interface/thrift/gen-java" and "test/unit" source folders (only the former is necessary but the latter is good to have for code searches and to run the tests). Ted
Cassandra 0.5.1 slow down after doing a lot of inserts
Hi: We have build a storage system with 4 nodes in the cluster. We use the default configuration file, every node have 2*E5504 CPU, 8G memory and 6*1T Sata disk. The cluster stores about 600G data. We found that Cassandra 0.5.1 ALWAYS slow down after a lot of inserts. When it happens, CPU and Disk load are very low. We use "tpstats" nodetools and find that more than 300,000 row-mutations is still pending and the write speed is no more than 100~200 row-mutations per second. It also happens when Cassandra starts and replays a large commitlog file. So we must cost several hours to wait it finishs startup. The Faq of Cassandra tells that it is caused by GC? any other explaining? thanks a lot.
Re: compiling error in GCInpector.java, cassandra 0.6
Hi Liangzhao, For some reason, Eclipse believes there are access restrictions imposed on that class. After doing some googling, it seems the most common solution is to simply reload the standard Java APIs. To do this: 1) go to your build path settings for your cassandra project in Eclipse, and under the libraries tab, select "JRE System Library" and click the "Remove" button 2) re-add the JRE System Library using "Add Library" If you refresh the project after doing that, the problem should go away. -- Todd On Fri, Apr 16, 2010 at 6:14 AM, Liangzhao Zeng wrote: > Hi, > > I am using OS X 10.6.3 and Eclipse to compile the cassandra 0.6 code. > Everything is fine but GCInpector.java and it says: > > DescriptionResourcePathLocationType > Access restriction: The method getDuration() from the type GcInfo is not > accessible due to restriction on required library > /System/Library/Frameworks/ > JavaVM.framework/Versions/1.6.0/Classes/classes.jarGCInspector.java > /cassandra-0.6/src/java/org/apache/cassandra/serviceline 108Java > Problem > > > Any idea? > > Liangzhao >
Re: Cassandra 0.5.1 slow down after doing a lot of inserts
Cassandra often take >30 minutes to write about 300,000 row-mutations when startup and replaying commitlog! -- From: "Lu Ming" Sent: Friday, April 16, 2010 11:33 PM To: Subject: Cassandra 0.5.1 slow down after doing a lot of inserts Hi: We have build a storage system with 4 nodes in the cluster. We use the default configuration file, every node have 2*E5504 CPU, 8G memory and 6*1T Sata disk. The cluster stores about 600G data. We found that Cassandra 0.5.1 ALWAYS slow down after a lot of inserts. When it happens, CPU and Disk load are very low. We use "tpstats" nodetools and find that more than 300,000 row-mutations is still pending and the write speed is no more than 100~200 row-mutations per second. It also happens when Cassandra starts and replays a large commitlog file. So we must cost several hours to wait it finishs startup. The Faq of Cassandra tells that it is caused by GC? any other explaining? thanks a lot.
RE: compiling error in GCInpector.java, cassandra 0.6
Right click on your project (alt-enter), pick properties. Expand "Java Compiler" -> "Errors/Warnings" and find "Forbidden reference (access rules):" under section "Deprecated and restricted API". Current value is probably "Error", edit that and choose an appropriate level /Roger Schildmeijer -Original Message- From: Liangzhao Zeng [mailto:liangzhao.z...@gmail.com] Sent: den 16 april 2010 15:14 To: CASSANDRA-DEVELOPER Subject: compiling error in GCInpector.java, cassandra 0.6 Hi, I am using OS X 10.6.3 and Eclipse to compile the cassandra 0.6 code. Everything is fine but GCInpector.java and it says: DescriptionResourcePathLocationType Access restriction: The method getDuration() from the type GcInfo is not accessible due to restriction on required library /System/Library/Frameworks/ JavaVM.framework/Versions/1.6.0/Classes/classes.jarGCInspector.java /cassandra-0.6/src/java/org/apache/cassandra/serviceline 108Java Problem Any idea? Liangzhao
Re: Configuration & development Guide
I can think of no quicker resource than the wiki, which has answers and sample applications linked in its pages. http://wiki.apache.org/cassandra/GettingStarted :Denny On Fri, Apr 16, 2010 at 4:04 AM, Linton N wrote: > hi, > Can anyone help me with the configuration of CASSANDRA..and also i > would like to get a developers guide like java API for CASSANDRA > tutorials... Please help me with your answers. I am using .6 version. And > latter i will integrate with hadoop. > > -- > -- > With Love > Lin N >