cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksey Yeschenko (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-5465) Shuffle fails to write to system.range_xfers
Date Sat, 13 Apr 2013 13:14:16 GMT

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

Aleksey Yeschenko commented on CASSANDRA-5465:
----------------------------------------------

This fix is wrong. BLOB is not there for a reason, and the reason is that in 2.0 'cafe' syntax
for blobs is no longer valid. You should fix shuffle instead to use 0xcafe syntax (and do
that against 1.2 as well, to avoid the deprecation warning in Cassandra logs).
                
> Shuffle fails to write to system.range_xfers
> --------------------------------------------
>
>                 Key: CASSANDRA-5465
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5465
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.0
>            Reporter: Dave Brosius
>            Priority: Minor
>             Fix For: 2.0
>
>         Attachments: 5465.txt
>
>
> On trunk, only, executing
> INSERT INTO system.range_xfers (token_bytes, requested_at) VALUES ('5e29cbe30503a9ec',
'now');
> fails with
> Exception in thread "main" java.lang.RuntimeException: InvalidRequestException(why:Invalid
STRING constant (5e29cbe30503a9ec) for token_bytes of type blob)
> 	at org.apache.cassandra.tools.Shuffle.executeCqlQuery(Shuffle.java:516)
> 	at org.apache.cassandra.tools.Shuffle.shuffle(Shuffle.java:359)
> 	at org.apache.cassandra.tools.Shuffle.main(Shuffle.java:681)
> patch validates blob->string

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message