Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 46293 invoked from network); 24 Nov 2010 18:12:32 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 24 Nov 2010 18:12:32 -0000 Received: (qmail 55767 invoked by uid 500); 24 Nov 2010 18:13:00 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 55749 invoked by uid 500); 24 Nov 2010 18:13:00 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 55741 invoked by uid 99); 24 Nov 2010 18:13:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Nov 2010 18:13:00 +0000 X-ASF-Spam-Status: No, hits=4.4 required=10.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jeremy.hanna1234@gmail.com designates 209.85.212.44 as permitted sender) Received: from [209.85.212.44] (HELO mail-vw0-f44.google.com) (209.85.212.44) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Nov 2010 18:12:50 +0000 Received: by vws7 with SMTP id 7so11248vws.31 for ; Wed, 24 Nov 2010 10:12:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:mime-version :content-type:subject:date:in-reply-to:to:references:message-id :x-mailer; bh=Dc/5u8Db6QjPREDt+mZwCDE4tFgPptUREAS2KQzf1rc=; b=OBTzTAtucBUDf68w1QLaowgsry5FnSVk6aqP5I6VaZeQSxVWeOusn53KnMw8yzrpNx agKRfsV8IxPqYe5x8MmlE72rP2mV5p6saTRNdXY/+JCHtudh7Z/pvwwdyQLOAupVjihm VHyJtv01ODQW6wX97znXz/NEN4F1/2iF4WatE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:mime-version:content-type:subject:date:in-reply-to:to :references:message-id:x-mailer; b=v4tcsmaDvyfzOKTklmC3B6r5SXga2eOnk9lmzt/6yyUpOVSBa+Xu/XdXpE+PHSLB/N ID5mQrwuqDgjsPHjyjexyC0AbTH8NCI8vt4YiYmt3BedFCzUUknITDDhQeN1X8SuxLBf Uk1jUnKp9lvfLPP6WsR8FU/if8Zhkic4lcl+0= Received: by 10.220.172.193 with SMTP id m1mr2177027vcz.251.1290622348830; Wed, 24 Nov 2010 10:12:28 -0800 (PST) Received: from [10.1.229.162] ([64.39.5.119]) by mx.google.com with ESMTPS id c5sm2746569vby.2.2010.11.24.10.12.26 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 24 Nov 2010 10:12:27 -0800 (PST) From: Jeremy Hanna Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: multipart/alternative; boundary=Apple-Mail-20-930014007 Subject: Re: Cassandra won't start Java Issue Snow Leopard Date: Wed, 24 Nov 2010 12:12:22 -0600 In-Reply-To: To: user@cassandra.apache.org References: <178734E4-87DB-4CA8-A461-90FBD847A4CD@gmail.com> <10DA2D39-7492-47A2-8E16-FB34E6504A9F@gmail.com> Message-Id: <6AC562A8-02C3-4BF0-A8EC-EB9948FC173F@gmail.com> X-Mailer: Apple Mail (2.1082) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-20-930014007 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 I think it's just a classpath issue with os x. I've had it do that for = me as well, but it runs just fine from IntelliJ IDEA. I had thought my = own system was just somehow messed up. I'll do some checking and try to = respond to the thread again sometime today. On Nov 24, 2010, at 12:08 PM, Alberto Velandia wrote: > Then I guess it has something to do with the latest update of snow = leopard, what's weird is that If i run the cassandra_helper cassandra = with the cassandra ruby gem it works, perhaps it actually has something = to do with Thrift >=20 >=20 > On Nov 24, 2010, at 12:59 PM, Paul Targett wrote: >=20 >> I get the same problem. I've re-installed a number of times with = thrift and ensured all Java versions correct. >>=20 >> Install on Ubuntu and Centos works fine from same download. >>=20 >> PT >>=20 >> On 24 Nov 2010, at 17:54, Alberto Velandia wrote: >>=20 >>> I just was the email before hitting enter on compiling bjam, any = ideas? I tried the ./cassandra -f and It didn't work >>>=20 >>>=20 >>> On Nov 24, 2010, at 12:46 PM, Andr=E9 Fiedler wrote: >>>=20 >>>> ups, forget my last mail... that=B4s wrong... it=B4s an cassandra = failure... :/ >>>>=20 >>>> 2010/11/24 Norman Maurer >>>> Change in the bin Directory and run ./cassandra -f >>>>=20 >>>> Bye >>>> Norman >>>>=20 >>>> 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=3D"/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 >>>> > >>>> > >>>> > >>>>=20 >>>=20 >>=20 >>=20 >=20 --Apple-Mail-20-930014007 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=iso-8859-1 I = think it's just a classpath issue with os x.  I've had it do that = for me as well, but it runs just fine from IntelliJ IDEA.  I had = thought my own system was just somehow messed up.  I'll do some = checking and try to respond to the thread again sometime = today.

On Nov 24, 2010, at 12:08 PM, Alberto Velandia = wrote:

Then I guess it has = something to do with the latest update of snow leopard, what's weird is = that If i run the cassandra_helper cassandra with the cassandra ruby gem = it works, perhaps it actually has something to do with = Thrift


On Nov 24, 2010, at 12:59 PM, = Paul Targett wrote:

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=E9 Fiedler wrote:

ups, = forget my last mail... that=B4s wrong... it=B4s an cassandra failure... = :/

2010/11/24 Norman Maurer <norman@apache.org>
Change in the bin = Directory and run ./cassandra -f

Bye
Norman

2010/11/24, Alberto Velandia <betovelandia@gmail.com>:
=
> 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=3D"/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
>
>
>



=


=
= --Apple-Mail-20-930014007--