[
https://issues.apache.org/jira/browse/CASSANDRA-1073?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12870961#action_12870961
]
Frank Du commented on CASSANDRA-1073:
-------------------------------------
Matt, it happens in some conditions. Based on experiments, it tends to occur
when I insert 3+ rows, and more columns. Below are some rows that result in the
exception all the time:
RowKey: fdu1
=> (column=name, value=Frank Du, timestamp=1274754157811000)
=> (column=city, value=NYC, timestamp=1274754122237000)
RowKey: fdu2
=> (column=name, value=FRANK, timestamp=1274754170971000)
RowKey: fdu3
=> (column=name, value=cassandra, timestamp=1274754183107000)
The steps are as described previously. I start to wonder if it is appropriate
to terminate cassandra this way, because it seems that some operation is missed
at the termination.
Best Regards,
Frank
> EOFException with Cassandra.Client.get_range_slices() API
> ---------------------------------------------------------
>
> Key: CASSANDRA-1073
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1073
> Project: Cassandra
> Issue Type: Bug
> Components: Core
> Affects Versions: 0.6
> Reporter: Frank Du
> Assignee: Matthew F. Dennis
> Fix For: 0.6.3
>
>
> Below is the snippet I tried to run. The keyspace is named 'Keyspac1', with
> only 1 column family named 'CF1'.
> ColumnParent cp = new ColumnParent("CF1");
>
> 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);
> Then an EOFException was spit out. For readability, it is included in the
> next comment.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.