Issue with cassandra-cli "assume" command and custom types
----------------------------------------------------------

                 Key: CASSANDRA-4081
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4081
             Project: Cassandra
          Issue Type: Bug
    Affects Versions: 1.0.7
         Environment: Cassandra 1.0.7 on Mac OSX Lion
            Reporter: Drew Kutcharian


There seems to be an issue with cassandra-cli's assume command with a custom 
type. I get "Syntax error at position 35: missing EOF at '.'"

To make sure the issue is not with my custom type, I tried it with the built-in 
BytesType and got the same error:

[default@test] assume UserDetails validator as 
org.apache.cassandra.db.marshal.BytesType;
Syntax error at position 35: missing EOF at '.'

I also tried it with single and double quotes with no success:
[default@test] assume UserDetails validator as 
'org.apache.cassandra.db.marshal.BytesType';
Syntax error at position 32: mismatched input 
''org.apache.cassandra.db.marshal.BytesType'' expecting Identifier


Based on the output of "help assume" I should be able to just pass a fqn of a 
class.

> It is also valid to specify the fully-qualified class name to a class that
> extends org.apache.Cassandra.db.marshal.AbstractType.


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

        

Reply via email to