cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "koray sariteke (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-6009) can not get table info properly at cqlsh
Date Fri, 13 Sep 2013 07:31:57 GMT

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

koray sariteke commented on CASSANDRA-6009:
-------------------------------------------

here it is,
	
CREATE KEYSPACE demoks WITH replication = {
  'class': 'SimpleStrategy',
  'replication_factor': '1'
};

USE demoks;

CREATE TABLE demodb (
  id int,
  time text,
  price double,
  volume double,
  PRIMARY KEY (id, time)
) WITH compaction =
    { 'class' : 'LeveledCompactionStrategy',  'sstable_size_in_mb' : 10 };

                
> can not get table info properly at cqlsh
> ----------------------------------------
>
>                 Key: CASSANDRA-6009
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6009
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core, Tools
>         Environment: cassandra 2.0, jdk 7
>            Reporter: koray sariteke
>            Assignee: Aleksey Yeschenko
>
> upgrade cassandra from 1.2.6 to 1.2.9 first,
> then upgrade from 1.2.9 to 2.0.0 as documented at cassandra upgrade doc
> describe command is not giving table definition properly
> cqlsh:datadb> DESCRIBE KEYSPACE demoks ;
> CREATE KEYSPACE demoks WITH replication = {
>   'class': 'SimpleStrategy',
>   'replication_factor': '2'
> };
> USE demoks;
> CREATE TABLE demodb (
>   description text,
>   symbol text,
> list index out of range
>   PRIMARY KEY (cqlsh:datadb>

--
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