cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron Morton (JIRA)" <>
Subject [jira] Commented: (CASSANDRA-2009) Move relevant methods to ByteBufferUtil (and normalize on names)
Date Sun, 13 Mar 2011 09:20:59 GMT


Aaron Morton commented on CASSANDRA-2009:

I just noticed using 0.8 using the FBUtilities.hexToBytes(source) in BytesType.fromString()
means that in cassandra-cli the statement

set data['foo1']['bar']='baz';

will fail with 
org.apache.cassandra.db.marshal.MarshalException: cannot parse 'foo1' as hex bytes

It must now be
set data[ascii('foo1')]['bar']='baz';

Is this an unintended consequence or do we want that behavior in the cli?


> Move relevant methods to ByteBufferUtil (and normalize on names)
> ----------------------------------------------------------------
>                 Key: CASSANDRA-2009
>                 URL:
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Sylvain Lebresne
>            Assignee: Sylvain Lebresne
>            Priority: Trivial
>             Fix For: 0.7.1
>         Attachments: 0001-Move-and-rename-byteBufferToInt-and-toByteBuffer-int.patch,
0002-Move-method-to-read-a-BB-in-BBUtil-an-rename-to-matc.patch, 0003-Move-inputStream-to-BBUtil-and-change-clone-to-dupli.patch,
>   Original Estimate: 4h
>  Remaining Estimate: 4h
> A number of methods are in FBUtilities while they more naturally belong to
> ByteBufferUtil. Moreover, their naming convention conflict with some of the
> method already moved to ByteBufferUtil.

This message is automatically generated by JIRA.
For more information on JIRA, see:

View raw message