Since it happened for a week, I have filed an issue for the error: CASSANDRA-1073.
Frank On Sat, May 8, 2010 at 11:49 PM, Frank Du <frank.d...@gmail.com> wrote: > Hi Brandon and Jonathan, > > Thank you for the help! The keyspace was created successfully! Another > issue emerged: Does client.get_range_slices(...) work in the trunk? > > Here is my code; > > ColumnParent cp = new ColumnParent("CF1"); > > // read entire columns of the CF > > SlicePredicate predicate = new SlicePredicate(); > > SliceRange sliceRange = new SliceRange(); > > sliceRange.setStart(new byte[0]); > > sliceRange.setFinish(new byte[0]); > > predicate.setSlice_range(sliceRange); > > KeyRange range = new KeyRange(10); > > range.setStart_key("".getBytes()); > > range.setEnd_key("".getBytes()); > > client.set_keyspace(keyspace); > > List<KeySlice> slices = client.get_range_slices(cp, predicate, range, > ConsistencyLevel.ONE); > > It ended up with error messages such as java.io.EOFException. Some snippets > below. Any idea how to fix it? > > > 10/05/08 22:30:18 ERROR concurrent.JMXEnabledThreadPoolExecutor: Error in > ThreadPoolExecutor > > java.lang.RuntimeException: java.lang.RuntimeException: > java.io.EOFException > > at org.apache.cassandra.service.RangeSliceVerbHandler.doVerb( > RangeSliceVerbHandler.java:54) > > at org.apache.cassandra.net.MessageDeliveryTask.run( > MessageDeliveryTask.java:41) > > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask( > ThreadPoolExecutor.java:886) > > at java.util.concurrent.ThreadPoolExecutor$Worker.run( > ThreadPoolExecutor.java:908) > > at java.lang.Thread.run(Thread.java:637) > > Caused by: java.lang.RuntimeException: java.io.EOFException > > at > org.apache.cassandra.db.filter.SSTableSliceIterator$ColumnGroupReader.pollColumn( > SSTableSliceIterator.java:200) > > at org.apache.cassandra.db.filter.SSTableSliceIterator.computeNext( > SSTableSliceIterator.java:133) > > at org.apache.cassandra.db.filter.SSTableSliceIterator.computeNext( > SSTableSliceIterator.java:1) > > at com.google.common.collect.AbstractIterator.tryToComputeNext( > AbstractIterator.java:135) > > > > > On Tue, May 4, 2010 at 5:44 PM, Jonathan Ellis <jbel...@gmail.com> wrote: > >> http://wiki.apache.org/cassandra/FAQ#no_keyspaces >> >> On Tue, May 4, 2010 at 4:42 PM, Frank Du <frank.d...@gmail.com> wrote: >> > Hey All, >> > >> > I updated to latest trunk code, and ran 'bin/cassandra -f'. A warning >> > message was spitted out: >> > >> > WARN 16:42:33, 729 Couldn't detect any schema definitions in local >> storage. >> > I hope you've got a plan. >> > >> > There are only system and definitions when I trying to show keyspaces. >> The >> > cassandra.yaml is from the trunk. >> > >> > I also tried hudson build artifacts on May 3/4. The same issue occurred. >> > Could somebody please provide a fix or workaround? I am trying to test >> some >> > code and need my own keysapce. :-) >> > >> > - Frank Du >> > >> >> >> >> -- >> Jonathan Ellis >> Project Chair, Apache Cassandra >> co-founder of Riptano, the source for professional Cassandra support >> http://riptano.com >> > >