Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 63193 invoked from network); 24 Nov 2010 18:32:34 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 24 Nov 2010 18:32:34 -0000 Received: (qmail 89803 invoked by uid 500); 24 Nov 2010 18:33:04 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 89781 invoked by uid 500); 24 Nov 2010 18:33:04 -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 89772 invoked by uid 99); 24 Nov 2010 18:33:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Nov 2010 18:33:04 +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 (athena.apache.org: domain of jeremy.hanna1234@gmail.com designates 209.85.216.172 as permitted sender) Received: from [209.85.216.172] (HELO mail-qy0-f172.google.com) (209.85.216.172) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Nov 2010 18:32:56 +0000 Received: by qyk34 with SMTP id 34so4500289qyk.10 for ; Wed, 24 Nov 2010 10:32:35 -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=Q0ygE/mlmkLEywlJhdwlKMrIaV4kaRBkWmpHaLSdB5w=; b=O1SiyrvadHfMjvLmym/iVjxxv7Jh+ckgl0wf/yYu0SF7WhSJrljaL6MfqJxRRf0U0Y 6C9KaPGg5hWYaPS1IYSlwXAhxSpiAlURJUykLFitKpXWsTll/GvVfsvpMKde1KpE4ybC FYWyO9XkIsaPgbcE8SWThVTE4zchD69SI125s= 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=qVaWQHZhdcXHqq0VVs9zulDDmbiG+g0UElib4acPF+qD/2sLi6aRrd+6DbZy8Dp+h6 LD+Adq3mK9b7LMkt+eU8w5AKWl1v+CHiNVxrwzUsRVnv7o7r7XTey+T1/7KUR65JlhnP 8Or4XHmoeJvhF6sptwyXKpbFuYhFAi1wwwTjU= Received: by 10.224.212.133 with SMTP id gs5mr8040150qab.172.1290623555568; Wed, 24 Nov 2010 10:32:35 -0800 (PST) Received: from [10.1.229.162] ([64.39.5.119]) by mx.google.com with ESMTPS id mz11sm4571631qcb.27.2010.11.24.10.32.33 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 24 Nov 2010 10:32:34 -0800 (PST) From: Jeremy Hanna Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: multipart/alternative; boundary=Apple-Mail-23-931221935 Subject: Re: Cassandra won't start Java Issue Snow Leopard Date: Wed, 24 Nov 2010 12:32:30 -0600 In-Reply-To: <483868.37895.qm@web56907.mail.re3.yahoo.com> To: user@cassandra.apache.org References: <483868.37895.qm@web56907.mail.re3.yahoo.com> Message-Id: X-Mailer: Apple Mail (2.1082) --Apple-Mail-23-931221935 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 Hmmm, I tried with a fresh copy of beta3 and it works fine now. One = thing I had that was an issue is that in my .profile I had set a = CASSANDRA_HOME a while back and forgot to remove it. On Nov 24, 2010, at 12:17 PM, Eric Gilmore wrote: > For what it's worth, I had similar errors on a Windows 7 laptop with = 0.7.0 beta 3. Thought something must be wrong with my classpath, but an = installation of 0.6.8 worked fine. >=20 > --- On Wed, 11/24/10, Jeremy Hanna wrote: >=20 > From: Jeremy Hanna > Subject: Re: Cassandra won't start Java Issue Snow Leopard > To: user@cassandra.apache.org > Date: Wednesday, November 24, 2010, 10:12 AM >=20 > 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. >=20 > On Nov 24, 2010, at 12:08 PM, Alberto Velandia wrote: >=20 >> 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 >=20 --Apple-Mail-23-931221935 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=iso-8859-1 Hmmm, = I tried with a fresh copy of beta3 and it works fine now.  One = thing I had that was an issue is that in my .profile I had set a = CASSANDRA_HOME a while back and forgot to remove = it.

On Nov 24, 2010, at 12:17 PM, Eric Gilmore = wrote:

For = what it's worth, I had similar errors on a Windows 7 laptop with 0.7.0 = beta 3.  Thought something must be wrong with my classpath, but an = installation of 0.6.8 worked fine.

--- On Wed, 11/24/10, = Jeremy Hanna <jeremy.hanna1234@gmail.com&= gt; wrote:

From: Jeremy = Hanna <jeremy.hanna1234@gmail.com&= gt;
Subject: Re: Cassandra won't start Java Issue Snow Leopard
To: = user@cassandra.apache.orgDate: Wednesday, November 24, 2010, 10:12 AM

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@gm= ail.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-23-931221935--