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-767) Row keys should be byte[]s, not Strings
Date Thu, 15 Apr 2010 13:00:59 GMT

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

Hudson commented on CASSANDRA-767:
----------------------------------

Integrated in Cassandra #407 (See [http://hudson.zones.apache.org/hudson/job/Cassandra/407/])
    import and dead-code cleanup. Patch by Stu Hood, reviewed by Gary Dusbabek. CASSANDRA-767
use hex keys in sstable import/export. Patch by Stu Hood, reviewed by Gary Dusbabek. CASSANDRA-767
add ByteOrderedPartitioner. Patch by Stu Hood, reviewed by Gary Dusbabek. CASSANDRA-767
convert thrift to byte keys. Patch by Stu Hood, reviewed by Gary Dusbabek. CASSANDRA-767
byte for decorateKey and getToken in IPartitioner. Patch by Stu Hood, reviewed by Gary Dusbabek.
CASSANDRA-767
bump sstable version to c. remove utf-16 encoding. Patch by Stu Hood, reviewed by Gary Dusbabek.
CASSANDRA-767
convert IPartitioner disk key format to bytes. Patch by Stu Hood, reviewed by Gary Dusbabek.
CASSANDRA-767
extract read/write-Name. Patch by Stu Hood, reviewed by Gary Dusbabek. CASSANDRA-767
store bytes in DecoratedKey. Patch by Stu Hood, reviewed by Gary Dusbabek. CASSANDRA-767
implement a legacy sstable test.  Patch by Stu Hood, reviewed by Gary Dusbabek. CASSANDRA-767
increase test ram.  Patch by Stu Hood, reviewed by Gary Dusbabek. CASSANDRA-767
implement a compaction benchmark. Patch by Stu Hood, reviewed by Gary Dusbabek. CASSANDRA-767


> Row keys should be byte[]s, not Strings
> ---------------------------------------
>
>                 Key: CASSANDRA-767
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-767
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Stu Hood
>            Assignee: Stu Hood
>            Priority: Critical
>             Fix For: 0.7
>
>         Attachments: 0001-Implement-compaction-benchmark.patch, 0002-Implement-a-legacy-sstable-test.patch,
0003-Store-bytes-in-DecoratedKey-and-cleanup-dead-code.patch, 0004-Extract-read-writeName.patch,
0005-Convert-IPartitioner-disk-key-format-to-bytes.patch, 0006-Bump-SSTable-version-to-c-remove-utf16-encoding-from.patch
>
>
> This issue has come up numerous times, and we've dealt with a lot of pain because of
it: let's get it knocked out.
> Keys being Java Strings can make it painful to use Cassandra from other languages, encoding
binary data like integers as Strings is very inefficient, and there is a disconnect between
our column data types and the plain String treatment we give row keys.
> The key design decision that needs discussion is: Should we apply the column AbstractTypes
to row keys? If so, how do Partitioners change?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message