You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by mo...@gmail.com on 2009/07/09 19:04:48 UTC
problem running cassandra
I did set it up as the readme file instructed but i encountered this error,
Can you please suggest how i fix this
thanks
cassandra]$ bin/cassandra -f
Listening for transport dt_socket at address: 8888
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/cassandra/service/CassandraDaemon
Caused by: java.lang.ClassNotFoundException:
org.apache.cassandra.service.CassandraDaemon
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
Could not find the main class:
org.apache.cassandra.service.CassandraDaemon. Program will exit.
Re: problem running cassandra
Posted by mo...@gmail.com.
Can the person at Digg Share when they are releasing this idiomatic client.
thanks a lot
On Thu, Jul 9, 2009 at 1:26 PM, Jonathan Ellis <jb...@gmail.com> wrote:
> because it was (a) buggy and (b) trying to do too many things at once,
> all of which html was a poor fit for.
>
> you can generate a bare-bones python client with thrift; see
> http://wiki.apache.org/cassandra/ThriftInterface
>
> the Digg guys are working on a more idiomatic python client.
>
> On Thu, Jul 9, 2009 at 3:20 PM, <mo...@gmail.com> wrote:
> > why was the web interface removed?
> > Is there a simple python client for cassandra like python-couchdb
> > thanks a lot
> >
> > On Thu, Jul 9, 2009 at 12:25 PM, Jonathan Ellis <jb...@gmail.com>
> wrote:
> >>
> >> for 0.3 you can connect to the web interface on port 7002
> (configurable).
> >>
> >> In trunk we have removed the web interface in favor of JMX and
> >> nodeprobe; see http://wiki.apache.org/cassandra/GettingStarted,
> >> http://wiki.apache.org/cassandra/NodeProbe, and
> >> http://wiki.apache.org/cassandra/MemtableThresholds
> >>
> >> On Thu, Jul 9, 2009 at 1:00 PM, <mo...@gmail.com> wrote:
> >> > Hey jonathan
> >> > thanks a lot
> >> > fedora
> >> > I searched and found that the problem was i hadnt setup JAVA_HOME
> >> > once i set it up
> >> > it worked immediately
> >> > But i m trying to setup the cassandra web inerface. Can you show me
> how
> >> > to
> >> > setup cassandra
> >> > Thanks a lot
> >> >
> >> > On Thu, Jul 9, 2009 at 10:27 AM, Jonathan Ellis <jb...@gmail.com>
> >> > wrote:
> >> >>
> >> >> what version are you trying to run? on what platform?
> >> >>
> >> >> On Thu, Jul 9, 2009 at 12:04 PM, <mo...@gmail.com> wrote:
> >> >> > I did set it up as the readme file instructed but i encountered
> this
> >> >> > error,
> >> >> > Can you please suggest how i fix this
> >> >> > thanks
> >> >> >
> >> >> > cassandra]$ bin/cassandra -f
> >> >> > Listening for transport dt_socket at address: 8888
> >> >> > Exception in thread "main" java.lang.NoClassDefFoundError:
> >> >> > org/apache/cassandra/service/CassandraDaemon
> >> >> > Caused by: java.lang.ClassNotFoundException:
> >> >> > org.apache.cassandra.service.CassandraDaemon
> >> >> > at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
> >> >> > at java.security.AccessController.doPrivileged(Native
> Method)
> >> >> > at
> java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> >> >> > at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
> >> >> > at
> >> >> > sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
> >> >> > at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
> >> >> > at
> >> >> > java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
> >> >> > Could not find the main class:
> >> >> > org.apache.cassandra.service.CassandraDaemon. Program will exit.
> >> >> >
> >> >> >
> >> >
> >> >
> >> >
> >> > --
> >> > Bidegg worlds best auction site
> >> > http://bidegg.com
> >> >
> >
> >
> >
> > --
> > Bidegg worlds best auction site
> > http://bidegg.com
> >
>
--
Bidegg worlds best auction site
http://bidegg.com
Re: problem running cassandra
Posted by Jonathan Ellis <jb...@gmail.com>.
because it was (a) buggy and (b) trying to do too many things at once,
all of which html was a poor fit for.
you can generate a bare-bones python client with thrift; see
http://wiki.apache.org/cassandra/ThriftInterface
the Digg guys are working on a more idiomatic python client.
On Thu, Jul 9, 2009 at 3:20 PM, <mo...@gmail.com> wrote:
> why was the web interface removed?
> Is there a simple python client for cassandra like python-couchdb
> thanks a lot
>
> On Thu, Jul 9, 2009 at 12:25 PM, Jonathan Ellis <jb...@gmail.com> wrote:
>>
>> for 0.3 you can connect to the web interface on port 7002 (configurable).
>>
>> In trunk we have removed the web interface in favor of JMX and
>> nodeprobe; see http://wiki.apache.org/cassandra/GettingStarted,
>> http://wiki.apache.org/cassandra/NodeProbe, and
>> http://wiki.apache.org/cassandra/MemtableThresholds
>>
>> On Thu, Jul 9, 2009 at 1:00 PM, <mo...@gmail.com> wrote:
>> > Hey jonathan
>> > thanks a lot
>> > fedora
>> > I searched and found that the problem was i hadnt setup JAVA_HOME
>> > once i set it up
>> > it worked immediately
>> > But i m trying to setup the cassandra web inerface. Can you show me how
>> > to
>> > setup cassandra
>> > Thanks a lot
>> >
>> > On Thu, Jul 9, 2009 at 10:27 AM, Jonathan Ellis <jb...@gmail.com>
>> > wrote:
>> >>
>> >> what version are you trying to run? on what platform?
>> >>
>> >> On Thu, Jul 9, 2009 at 12:04 PM, <mo...@gmail.com> wrote:
>> >> > I did set it up as the readme file instructed but i encountered this
>> >> > error,
>> >> > Can you please suggest how i fix this
>> >> > thanks
>> >> >
>> >> > cassandra]$ bin/cassandra -f
>> >> > Listening for transport dt_socket at address: 8888
>> >> > Exception in thread "main" java.lang.NoClassDefFoundError:
>> >> > org/apache/cassandra/service/CassandraDaemon
>> >> > Caused by: java.lang.ClassNotFoundException:
>> >> > org.apache.cassandra.service.CassandraDaemon
>> >> > at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>> >> > at java.security.AccessController.doPrivileged(Native Method)
>> >> > at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>> >> > at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
>> >> > at
>> >> > sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>> >> > at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
>> >> > at
>> >> > java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
>> >> > Could not find the main class:
>> >> > org.apache.cassandra.service.CassandraDaemon. Program will exit.
>> >> >
>> >> >
>> >
>> >
>> >
>> > --
>> > Bidegg worlds best auction site
>> > http://bidegg.com
>> >
>
>
>
> --
> Bidegg worlds best auction site
> http://bidegg.com
>
Re: problem running cassandra
Posted by mo...@gmail.com.
why was the web interface removed?
Is there a simple python client for cassandra like python-couchdb
thanks a lot
On Thu, Jul 9, 2009 at 12:25 PM, Jonathan Ellis <jb...@gmail.com> wrote:
> for 0.3 you can connect to the web interface on port 7002 (configurable).
>
> In trunk we have removed the web interface in favor of JMX and
> nodeprobe; see http://wiki.apache.org/cassandra/GettingStarted,
> http://wiki.apache.org/cassandra/NodeProbe, and
> http://wiki.apache.org/cassandra/MemtableThresholds
>
> On Thu, Jul 9, 2009 at 1:00 PM, <mo...@gmail.com> wrote:
> > Hey jonathan
> > thanks a lot
> > fedora
> > I searched and found that the problem was i hadnt setup JAVA_HOME
> > once i set it up
> > it worked immediately
> > But i m trying to setup the cassandra web inerface. Can you show me how
> to
> > setup cassandra
> > Thanks a lot
> >
> > On Thu, Jul 9, 2009 at 10:27 AM, Jonathan Ellis <jb...@gmail.com>
> wrote:
> >>
> >> what version are you trying to run? on what platform?
> >>
> >> On Thu, Jul 9, 2009 at 12:04 PM, <mo...@gmail.com> wrote:
> >> > I did set it up as the readme file instructed but i encountered this
> >> > error,
> >> > Can you please suggest how i fix this
> >> > thanks
> >> >
> >> > cassandra]$ bin/cassandra -f
> >> > Listening for transport dt_socket at address: 8888
> >> > Exception in thread "main" java.lang.NoClassDefFoundError:
> >> > org/apache/cassandra/service/CassandraDaemon
> >> > Caused by: java.lang.ClassNotFoundException:
> >> > org.apache.cassandra.service.CassandraDaemon
> >> > at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
> >> > at java.security.AccessController.doPrivileged(Native Method)
> >> > at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> >> > at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
> >> > at
> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
> >> > at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
> >> > at
> java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
> >> > Could not find the main class:
> >> > org.apache.cassandra.service.CassandraDaemon. Program will exit.
> >> >
> >> >
> >
> >
> >
> > --
> > Bidegg worlds best auction site
> > http://bidegg.com
> >
>
--
Bidegg worlds best auction site
http://bidegg.com
Re: problem running cassandra
Posted by Jonathan Ellis <jb...@gmail.com>.
for 0.3 you can connect to the web interface on port 7002 (configurable).
In trunk we have removed the web interface in favor of JMX and
nodeprobe; see http://wiki.apache.org/cassandra/GettingStarted,
http://wiki.apache.org/cassandra/NodeProbe, and
http://wiki.apache.org/cassandra/MemtableThresholds
On Thu, Jul 9, 2009 at 1:00 PM, <mo...@gmail.com> wrote:
> Hey jonathan
> thanks a lot
> fedora
> I searched and found that the problem was i hadnt setup JAVA_HOME
> once i set it up
> it worked immediately
> But i m trying to setup the cassandra web inerface. Can you show me how to
> setup cassandra
> Thanks a lot
>
> On Thu, Jul 9, 2009 at 10:27 AM, Jonathan Ellis <jb...@gmail.com> wrote:
>>
>> what version are you trying to run? on what platform?
>>
>> On Thu, Jul 9, 2009 at 12:04 PM, <mo...@gmail.com> wrote:
>> > I did set it up as the readme file instructed but i encountered this
>> > error,
>> > Can you please suggest how i fix this
>> > thanks
>> >
>> > cassandra]$ bin/cassandra -f
>> > Listening for transport dt_socket at address: 8888
>> > Exception in thread "main" java.lang.NoClassDefFoundError:
>> > org/apache/cassandra/service/CassandraDaemon
>> > Caused by: java.lang.ClassNotFoundException:
>> > org.apache.cassandra.service.CassandraDaemon
>> > at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>> > at java.security.AccessController.doPrivileged(Native Method)
>> > at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>> > at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
>> > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>> > at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
>> > at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
>> > Could not find the main class:
>> > org.apache.cassandra.service.CassandraDaemon. Program will exit.
>> >
>> >
>
>
>
> --
> Bidegg worlds best auction site
> http://bidegg.com
>
Re: problem running cassandra
Posted by mo...@gmail.com.
Hey jonathan
thanks a lot
fedoraI searched and found that the problem was i hadnt setup JAVA_HOME
once i set it up
it worked immediately
But i m trying to setup the cassandra web inerface. Can you show me how to
setup cassandra
Thanks a lot
On Thu, Jul 9, 2009 at 10:27 AM, Jonathan Ellis <jb...@gmail.com> wrote:
> what version are you trying to run? on what platform?
>
> On Thu, Jul 9, 2009 at 12:04 PM, <mo...@gmail.com> wrote:
> > I did set it up as the readme file instructed but i encountered this
> error,
> > Can you please suggest how i fix this
> > thanks
> >
> > cassandra]$ bin/cassandra -f
> > Listening for transport dt_socket at address: 8888
> > Exception in thread "main" java.lang.NoClassDefFoundError:
> > org/apache/cassandra/service/CassandraDaemon
> > Caused by: java.lang.ClassNotFoundException:
> > org.apache.cassandra.service.CassandraDaemon
> > at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
> > at java.security.AccessController.doPrivileged(Native Method)
> > at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> > at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
> > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
> > at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
> > at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
> > Could not find the main class:
> > org.apache.cassandra.service.CassandraDaemon. Program will exit.
> >
> >
>
--
Bidegg worlds best auction site
http://bidegg.com
Re: problem running cassandra
Posted by Jonathan Ellis <jb...@gmail.com>.
what version are you trying to run? on what platform?
On Thu, Jul 9, 2009 at 12:04 PM, <mo...@gmail.com> wrote:
> I did set it up as the readme file instructed but i encountered this error,
> Can you please suggest how i fix this
> thanks
>
> cassandra]$ bin/cassandra -f
> Listening for transport dt_socket at address: 8888
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/cassandra/service/CassandraDaemon
> Caused by: java.lang.ClassNotFoundException:
> org.apache.cassandra.service.CassandraDaemon
> at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
> Could not find the main class:
> org.apache.cassandra.service.CassandraDaemon. Program will exit.
>
>