cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CASSANDRA-377) Cannot get_slice from CF defined with CompareWith="TimeUUIDType"
Date Thu, 20 Aug 2009 13:07:15 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12745431#action_12745431
] 

Hudson commented on CASSANDRA-377:
----------------------------------

Integrated in Cassandra #173 (See [http://hudson.zones.apache.org/hudson/job/Cassandra/173/])
    use the subcomparator when toStringing slice commands on subcolumns.  this exposes a couple
bugs: fix getString in non-string types to accept byte[0], and fix a test to send a long to
a LongType subcolumn.  patch by jbellis and Evan Weaver for 


> Cannot get_slice from CF defined with CompareWith="TimeUUIDType"
> ----------------------------------------------------------------
>
>                 Key: CASSANDRA-377
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-377
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>            Reporter: Evan Weaver
>            Assignee: Jonathan Ellis
>         Attachments: CASSANDRA-377.diff
>
>
>       <Keyspace Name="Multiblog">      
>         <KeysCachedFraction>0.01</KeysCachedFraction>
>         <ColumnFamily CompareWith="TimeUUIDType" Name="Blogs"/>
>         <ColumnFamily CompareWith="TimeUUIDType" Name="Comments"/>
>       </Keyspace>
> >> multiblog.insert(:Comments, "test", {UUID.new => 'I like this cat'})
> => nil
> >> multiblog.get(:Comments, "test")
> Thrift::ApplicationException: Thrift::ApplicationException
> Server said:
> DEBUG - get_slice_from
> ERROR - Internal error processing get_slice
> org.apache.cassandra.db.marshal.MarshalException: UUIDs must be exactly 16 bytes
> 	at org.apache.cassandra.db.marshal.TimeUUIDType.getString(TimeUUIDType.java:48)
> 	at org.apache.cassandra.db.SliceFromReadCommand.toString(SliceFromReadCommand.java:71)
> 	at java.lang.String.valueOf(String.java:2827)
> 	at java.lang.StringBuilder.append(StringBuilder.java:115)
> 	at org.apache.cassandra.service.StorageProxy.weakReadLocal(StorageProxy.java:602)
> 	at org.apache.cassandra.service.StorageProxy.readProtocol(StorageProxy.java:320)
> 	at org.apache.cassandra.service.CassandraServer.readColumnFamily(CassandraServer.java:92)
> 	at org.apache.cassandra.service.CassandraServer.getSlice(CassandraServer.java:173)
> 	at org.apache.cassandra.service.CassandraServer.get_slice(CassandraServer.java:213)
> 	at org.apache.cassandra.service.Cassandra$Processor$get_slice.process(Cassandra.java:572)
> 	at org.apache.cassandra.service.Cassandra$Processor.process(Cassandra.java:560)
> 	at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:252)
> 	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)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message