You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Eric Lubow (JIRA)" <ji...@apache.org> on 2012/05/23 17:56:41 UTC
[jira] [Commented] (CASSANDRA-3865) Cassandra-cli returns 'command
not found' instead of syntax error
[ https://issues.apache.org/jira/browse/CASSANDRA-3865?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13281691#comment-13281691 ]
Eric Lubow commented on CASSANDRA-3865:
---------------------------------------
This doesn't appear to be fixed.
Welcome to Cassandra CLI version 1.0.8
Type 'help;' or '?' for help.
Type 'quit;' or 'exit;' to quit.
[default@linkcurrent] create column family social_poll_deltas
... with column_type = 'Standard'
... and comparator = 'CompositeType(org.apache.cassandra.db.marshal.UTF8Type,org.apache.cassandra.db.marshal.UTF8Type,org.apache.cassandra.db.marshal.LongType)'
... and default_validation_class = 'UUIDType'
... and key_validation_class = 'UUIDType'
... and rows_cached = 0.0
... and row_cache_save_period = 0
... and row_cache_keys_to_save = 2147483647
... and keys_cached = 200000.0
... and key_cache_save_period = 14400
... and read_repair_chance = .25
... and gc_grace = 864000
... and min_compaction_threshold = 4
... and max_compaction_threshold = 32
... and replicate_on_write = true
... and row_cache_provider = 'SerializingCacheProvider'
... and compaction_strategy = 'org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy'
... and comment = 'Social poll totals and deltas ';
Command not found: `create column family social_poll_deltas with column_type = 'Standard' and comparator = 'CompositeType(org.apache.cassandra.db.marshal.UTF8Type,org.apache.cassandra.db.marshal.UTF8Type,org.apache.cassandra.db.marshal.LongType)' and default_validation_class = 'UUIDType' and key_validation_class = 'UUIDType' and rows_cached = 0.0 and row_cache_save_period = 0 and row_cache_keys_to_save = 2147483647 and keys_cached = 200000.0 and key_cache_save_period = 14400 and read_repair_chance = .25 and gc_grace = 864000 and min_compaction_threshold = 4 and max_compaction_threshold = 32 and replicate_on_write = true and row_cache_provider = 'SerializingCacheProvider' and compaction_strategy = 'org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy' and comment = 'Social poll totals and deltas ';`. Type 'help;' or '?' for help.
> Cassandra-cli returns 'command not found' instead of syntax error
> -----------------------------------------------------------------
>
> Key: CASSANDRA-3865
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3865
> Project: Cassandra
> Issue Type: Bug
> Components: Core
> Environment: DSE 1.0.5
> Reporter: Eric Lubow
> Priority: Trivial
> Labels: cassandra-cli
>
> When creating a column family from the output of 'show schema' with an index, there is a trailing comma after "index_type: 0," The return from this is a 'command not found' This is misleading because the command is found, there is just a syntax error.
> 'Command not found: `create column family $cfname ...`
--
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