Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-3368

'show schema' in cli does not show compression_options

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 1.0.1
    • Legacy/Tools
    • None
    • Ubuntu Linux amd64

    • Low

    Description

      Hi,

      using the cassandra-cli command line tool, I realized that a 'show schema' does not print out the compression_options I specified when creating them.
      Both, the server and the cli tool, where version 1.0.0-rc2.

      Example:

      [default@Test] CREATE COLUMN FAMILY Response2 WITH key_validation_class=BytesType AND compression_options

      {sstable_compression:DeflateCompressor}

      ;

      [default@Test] show schema;
      create keyspace Test
      with placement_strategy = 'SimpleStrategy'
      and strategy_options = [

      {replication_factor : 2}

      ];
      use Test;
      create column family Response2
      with column_type = 'Standard'
      and comparator = 'BytesType'
      and default_validation_class = 'BytesType'
      and key_validation_class = 'BytesType'
      and rows_cached = 0.0
      and row_cache_save_period = 0
      and keys_cached = 200000.0
      and key_cache_save_period = 14400
      and read_repair_chance = 1.0
      and gc_grace = 864000
      and min_compaction_threshold = 4
      and max_compaction_threshold = 32
      and replicate_on_write = true
      and row_cache_provider = 'ConcurrentLinkedHashCacheProvider';

      Not really critical, but might be confusing for some people = me

      kind regards,
      Christian

      Attachments

        1. CASSANDRA-3368.patch
          1 kB
          Pavel Yaskevich

        Activity

          People

            xedin Pavel Yaskevich
            christianmovi Christian Spriegel
            Pavel Yaskevich
            Brandon Williams
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: