You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Christian Spriegel (Created) (JIRA)" <ji...@apache.org> on 2011/10/16 18:10:12 UTC

[jira] [Created] (CASSANDRA-3368) 'show schema' in cli does not show compression_options

'show schema' in cli does not show compression_options
------------------------------------------------------

                 Key: CASSANDRA-3368
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3368
             Project: Cassandra
          Issue Type: Bug
          Components: Tools
    Affects Versions: 1.0.0
         Environment: Ubuntu Linux amd64
            Reporter: Christian Spriegel
            Priority: Trivial


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

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

        

[jira] [Commented] (CASSANDRA-3368) 'show schema' in cli does not show compression_options

Posted by "Brandon Williams (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-3368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13128533#comment-13128533 ] 

Brandon Williams commented on CASSANDRA-3368:
---------------------------------------------

+1
                
> 'show schema' in cli does not show compression_options
> ------------------------------------------------------
>
>                 Key: CASSANDRA-3368
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3368
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.0.0
>         Environment: Ubuntu Linux amd64
>            Reporter: Christian Spriegel
>            Assignee: Pavel Yaskevich
>            Priority: Trivial
>             Fix For: 1.0.1
>
>         Attachments: CASSANDRA-3368.patch
>
>
> 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

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

        

[jira] [Updated] (CASSANDRA-3368) 'show schema' in cli does not show compression_options

Posted by "Pavel Yaskevich (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-3368?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pavel Yaskevich updated CASSANDRA-3368:
---------------------------------------

    Attachment: CASSANDRA-3368.patch
    
> 'show schema' in cli does not show compression_options
> ------------------------------------------------------
>
>                 Key: CASSANDRA-3368
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3368
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.0.0
>         Environment: Ubuntu Linux amd64
>            Reporter: Christian Spriegel
>            Assignee: Pavel Yaskevich
>            Priority: Trivial
>             Fix For: 1.0.1
>
>         Attachments: CASSANDRA-3368.patch
>
>
> 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

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

        

[jira] [Assigned] (CASSANDRA-3368) 'show schema' in cli does not show compression_options

Posted by "Brandon Williams (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-3368?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brandon Williams reassigned CASSANDRA-3368:
-------------------------------------------

    Assignee: Pavel Yaskevich
    
> 'show schema' in cli does not show compression_options
> ------------------------------------------------------
>
>                 Key: CASSANDRA-3368
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3368
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.0.0
>         Environment: Ubuntu Linux amd64
>            Reporter: Christian Spriegel
>            Assignee: Pavel Yaskevich
>            Priority: Trivial
>
> 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

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