cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksey Yeschenko (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-5750) CLI can show bad DESCRIBE for CQL3 CF if given the CF explicitly
Date Wed, 20 Nov 2013 21:40:38 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-5750?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Aleksey Yeschenko updated CASSANDRA-5750:
-----------------------------------------

    Reviewer: Aleksey Yeschenko

+1

> CLI can show bad DESCRIBE for CQL3 CF if given the CF explicitly
> ----------------------------------------------------------------
>
>                 Key: CASSANDRA-5750
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5750
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 1.2.7, 2.0.0
>            Reporter: Ryan McGuire
>            Assignee: Sylvain Lebresne
>            Priority: Minor
>             Fix For: 1.2.13
>
>         Attachments: 5750.txt
>
>
> The CLI omits CQL3 tables if you do a regular describe command. It also emits a nice
warning about it. However, if you do a describe with an explicit CF name, it does something
a bit unintuitive:
> {code}
> [default@ryan] describe r1;
> WARNING: CQL3 tables are intentionally omitted from 'describe' output.
> See https://issues.apache.org/jira/browse/CASSANDRA-4377 for details.
>     ColumnFamily: r1
>       Key Validation Class: org.apache.cassandra.db.marshal.Int32Type
>       Default column value validator: org.apache.cassandra.db.marshal.BytesType
>       Cells sorted by: org.apache.cassandra.db.marshal.CompositeType(org.apache.cassandra.db.marshal.UTF8Type)
>       GC grace seconds: 0
>       Compaction min/max thresholds: 0/0
>       Read repair chance: 0.0
>       DC Local Read repair chance: 0.0
>       Populate IO Cache on flush: false
>       Replicate on write: false
>       Caching: keys_only
>       Bloom Filter FP chance: default
>       Built indexes: []
>       Compaction Strategy: null
> {code}
> In this case it emitted the WARNING message, but it still showed the table anyway, and
many of the CF settings are incorrect because of this. Better to show nothing than incorrect
values.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message