From user-return-37100-apmail-cassandra-user-archive=cassandra.apache.org@cassandra.apache.org Sun Oct 13 06:00:57 2013 Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7B28710A28 for ; Sun, 13 Oct 2013 06:00:56 +0000 (UTC) Received: (qmail 91375 invoked by uid 500); 13 Oct 2013 06:00:47 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 91356 invoked by uid 500); 13 Oct 2013 06:00:47 -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 91321 invoked by uid 99); 13 Oct 2013 06:00:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 13 Oct 2013 06:00:45 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,MIME_QP_LONG_LINE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of blair@orcaware.com designates 108.0.197.17 as permitted sender) Received: from [108.0.197.17] (HELO orca4.orcaware.com) (108.0.197.17) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 13 Oct 2013 06:00:41 +0000 Received: from [192.168.1.250] (static-108-0-197-17.lsanca.fios.verizon.net [108.0.197.17]) (authenticated bits=0) by orca4.orcaware.com (8.14.4/8.14.4/Debian-2.1ubuntu2) with ESMTP id r9D60GoR020939 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Sat, 12 Oct 2013 23:00:18 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=orcaware.com; s=default; t=1381644019; bh=hOVjtTxU38d/zwtQLX/cerdniRACm5AreHHDrB00OmM=; h=References:In-Reply-To:From:Subject:Date:To:From; b=hSiBa2dxQWeTtC3H5gzHgseTaEdAoHDlFFob5b5LLwouGCpJL+2rMIedairEPskVQ y+rmjeWiGHpc2BhPnOenWpJPPAA5ESOj5z9lbxvph096PYPlDTsMY4PT4ad58lVK0p 4AeMCXCDrptO6y7NslnTPUWC5B0sREsYI2eBvg/Q= References: In-Reply-To: Mime-Version: 1.0 (1.0) Content-Type: multipart/alternative; boundary=Apple-Mail-38398E58-6CAF-4762-B1F0-185F181971E2 Message-Id: Content-Transfer-Encoding: 7bit X-Mailer: iPhone Mail (11A501) From: Blair Zajac Subject: Re: Unable to start server Date: Sat, 12 Oct 2013 23:00:16 -0700 To: "user@cassandra.apache.org" X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-38398E58-6CAF-4762-B1F0-185F181971E2 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable You have to use jdk 7, not 6, with Cassandra 2.0. Blair > On Oct 12, 2013, at 10:54 PM, =C3=90=CE=9E=E2=82=AC=CF=81@=D2=9C (=E0=B9=8F= =CC=AF=CD=A1=E0=B9=8F) wrote: >=20 > Just started with cassandra=20 >=20 > 1. Unpacked apache-cassandra-2.0.1 > 2. Created /var/lib/cassandra/ & /var/log/cassandra// > 3. Modified the owner from root to deepakkv > 4. deepakkv@ubuntu:~/ebay/softwares/apache-cassandra-2.0.1$ java -version > java version "1.6.0_45" > Java(TM) SE Runtime Environment (build 1.6.0_45-b06) > Java HotSpot(TM) 64-Bit Server VM (build 20.45-b01, mixed mode) > 5. Ubuntu > Linux ubuntu 3.2.0-29-generic #46-Ubuntu SMP Fri Jul 27 17:03:23 UTC 2012 x= 86_64 x86_64 x86_64 GNU/Linux > 6. bin/cassandra -f=20 >=20 > xss =3D -ea -javaagent:bin/../lib/jamm-0.2.5.jar -XX:+UseThreadPriorities= -XX:ThreadPriorityPolicy=3D42 -Xms2932M -Xmx2932M -Xmn600M -XX:+HeapDumpOnO= utOfMemoryError -Xss256k > Exception in thread "main" java.lang.UnsupportedClassVersionError: org/apa= che/cassandra/service/CassandraDaemon : Unsupported major.minor version 51.0= > at java.lang.ClassLoader.defineClass1(Native Method) > at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) > at java.lang.ClassLoader.defineClass(ClassLoader.java:615) > at java.security.SecureClassLoader.defineClass(SecureClassLoader.ja= va:141) > at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) > at java.net.URLClassLoader.access$000(URLClassLoader.java:58) > at java.net.URLClassLoader$1.run(URLClassLoader.java:197) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(URLClassLoader.java:190) > at java.lang.ClassLoader.loadClass(ClassLoader.java:306) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) > at java.lang.ClassLoader.loadClass(ClassLoader.java:247) > Could not find the main class: org.apache.cassandra.service.CassandraDaemo= n. Program will exit. >=20 >=20 > How to fix it ? >=20 > --=20 > Deepak >=20 --Apple-Mail-38398E58-6CAF-4762-B1F0-185F181971E2 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
You have to use jdk 7, not 6, with Cas= sandra 2.0.

Blair

On Oct 12, 2013, at 10:54 P= M, =C3=90=CE=9E=E2=82=AC=CF=81@=D2=9C (=E0=B9=8F=CC=AF=CD=A1=E0=B9=8F) <<= a href=3D"mailto:deepujain@gmail.com">deepujain@gmail.com> wrote:
=
Just started with cassandra <= /span>

<= div style=3D"font-family:arial,sans-serif;font-size:13px"> 1. Unpacked apache-cassandra-2.0.1
2. Created /var/lib/cassandra/ & /= var/log/cassandra//
3. Modified the owner from root to deepakkv
4. deepakkv@ubunt= u:~/ebay/softwares/apache-cassandra-2.0.1$ java -version
java version "1.6.0_45"
Java(TM) SE Runti= me Environment (build 1.6.0_45-b06)
Java HotSpot(TM) 64-Bit Server VM (build 20.45-b01, m= ixed mode)
5. Ubuntu
Linux ubuntu 3.2.0-= 29-generic #46-Ubuntu SMP Fri Jul 27 17:03:23 UTC 2012 x86_64 x86_64 x86_64 G= NU/Linux
6. bin/cass= andra -f 

xss =3D  -ea -javaagent:bin/../lib/jamm-0.2.5.jar -XX:+UseThreadPriori= ties -XX:ThreadPriorityPolicy=3D42 -Xms2932M -Xmx2932M -Xmn600M -XX:+HeapDum= pOnOutOfMemoryError -Xss256k
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/= apache/cassandra/service/CassandraDaemon : Unsupported major.minor version 5= 1.0
at java.lang= .ClassLoader.defineClass1(Native Method)
at java.lang.ClassLo= ader.defineClassCond(ClassLoader.java:631)
at java.lang.ClassLoader.defineClass(ClassLoader.jav= a:615)
at java.security.Sec= ureClassLoader.defineClass(SecureClassLoader.java:141)
at java.net.URLClassLoader.defineCla= ss(URLClassLoader.java:283)
at java.net.URLClass= Loader.access$000(URLClassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java= :197)
at java.security.Acc= essController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.= java:190)
at java.lang.ClassLo= ader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launch= er.java:301)
at java.lang.ClassLo= ader.loadClass(ClassLoader.java:247)
Could not find the main class= : org.apache.cassandra.service.CassandraDaemon.  Program will exit.


How to fix it ?

-- <= br>
Deepak

= --Apple-Mail-38398E58-6CAF-4762-B1F0-185F181971E2--