You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (Commented) (JIRA)" <ji...@apache.org> on 2011/10/04 17:44:34 UTC

[jira] [Commented] (CASSANDRA-3304) Missing fields in show schema output

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

Jonathan Ellis commented on CASSANDRA-3304:
-------------------------------------------

+1
                
> Missing fields in show schema output
> ------------------------------------
>
>                 Key: CASSANDRA-3304
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3304
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.0.0
>            Reporter: Radim Kolar
>            Assignee: Pavel Yaskevich
>            Priority: Minor
>             Fix For: 1.0.0
>
>         Attachments: CASSANDRA-3304.patch
>
>
> if you compare output of these 2 commands:
> *show keyspaces*
> Keyspace: test:
>   Replication Strategy: org.apache.cassandra.locator.SimpleStrategy
>   Durable Writes: true
>     Options: [replication_factor:1]
>   Column Families:
>     ColumnFamily: sipdb
>     "phone calls routing information"
>       Key Validation Class: org.apache.cassandra.db.marshal.IntegerType
>       Default column value validator: org.apache.cassandra.db.marshal.BytesType
>       Columns sorted by: org.apache.cassandra.db.marshal.AsciiType
>       Row cache size / save period in seconds / keys to save : 0.0/0/all
>       Key cache size / save period in seconds: 0.0/0
>       GC grace seconds: 0
>       Compaction min/max thresholds: 4/32
>       Read repair chance: 0.0
>       Replicate on write: false
>       Built indexes: []
>       Column Metadata:
>         Column Name: kam
>           Validation Class: org.apache.cassandra.db.marshal.AsciiType
>       *Compaction Strategy: org.apache.cassandra.db.compaction.SizeTieredCompacti*
> *show schema*
> create column family sipdb
>   with column_type = 'Standard'
>   and comparator = 'AsciiType'
>   and default_validation_class = 'BytesType'
>   and key_validation_class = 'IntegerType'
>   and rows_cached = 0.0
>   and row_cache_save_period = 0
>   and keys_cached = 0.0
>   and key_cache_save_period = 0
>   and read_repair_chance = 0.0
>   and gc_grace = 0
>   and min_compaction_threshold = 4
>   and max_compaction_threshold = 32
>   and replicate_on_write = false
>   and row_cache_provider = 'ConcurrentLinkedHashCacheProvider'
>   and comment = 'phone calls routing information'
>   and column_metadata = [
>     {column_name : 'kam',
>     validation_class : AsciiType}];
> You will discover that show schema is missing: 1. compaction strategy. 2. how many keys to save

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