Re: Can't get Cassandra to work on MAC 10.6.5
Hi, just rebuilt from the source and all works now, many thanks. PT On 25 Nov 2010, at 16:18, Peter Schuller wrote: >> Exception in thread "main" java.lang.NoClassDefFoundError: >> org/apache/cassandra/thrift/CassandraDaemon >> Caused by: java.lang.ClassNotFoundException: >> org.apache.cassandra.thrift.CassandraDaemon > > Are you running from a checkout? Did you build it first? > > (I'm not sure whether that is where you'll bail if you didn't, just > throwing it out there.) > > -- > / Peter Schuller Many thanks, Paul Targett. Director. TBT - Information for better lives. m: 07850 241672 t: 01225 465331 This message is private and confidential. If you have received this message in error, please notify us and remove it from your system. Targett Business Technology Limited is a limited company registered in England and Wales. Registered number: 04543806. Registered office: Griffins Court, 24-32 London Road, Newbury, Berkshire, RG14 1JX.
Re: Cassandra won't start Java Issue Snow Leopard
I get the same problem. I've re-installed a number of times with thrift and ensured all Java versions correct. Install on Ubuntu and Centos works fine from same download. PT On 24 Nov 2010, at 17:54, Alberto Velandia wrote: > I just was the email before hitting enter on compiling bjam, any ideas? I > tried the ./cassandra -f and It didn't work > > > On Nov 24, 2010, at 12:46 PM, André Fiedler wrote: > >> ups, forget my last mail... that´s wrong... it´s an cassandra failure... :/ >> >> 2010/11/24 Norman Maurer >> Change in the bin Directory and run ./cassandra -f >> >> Bye >> Norman >> >> 2010/11/24, Alberto Velandia : >> > Hi I'm getting this error when i run bin/cassandra -f >> > >> > Exception in thread "main" java.lang.NoClassDefFoundError: >> > org/apache/cassandra/thrift/CassandraDaemon >> > Caused by: java.lang.ClassNotFoundException: >> > org.apache.cassandra.thrift.CassandraDaemon >> > at java.net.URLClassLoader$1.run(URLClassLoader.java:202) >> > at java.security.AccessController.doPrivileged(Native Method) >> > at java.net.URLClassLoader.findClass(URLClassLoader.java:190) >> > at java.lang.ClassLoader.loadClass(ClassLoader.java:307) >> > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) >> > at java.lang.ClassLoader.loadClass(ClassLoader.java:248) >> > >> > which seems to be a Java version issue, I've updated my ~/.profile to the >> > following: >> > >> > export >> > PATH="/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/bin:/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:$PATH" >> > [[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # This >> > loads RVM into a shell session. >> > >> > but I'm still getting the same error, I've also set the environment >> > variable >> > JAVA_HOME but I don't know If I did it right. >> > >> > can anyone help me? thx >> > >> > >> > >> >
Can't get Cassandra to work on MAC 10.6.5
Hi, I'm trying to get Cassandra to work on MAC 10.6.5 I'm getting the following error: Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/cassandra/thrift/CassandraDaemon Caused by: java.lang.ClassNotFoundException: org.apache.cassandra.thrift.CassandraDaemon at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) Thrift is installed on the machine and works fine. The JAVA_HOME is installed. Any help welcome. PT