cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Radim Kolar (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-3304) Missing fields in show schema output
Date Tue, 04 Oct 2011 12:53:34 GMT
Missing fields in show schema output
------------------------------------

                 Key: CASSANDRA-3304
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3304
             Project: Cassandra
          Issue Type: Bug
          Components: Core
    Affects Versions: 1.0.0
            Reporter: Radim Kolar
            Priority: Minor


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

        

Mime
View raw message