those aren't shipped with Cassandra.
On Thu, Apr 8, 2010 at 3:00 PM, Sonny Heer <sonnyh...@gmail.com> wrote: > Missing the commons logging and commons httpclient jars. Must be > using the the wrong jdk? > > On Thu, Apr 8, 2010 at 12:38 PM, Sonny Heer <sonnyh...@gmail.com> wrote: >> Is there other documentation on how to setup all the pieces? >> >> Currently I'm simply trying to test the example word_count, but will >> likely need to write other map/reduce programs over the cassandra data >> set. >> >> For this test I have one box (ubuntu) where i have moved cass .6 rc1 >> binary , and started the default configuration. >> >> I checked out the .6rc1 project code from svn. 'cd' to >> contrib/word_count and trying to run the sample. Is this the correct >> way to run contrib stuff? where does the hadoop cluster come in? >> >> On Thu, Apr 8, 2010 at 12:18 PM, Sonny Heer <sonnyh...@gmail.com> wrote: >>> Okay I moved everything to the ubuntu box: >>> >>> ~/dev/cassandra-0.6.0-rc1/contrib/word_count$ bin/word_count_setup >>> 10/04/08 11:15:10 INFO config.DatabaseDescriptor: Auto DiskAccessMode >>> determined to be standard >>> 10/04/08 11:15:10 WARN config.DatabaseDescriptor: KeysCachedFraction >>> is deprecated: use KeysCached instead. >>> 10/04/08 11:15:10 WARN config.DatabaseDescriptor: KeysCachedFraction >>> is deprecated: use KeysCached instead. >>> 10/04/08 11:15:10 INFO service.StorageService: Starting up client gossip >>> 10/04/08 11:15:10 INFO WordCountSetup: Sleeping 3000 >>> 10/04/08 11:15:11 INFO gms.Gossiper: Node /127.0.0.1 is now part of the >>> cluster >>> 10/04/08 11:15:12 INFO gms.Gossiper: InetAddress /127.0.0.1 is now UP >>> 10/04/08 11:15:13 INFO WordCountSetup: added text1 >>> 10/04/08 11:15:13 INFO WordCountSetup: added text2 >>> 10/04/08 11:15:14 INFO WordCountSetup: added text3 >>> >>> >>> ===================== >>> >>> ~/dev/cassandra-0.6.0-rc1/contrib/word_count$ bin/word_count >>> Exception in thread "main" java.lang.NoClassDefFoundError: >>> org/apache/commons/logging/LogFactory >>> at >>> org.apache.hadoop.conf.Configuration.<clinit>(Configuration.java:138) >>> at WordCount.main(Unknown Source) >>> Caused by: java.lang.ClassNotFoundException: >>> org.apache.commons.logging.LogFactory >>> at java.net.URLClassLoader$1.run(URLClassLoader.java:217) >>> at java.security.AccessController.doPrivileged(Native Method) >>> at java.net.URLClassLoader.findClass(URLClassLoader.java:205) >>> at java.lang.ClassLoader.loadClass(ClassLoader.java:319) >>> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294) >>> at java.lang.ClassLoader.loadClass(ClassLoader.java:264) >>> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:332) >>> ... 2 more >>> >> >