You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jeremy Hanna (JIRA)" <ji...@apache.org> on 2012/11/04 03:45:12 UTC
[jira] [Created] (CASSANDRA-4907) Cassandra cli doesn't recognize
non-compact storage column families
Jeremy Hanna created CASSANDRA-4907:
---------------------------------------
Summary: Cassandra cli doesn't recognize non-compact storage column families
Key: CASSANDRA-4907
URL: https://issues.apache.org/jira/browse/CASSANDRA-4907
Project: Cassandra
Issue Type: Bug
Components: Core
Affects Versions: 1.2.0 beta 1
Reporter: Jeremy Hanna
To reproduce:
{code}
create keyspace foo with replication = {'class': 'SimpleStrategy', 'replication_factor': 1};
use foo;
CREATE TABLE clicks (
user_id text,
time timestamp,
url text,
PRIMARY KEY (user_id, time)
) WITH COMPACT STORAGE;
CREATE TABLE comments (
article_id uuid,
posted_at timestamp,
author text,
karma int,
content text,
PRIMARY KEY (article_id, posted_at)
);
{code}
Then go to the CLI and do 'show keyspaces;' and there will be the foo keyspace and the clicks column family but not the comments column family.
--
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
[jira] [Resolved] (CASSANDRA-4907) Cassandra cli doesn't recognize
non-compact storage column families
Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-4907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Ellis resolved CASSANDRA-4907.
---------------------------------------
Resolution: Not A Problem
We deliberate leave CFs that the cli (and cql3-ignorant clients in general) can't deal with out of describe_keyspace. (See CASSANDRA-4377.)
> Cassandra cli doesn't recognize non-compact storage column families
> -------------------------------------------------------------------
>
> Key: CASSANDRA-4907
> URL: https://issues.apache.org/jira/browse/CASSANDRA-4907
> Project: Cassandra
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.2.0 beta 1
> Reporter: Jeremy Hanna
>
> To reproduce, go to 'cqlsh -3' and enter:
> {code}
> create keyspace foo with replication = {'class': 'SimpleStrategy', 'replication_factor': 1};
> use foo;
> CREATE TABLE clicks (
> user_id text,
> time timestamp,
> url text,
> PRIMARY KEY (user_id, time)
> ) WITH COMPACT STORAGE;
> CREATE TABLE comments (
> article_id uuid,
> posted_at timestamp,
> author text,
> karma int,
> content text,
> PRIMARY KEY (article_id, posted_at)
> );
> {code}
> Then go to the CLI and do 'show keyspaces;' and there will be the foo keyspace and the clicks column family but not the comments column family.
--
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
[jira] [Commented] (CASSANDRA-4907) Cassandra cli doesn't recognize
non-compact storage column families
Posted by "Dave Brosius (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-4907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13490138#comment-13490138 ]
Dave Brosius commented on CASSANDRA-4907:
-----------------------------------------
even for simple cql-generated cf's that have a single primary key the cf has a componentIndex which makes it thrift incompatible.
> Cassandra cli doesn't recognize non-compact storage column families
> -------------------------------------------------------------------
>
> Key: CASSANDRA-4907
> URL: https://issues.apache.org/jira/browse/CASSANDRA-4907
> Project: Cassandra
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.2.0 beta 1
> Reporter: Jeremy Hanna
>
> To reproduce, go to 'cqlsh -3' and enter:
> {code}
> create keyspace foo with replication = {'class': 'SimpleStrategy', 'replication_factor': 1};
> use foo;
> CREATE TABLE clicks (
> user_id text,
> time timestamp,
> url text,
> PRIMARY KEY (user_id, time)
> ) WITH COMPACT STORAGE;
> CREATE TABLE comments (
> article_id uuid,
> posted_at timestamp,
> author text,
> karma int,
> content text,
> PRIMARY KEY (article_id, posted_at)
> );
> {code}
> Then go to the CLI and do 'show keyspaces;' and there will be the foo keyspace and the clicks column family but not the comments column family.
--
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
[jira] [Updated] (CASSANDRA-4907) Cassandra cli doesn't recognize
non-compact storage column families
Posted by "Jeremy Hanna (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-4907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jeremy Hanna updated CASSANDRA-4907:
------------------------------------
Description:
To reproduce, go to 'cqlsh -3' and enter:
{code}
create keyspace foo with replication = {'class': 'SimpleStrategy', 'replication_factor': 1};
use foo;
CREATE TABLE clicks (
user_id text,
time timestamp,
url text,
PRIMARY KEY (user_id, time)
) WITH COMPACT STORAGE;
CREATE TABLE comments (
article_id uuid,
posted_at timestamp,
author text,
karma int,
content text,
PRIMARY KEY (article_id, posted_at)
);
{code}
Then go to the CLI and do 'show keyspaces;' and there will be the foo keyspace and the clicks column family but not the comments column family.
was:
To reproduce:
{code}
create keyspace foo with replication = {'class': 'SimpleStrategy', 'replication_factor': 1};
use foo;
CREATE TABLE clicks (
user_id text,
time timestamp,
url text,
PRIMARY KEY (user_id, time)
) WITH COMPACT STORAGE;
CREATE TABLE comments (
article_id uuid,
posted_at timestamp,
author text,
karma int,
content text,
PRIMARY KEY (article_id, posted_at)
);
{code}
Then go to the CLI and do 'show keyspaces;' and there will be the foo keyspace and the clicks column family but not the comments column family.
> Cassandra cli doesn't recognize non-compact storage column families
> -------------------------------------------------------------------
>
> Key: CASSANDRA-4907
> URL: https://issues.apache.org/jira/browse/CASSANDRA-4907
> Project: Cassandra
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.2.0 beta 1
> Reporter: Jeremy Hanna
>
> To reproduce, go to 'cqlsh -3' and enter:
> {code}
> create keyspace foo with replication = {'class': 'SimpleStrategy', 'replication_factor': 1};
> use foo;
> CREATE TABLE clicks (
> user_id text,
> time timestamp,
> url text,
> PRIMARY KEY (user_id, time)
> ) WITH COMPACT STORAGE;
> CREATE TABLE comments (
> article_id uuid,
> posted_at timestamp,
> author text,
> karma int,
> content text,
> PRIMARY KEY (article_id, posted_at)
> );
> {code}
> Then go to the CLI and do 'show keyspaces;' and there will be the foo keyspace and the clicks column family but not the comments column family.
--
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