cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "paul cannon (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-4385) bug when trying to describe a cf in a pre cql3 case sensitive keyspace
Date Sat, 30 Jun 2012 20:40:44 GMT

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

paul cannon commented on CASSANDRA-4385:
----------------------------------------

(Pasting the contents of the gist for posterity.)

{noformat}
cqlsh:system> use Hastur;
Bad Request: Keyspace 'hastur' does not exist
cqlsh:system> use "Hastur";
cqlsh:"Hastur"> describe columnfamily lookupbykey;

Keyspace NotFoundException() not found.
cqlsh:"Hastur"> describe columnfamily LookupByKey;

Keyspace NotFoundException() not found.
cqlsh:"Hastur"> describe columnfamily "LookupByKey";

Keyspace NotFoundException() not found.

cqlsh:system> use system;
cqlsh:system> desc columnfamily NodeIdInfo;

CREATE COLUMNFAMILY NodeIdInfo (
  KEY blob PRIMARY KEY
) WITH
  comment='nodeId and their metadata' AND
  comparator='TimeUUIDType' AND
  read_repair_chance=0.000000 AND
  gc_grace_seconds=0 AND
  default_validation=blob AND
  min_compaction_threshold=4 AND
  max_compaction_threshold=32 AND
  replicate_on_write=True AND
  compaction_strategy_class='SizeTieredCompactionStrategy';
{noformat}
                
> bug when trying to describe a cf in a pre cql3 case sensitive keyspace
> ----------------------------------------------------------------------
>
>                 Key: CASSANDRA-4385
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4385
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Drivers
>    Affects Versions: 1.1.0
>         Environment: Linux, Hotspot JDK6, Cassandra 1.1.0 from tarball unmodified, stock
config.
>            Reporter: Al Tobey
>            Assignee: paul cannon
>            Priority: Minor
>              Labels: cqlsh
>
> I can't describe column families in my schema defined via cassandra-cli. Update also
seems to fail for the same CF's.
> CREATE KEYSPACE Hastur
>   with placement_strategy = 'org.apache.cassandra.locator.SimpleStrategy'
>   and strategy_options = {replication_factor:2};
> CREATE COLUMN FAMILY LookupByKey
>   with compaction_strategy = 'LeveledCompactionStrategy'
>   and compression_options = null;
> Then later, https://gist.github.com/3006886

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

        

Mime
View raw message