You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Joaquin Casares (Created) (JIRA)" <ji...@apache.org> on 2012/01/10 00:44:39 UTC
[jira] [Created] (CASSANDRA-3714) Show Schema; inserts an extra
comma in column_metadata
Show Schema; inserts an extra comma in column_metadata
------------------------------------------------------
Key: CASSANDRA-3714
URL: https://issues.apache.org/jira/browse/CASSANDRA-3714
Project: Cassandra
Issue Type: Bug
Reporter: Joaquin Casares
Fix For: 1.0.5
create column family inode
with column_type = 'Standard'
and comparator = 'DynamicCompositeType(t=>org.apache.cassandra.db.marshal.TimeUUIDType,s=>org.apache.cassandra.db.marshal.UTF8Type,b=>org.apache.cassandra.db.marshal.BytesType)'
and default_validation_class = 'BytesType'
and key_validation_class = 'BytesType'
and rows_cached = 0.0
and row_cache_save_period = 0
and row_cache_keys_to_save = 2147483647
and keys_cached = 1000000.0
and key_cache_save_period = 14400
and read_repair_chance = 1.0
and gc_grace = 60
and min_compaction_threshold = 4
and max_compaction_threshold = 32
and replicate_on_write = true
and row_cache_provider = 'ConcurrentLinkedHashCacheProvider'
and compaction_strategy = 'org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy'
and comment = 'Stores file meta data'
and column_metadata = [
{column_name : 'b@70617468',
validation_class : BytesType,
index_name : 'path',
index_type : 0,
},
{column_name : 'b@73656e74696e656c',
validation_class : BytesType,
index_name : 'sentinel',
index_type : 0,
},
{column_name : 'b@706172656e745f70617468',
validation_class : BytesType,
index_name : 'parent_path',
index_type : 0,
}];
That's that was outputted when I ran show schema. When I tried it on a new cluster, it failed since the commas after 'index_type: 0' were present.
Proposed fixes:
1. Allow trailing commas
2. Do not output trailing commas
--
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-3714) Show Schema; inserts an extra
comma in column_metadata
Posted by "Jonathan Ellis (Assigned) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-3714?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Ellis reassigned CASSANDRA-3714:
-----------------------------------------
Assignee: Yuki Morishita
> Show Schema; inserts an extra comma in column_metadata
> ------------------------------------------------------
>
> Key: CASSANDRA-3714
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3714
> Project: Cassandra
> Issue Type: Bug
> Reporter: Joaquin Casares
> Assignee: Yuki Morishita
> Fix For: 1.0.5
>
>
> create column family inode
> with column_type = 'Standard'
> and comparator = 'DynamicCompositeType(t=>org.apache.cassandra.db.marshal.TimeUUIDType,s=>org.apache.cassandra.db.marshal.UTF8Type,b=>org.apache.cassandra.db.marshal.BytesType)'
> and default_validation_class = 'BytesType'
> and key_validation_class = 'BytesType'
> and rows_cached = 0.0
> and row_cache_save_period = 0
> and row_cache_keys_to_save = 2147483647
> and keys_cached = 1000000.0
> and key_cache_save_period = 14400
> and read_repair_chance = 1.0
> and gc_grace = 60
> and min_compaction_threshold = 4
> and max_compaction_threshold = 32
> and replicate_on_write = true
> and row_cache_provider = 'ConcurrentLinkedHashCacheProvider'
> and compaction_strategy = 'org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy'
> and comment = 'Stores file meta data'
> and column_metadata = [
> {column_name : 'b@70617468',
> validation_class : BytesType,
> index_name : 'path',
> index_type : 0,
> },
> {column_name : 'b@73656e74696e656c',
> validation_class : BytesType,
> index_name : 'sentinel',
> index_type : 0,
> },
> {column_name : 'b@706172656e745f70617468',
> validation_class : BytesType,
> index_name : 'parent_path',
> index_type : 0,
> }];
> That's that was outputted when I ran show schema. When I tried it on a new cluster, it failed since the commas after 'index_type: 0' were present.
> Proposed fixes:
> 1. Allow trailing commas
> 2. Do not output trailing commas
--
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] [Issue Comment Edited] (CASSANDRA-3714) Show Schema; inserts
an extra comma in column_metadata
Posted by "Joaquin Casares (Issue Comment Edited) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-3714?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13182967#comment-13182967 ]
Joaquin Casares edited comment on CASSANDRA-3714 at 1/10/12 12:58 AM:
----------------------------------------------------------------------
Tested in 0.8.8 and saw this:
{noformat}
create column family inode
with column_type = 'Standard'
and comparator = 'DynamicCompositeType(t=>org.apache.cassandra.db.marshal.TimeUUIDType,b=>org.apache.cassandra.db.marshal.BytesType,s=>org.apache.cassandra.db.marshal.UTF8Type)'
and default_validation_class = 'BytesType'
and key_validation_class = 'BytesType'
and memtable_operations = 0.29062499999999997
and memtable_throughput = 62
and memtable_flush_after = 1440
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'
and column_metadata = [
{column_name : 'b@70617468',
validation_class : BytesType,
index_name : 'path',
index_type : 0},
{column_name : 'b@73656e74696e656c',
validation_class : BytesType,
index_name : 'sentinel',
index_type : 0},
{column_name : 'b@706172656e745f70617468',
validation_class : BytesType,
index_name : 'parent_path',
index_type : 0}];
{noformat}
0.8.8 is not affected.
Edit: Checked 0.8.8 and the cassandra-0.8 branch.
was (Author: j.casares):
Tested in 0.8.8 and saw this:
{noformat}
create column family inode
with column_type = 'Standard'
and comparator = 'DynamicCompositeType(t=>org.apache.cassandra.db.marshal.TimeUUIDType,b=>org.apache.cassandra.db.marshal.BytesType,s=>org.apache.cassandra.db.marshal.UTF8Type)'
and default_validation_class = 'BytesType'
and key_validation_class = 'BytesType'
and memtable_operations = 0.29062499999999997
and memtable_throughput = 62
and memtable_flush_after = 1440
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'
and column_metadata = [
{column_name : 'b@70617468',
validation_class : BytesType,
index_name : 'path',
index_type : 0},
{column_name : 'b@73656e74696e656c',
validation_class : BytesType,
index_name : 'sentinel',
index_type : 0},
{column_name : 'b@706172656e745f70617468',
validation_class : BytesType,
index_name : 'parent_path',
index_type : 0}];
{noformat}
0.8.8 is not affected.
> Show Schema; inserts an extra comma in column_metadata
> ------------------------------------------------------
>
> Key: CASSANDRA-3714
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3714
> Project: Cassandra
> Issue Type: Bug
> Reporter: Joaquin Casares
> Assignee: Yuki Morishita
> Priority: Trivial
> Fix For: 1.0.7
>
> Attachments: CASSANDRA-1.0-3714.txt
>
>
> create column family inode
> with column_type = 'Standard'
> and comparator = 'DynamicCompositeType(t=>org.apache.cassandra.db.marshal.TimeUUIDType,s=>org.apache.cassandra.db.marshal.UTF8Type,b=>org.apache.cassandra.db.marshal.BytesType)'
> and default_validation_class = 'BytesType'
> and key_validation_class = 'BytesType'
> and rows_cached = 0.0
> and row_cache_save_period = 0
> and row_cache_keys_to_save = 2147483647
> and keys_cached = 1000000.0
> and key_cache_save_period = 14400
> and read_repair_chance = 1.0
> and gc_grace = 60
> and min_compaction_threshold = 4
> and max_compaction_threshold = 32
> and replicate_on_write = true
> and row_cache_provider = 'ConcurrentLinkedHashCacheProvider'
> and compaction_strategy = 'org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy'
> and comment = 'Stores file meta data'
> and column_metadata = [
> {column_name : 'b@70617468',
> validation_class : BytesType,
> index_name : 'path',
> index_type : 0,
> },
> {column_name : 'b@73656e74696e656c',
> validation_class : BytesType,
> index_name : 'sentinel',
> index_type : 0,
> },
> {column_name : 'b@706172656e745f70617468',
> validation_class : BytesType,
> index_name : 'parent_path',
> index_type : 0,
> }];
> That's that was outputted when I ran show schema. When I tried it on a new cluster, it failed since the commas after 'index_type: 0' were present.
> Proposed fixes:
> 1. Allow trailing commas
> 2. Do not output trailing commas
--
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-3714) Show Schema; inserts an extra
comma in column_metadata
Posted by "Jonathan Ellis (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-3714?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Ellis updated CASSANDRA-3714:
--------------------------------------
Priority: Trivial (was: Major)
Fix Version/s: (was: 1.0.5)
1.0.7
0.8.10
> Show Schema; inserts an extra comma in column_metadata
> ------------------------------------------------------
>
> Key: CASSANDRA-3714
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3714
> Project: Cassandra
> Issue Type: Bug
> Reporter: Joaquin Casares
> Assignee: Yuki Morishita
> Priority: Trivial
> Fix For: 0.8.10, 1.0.7
>
>
> create column family inode
> with column_type = 'Standard'
> and comparator = 'DynamicCompositeType(t=>org.apache.cassandra.db.marshal.TimeUUIDType,s=>org.apache.cassandra.db.marshal.UTF8Type,b=>org.apache.cassandra.db.marshal.BytesType)'
> and default_validation_class = 'BytesType'
> and key_validation_class = 'BytesType'
> and rows_cached = 0.0
> and row_cache_save_period = 0
> and row_cache_keys_to_save = 2147483647
> and keys_cached = 1000000.0
> and key_cache_save_period = 14400
> and read_repair_chance = 1.0
> and gc_grace = 60
> and min_compaction_threshold = 4
> and max_compaction_threshold = 32
> and replicate_on_write = true
> and row_cache_provider = 'ConcurrentLinkedHashCacheProvider'
> and compaction_strategy = 'org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy'
> and comment = 'Stores file meta data'
> and column_metadata = [
> {column_name : 'b@70617468',
> validation_class : BytesType,
> index_name : 'path',
> index_type : 0,
> },
> {column_name : 'b@73656e74696e656c',
> validation_class : BytesType,
> index_name : 'sentinel',
> index_type : 0,
> },
> {column_name : 'b@706172656e745f70617468',
> validation_class : BytesType,
> index_name : 'parent_path',
> index_type : 0,
> }];
> That's that was outputted when I ran show schema. When I tried it on a new cluster, it failed since the commas after 'index_type: 0' were present.
> Proposed fixes:
> 1. Allow trailing commas
> 2. Do not output trailing commas
--
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] [Issue Comment Edited] (CASSANDRA-3714) Show Schema; inserts
an extra comma in column_metadata
Posted by "Joaquin Casares (Issue Comment Edited) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-3714?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13182962#comment-13182962 ]
Joaquin Casares edited comment on CASSANDRA-3714 at 1/10/12 12:44 AM:
----------------------------------------------------------------------
Deleting comment. Wrong window. :)
was (Author: j.casares):
As seen by https://support.datastax.com/tickets/1376 today.
> Show Schema; inserts an extra comma in column_metadata
> ------------------------------------------------------
>
> Key: CASSANDRA-3714
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3714
> Project: Cassandra
> Issue Type: Bug
> Reporter: Joaquin Casares
> Assignee: Yuki Morishita
> Priority: Trivial
> Fix For: 0.8.10, 1.0.7
>
>
> create column family inode
> with column_type = 'Standard'
> and comparator = 'DynamicCompositeType(t=>org.apache.cassandra.db.marshal.TimeUUIDType,s=>org.apache.cassandra.db.marshal.UTF8Type,b=>org.apache.cassandra.db.marshal.BytesType)'
> and default_validation_class = 'BytesType'
> and key_validation_class = 'BytesType'
> and rows_cached = 0.0
> and row_cache_save_period = 0
> and row_cache_keys_to_save = 2147483647
> and keys_cached = 1000000.0
> and key_cache_save_period = 14400
> and read_repair_chance = 1.0
> and gc_grace = 60
> and min_compaction_threshold = 4
> and max_compaction_threshold = 32
> and replicate_on_write = true
> and row_cache_provider = 'ConcurrentLinkedHashCacheProvider'
> and compaction_strategy = 'org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy'
> and comment = 'Stores file meta data'
> and column_metadata = [
> {column_name : 'b@70617468',
> validation_class : BytesType,
> index_name : 'path',
> index_type : 0,
> },
> {column_name : 'b@73656e74696e656c',
> validation_class : BytesType,
> index_name : 'sentinel',
> index_type : 0,
> },
> {column_name : 'b@706172656e745f70617468',
> validation_class : BytesType,
> index_name : 'parent_path',
> index_type : 0,
> }];
> That's that was outputted when I ran show schema. When I tried it on a new cluster, it failed since the commas after 'index_type: 0' were present.
> Proposed fixes:
> 1. Allow trailing commas
> 2. Do not output trailing commas
--
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-3714) Show Schema; inserts an extra
comma in column_metadata
Posted by "Jonathan Ellis (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-3714?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Ellis updated CASSANDRA-3714:
--------------------------------------
Reviewer: xedin
Labels: cli (was: )
> Show Schema; inserts an extra comma in column_metadata
> ------------------------------------------------------
>
> Key: CASSANDRA-3714
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3714
> Project: Cassandra
> Issue Type: Bug
> Reporter: Joaquin Casares
> Assignee: Yuki Morishita
> Priority: Trivial
> Labels: cli
> Fix For: 1.0.7
>
> Attachments: CASSANDRA-1.0-3714.txt
>
>
> create column family inode
> with column_type = 'Standard'
> and comparator = 'DynamicCompositeType(t=>org.apache.cassandra.db.marshal.TimeUUIDType,s=>org.apache.cassandra.db.marshal.UTF8Type,b=>org.apache.cassandra.db.marshal.BytesType)'
> and default_validation_class = 'BytesType'
> and key_validation_class = 'BytesType'
> and rows_cached = 0.0
> and row_cache_save_period = 0
> and row_cache_keys_to_save = 2147483647
> and keys_cached = 1000000.0
> and key_cache_save_period = 14400
> and read_repair_chance = 1.0
> and gc_grace = 60
> and min_compaction_threshold = 4
> and max_compaction_threshold = 32
> and replicate_on_write = true
> and row_cache_provider = 'ConcurrentLinkedHashCacheProvider'
> and compaction_strategy = 'org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy'
> and comment = 'Stores file meta data'
> and column_metadata = [
> {column_name : 'b@70617468',
> validation_class : BytesType,
> index_name : 'path',
> index_type : 0,
> },
> {column_name : 'b@73656e74696e656c',
> validation_class : BytesType,
> index_name : 'sentinel',
> index_type : 0,
> },
> {column_name : 'b@706172656e745f70617468',
> validation_class : BytesType,
> index_name : 'parent_path',
> index_type : 0,
> }];
> That's that was outputted when I ran show schema. When I tried it on a new cluster, it failed since the commas after 'index_type: 0' were present.
> Proposed fixes:
> 1. Allow trailing commas
> 2. Do not output trailing commas
--
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-3714) Show Schema; inserts an extra
comma in column_metadata
Posted by "Joaquin Casares (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-3714?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13182967#comment-13182967 ]
Joaquin Casares commented on CASSANDRA-3714:
--------------------------------------------
Tested in 0.8.8 and saw this:
{noformat}
create column family inode
with column_type = 'Standard'
and comparator = 'DynamicCompositeType(t=>org.apache.cassandra.db.marshal.TimeUUIDType,b=>org.apache.cassandra.db.marshal.BytesType,s=>org.apache.cassandra.db.marshal.UTF8Type)'
and default_validation_class = 'BytesType'
and key_validation_class = 'BytesType'
and memtable_operations = 0.29062499999999997
and memtable_throughput = 62
and memtable_flush_after = 1440
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'
and column_metadata = [
{column_name : 'b@70617468',
validation_class : BytesType,
index_name : 'path',
index_type : 0},
{column_name : 'b@73656e74696e656c',
validation_class : BytesType,
index_name : 'sentinel',
index_type : 0},
{column_name : 'b@706172656e745f70617468',
validation_class : BytesType,
index_name : 'parent_path',
index_type : 0}];
{noformat}
0.8.8 is not affected.
> Show Schema; inserts an extra comma in column_metadata
> ------------------------------------------------------
>
> Key: CASSANDRA-3714
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3714
> Project: Cassandra
> Issue Type: Bug
> Reporter: Joaquin Casares
> Assignee: Yuki Morishita
> Priority: Trivial
> Fix For: 0.8.10, 1.0.7
>
> Attachments: CASSANDRA-1.0-3714.txt
>
>
> create column family inode
> with column_type = 'Standard'
> and comparator = 'DynamicCompositeType(t=>org.apache.cassandra.db.marshal.TimeUUIDType,s=>org.apache.cassandra.db.marshal.UTF8Type,b=>org.apache.cassandra.db.marshal.BytesType)'
> and default_validation_class = 'BytesType'
> and key_validation_class = 'BytesType'
> and rows_cached = 0.0
> and row_cache_save_period = 0
> and row_cache_keys_to_save = 2147483647
> and keys_cached = 1000000.0
> and key_cache_save_period = 14400
> and read_repair_chance = 1.0
> and gc_grace = 60
> and min_compaction_threshold = 4
> and max_compaction_threshold = 32
> and replicate_on_write = true
> and row_cache_provider = 'ConcurrentLinkedHashCacheProvider'
> and compaction_strategy = 'org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy'
> and comment = 'Stores file meta data'
> and column_metadata = [
> {column_name : 'b@70617468',
> validation_class : BytesType,
> index_name : 'path',
> index_type : 0,
> },
> {column_name : 'b@73656e74696e656c',
> validation_class : BytesType,
> index_name : 'sentinel',
> index_type : 0,
> },
> {column_name : 'b@706172656e745f70617468',
> validation_class : BytesType,
> index_name : 'parent_path',
> index_type : 0,
> }];
> That's that was outputted when I ran show schema. When I tried it on a new cluster, it failed since the commas after 'index_type: 0' were present.
> Proposed fixes:
> 1. Allow trailing commas
> 2. Do not output trailing commas
--
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-3714) Show Schema; inserts an extra
comma in column_metadata
Posted by "Joaquin Casares (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-3714?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joaquin Casares updated CASSANDRA-3714:
---------------------------------------
Fix Version/s: (was: 0.8.10)
> Show Schema; inserts an extra comma in column_metadata
> ------------------------------------------------------
>
> Key: CASSANDRA-3714
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3714
> Project: Cassandra
> Issue Type: Bug
> Reporter: Joaquin Casares
> Assignee: Yuki Morishita
> Priority: Trivial
> Fix For: 1.0.7
>
> Attachments: CASSANDRA-1.0-3714.txt
>
>
> create column family inode
> with column_type = 'Standard'
> and comparator = 'DynamicCompositeType(t=>org.apache.cassandra.db.marshal.TimeUUIDType,s=>org.apache.cassandra.db.marshal.UTF8Type,b=>org.apache.cassandra.db.marshal.BytesType)'
> and default_validation_class = 'BytesType'
> and key_validation_class = 'BytesType'
> and rows_cached = 0.0
> and row_cache_save_period = 0
> and row_cache_keys_to_save = 2147483647
> and keys_cached = 1000000.0
> and key_cache_save_period = 14400
> and read_repair_chance = 1.0
> and gc_grace = 60
> and min_compaction_threshold = 4
> and max_compaction_threshold = 32
> and replicate_on_write = true
> and row_cache_provider = 'ConcurrentLinkedHashCacheProvider'
> and compaction_strategy = 'org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy'
> and comment = 'Stores file meta data'
> and column_metadata = [
> {column_name : 'b@70617468',
> validation_class : BytesType,
> index_name : 'path',
> index_type : 0,
> },
> {column_name : 'b@73656e74696e656c',
> validation_class : BytesType,
> index_name : 'sentinel',
> index_type : 0,
> },
> {column_name : 'b@706172656e745f70617468',
> validation_class : BytesType,
> index_name : 'parent_path',
> index_type : 0,
> }];
> That's that was outputted when I ran show schema. When I tried it on a new cluster, it failed since the commas after 'index_type: 0' were present.
> Proposed fixes:
> 1. Allow trailing commas
> 2. Do not output trailing commas
--
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-3714) Show Schema; inserts an extra
comma in column_metadata
Posted by "Joaquin Casares (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-3714?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13182962#comment-13182962 ]
Joaquin Casares commented on CASSANDRA-3714:
--------------------------------------------
As seen by https://support.datastax.com/tickets/1376 today.
> Show Schema; inserts an extra comma in column_metadata
> ------------------------------------------------------
>
> Key: CASSANDRA-3714
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3714
> Project: Cassandra
> Issue Type: Bug
> Reporter: Joaquin Casares
> Assignee: Yuki Morishita
> Priority: Trivial
> Fix For: 0.8.10, 1.0.7
>
>
> create column family inode
> with column_type = 'Standard'
> and comparator = 'DynamicCompositeType(t=>org.apache.cassandra.db.marshal.TimeUUIDType,s=>org.apache.cassandra.db.marshal.UTF8Type,b=>org.apache.cassandra.db.marshal.BytesType)'
> and default_validation_class = 'BytesType'
> and key_validation_class = 'BytesType'
> and rows_cached = 0.0
> and row_cache_save_period = 0
> and row_cache_keys_to_save = 2147483647
> and keys_cached = 1000000.0
> and key_cache_save_period = 14400
> and read_repair_chance = 1.0
> and gc_grace = 60
> and min_compaction_threshold = 4
> and max_compaction_threshold = 32
> and replicate_on_write = true
> and row_cache_provider = 'ConcurrentLinkedHashCacheProvider'
> and compaction_strategy = 'org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy'
> and comment = 'Stores file meta data'
> and column_metadata = [
> {column_name : 'b@70617468',
> validation_class : BytesType,
> index_name : 'path',
> index_type : 0,
> },
> {column_name : 'b@73656e74696e656c',
> validation_class : BytesType,
> index_name : 'sentinel',
> index_type : 0,
> },
> {column_name : 'b@706172656e745f70617468',
> validation_class : BytesType,
> index_name : 'parent_path',
> index_type : 0,
> }];
> That's that was outputted when I ran show schema. When I tried it on a new cluster, it failed since the commas after 'index_type: 0' were present.
> Proposed fixes:
> 1. Allow trailing commas
> 2. Do not output trailing commas
--
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-3714) Show Schema; inserts an extra
comma in column_metadata
Posted by "Yuki Morishita (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-3714?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yuki Morishita updated CASSANDRA-3714:
--------------------------------------
Attachment: CASSANDRA-1.0-3714.txt
Confirmed bug only on cassandra-1.0 branch.
Patch attached to eliminate last comma from hash representation.
> Show Schema; inserts an extra comma in column_metadata
> ------------------------------------------------------
>
> Key: CASSANDRA-3714
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3714
> Project: Cassandra
> Issue Type: Bug
> Reporter: Joaquin Casares
> Assignee: Yuki Morishita
> Priority: Trivial
> Fix For: 0.8.10, 1.0.7
>
> Attachments: CASSANDRA-1.0-3714.txt
>
>
> create column family inode
> with column_type = 'Standard'
> and comparator = 'DynamicCompositeType(t=>org.apache.cassandra.db.marshal.TimeUUIDType,s=>org.apache.cassandra.db.marshal.UTF8Type,b=>org.apache.cassandra.db.marshal.BytesType)'
> and default_validation_class = 'BytesType'
> and key_validation_class = 'BytesType'
> and rows_cached = 0.0
> and row_cache_save_period = 0
> and row_cache_keys_to_save = 2147483647
> and keys_cached = 1000000.0
> and key_cache_save_period = 14400
> and read_repair_chance = 1.0
> and gc_grace = 60
> and min_compaction_threshold = 4
> and max_compaction_threshold = 32
> and replicate_on_write = true
> and row_cache_provider = 'ConcurrentLinkedHashCacheProvider'
> and compaction_strategy = 'org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy'
> and comment = 'Stores file meta data'
> and column_metadata = [
> {column_name : 'b@70617468',
> validation_class : BytesType,
> index_name : 'path',
> index_type : 0,
> },
> {column_name : 'b@73656e74696e656c',
> validation_class : BytesType,
> index_name : 'sentinel',
> index_type : 0,
> },
> {column_name : 'b@706172656e745f70617468',
> validation_class : BytesType,
> index_name : 'parent_path',
> index_type : 0,
> }];
> That's that was outputted when I ran show schema. When I tried it on a new cluster, it failed since the commas after 'index_type: 0' were present.
> Proposed fixes:
> 1. Allow trailing commas
> 2. Do not output trailing commas
--
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] [Issue Comment Edited] (CASSANDRA-3714) Show Schema; inserts
an extra comma in column_metadata
Posted by "Joaquin Casares (Issue Comment Edited) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-3714?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13182967#comment-13182967 ]
Joaquin Casares edited comment on CASSANDRA-3714 at 1/10/12 12:59 AM:
----------------------------------------------------------------------
Tested in 0.8.8 and saw this:
{noformat}
create column family inode
with column_type = 'Standard'
and comparator = 'DynamicCompositeType(t=>org.apache.cassandra.db.marshal.TimeUUIDType,b=>org.apache.cassandra.db.marshal.BytesType,s=>org.apache.cassandra.db.marshal.UTF8Type)'
and default_validation_class = 'BytesType'
and key_validation_class = 'BytesType'
and memtable_operations = 0.29062499999999997
and memtable_throughput = 62
and memtable_flush_after = 1440
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'
and column_metadata = [
{column_name : 'b@70617468',
validation_class : BytesType,
index_name : 'path',
index_type : 0},
{column_name : 'b@73656e74696e656c',
validation_class : BytesType,
index_name : 'sentinel',
index_type : 0},
{column_name : 'b@706172656e745f70617468',
validation_class : BytesType,
index_name : 'parent_path',
index_type : 0}];
{noformat}
0.8.8 is not affected.
Edit: Checked 0.8.9 and the cassandra-0.8 branch as well and saw the same thing.
was (Author: j.casares):
Tested in 0.8.8 and saw this:
{noformat}
create column family inode
with column_type = 'Standard'
and comparator = 'DynamicCompositeType(t=>org.apache.cassandra.db.marshal.TimeUUIDType,b=>org.apache.cassandra.db.marshal.BytesType,s=>org.apache.cassandra.db.marshal.UTF8Type)'
and default_validation_class = 'BytesType'
and key_validation_class = 'BytesType'
and memtable_operations = 0.29062499999999997
and memtable_throughput = 62
and memtable_flush_after = 1440
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'
and column_metadata = [
{column_name : 'b@70617468',
validation_class : BytesType,
index_name : 'path',
index_type : 0},
{column_name : 'b@73656e74696e656c',
validation_class : BytesType,
index_name : 'sentinel',
index_type : 0},
{column_name : 'b@706172656e745f70617468',
validation_class : BytesType,
index_name : 'parent_path',
index_type : 0}];
{noformat}
0.8.8 is not affected.
Edit: Checked 0.8.8 and the cassandra-0.8 branch.
> Show Schema; inserts an extra comma in column_metadata
> ------------------------------------------------------
>
> Key: CASSANDRA-3714
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3714
> Project: Cassandra
> Issue Type: Bug
> Reporter: Joaquin Casares
> Assignee: Yuki Morishita
> Priority: Trivial
> Fix For: 1.0.7
>
> Attachments: CASSANDRA-1.0-3714.txt
>
>
> create column family inode
> with column_type = 'Standard'
> and comparator = 'DynamicCompositeType(t=>org.apache.cassandra.db.marshal.TimeUUIDType,s=>org.apache.cassandra.db.marshal.UTF8Type,b=>org.apache.cassandra.db.marshal.BytesType)'
> and default_validation_class = 'BytesType'
> and key_validation_class = 'BytesType'
> and rows_cached = 0.0
> and row_cache_save_period = 0
> and row_cache_keys_to_save = 2147483647
> and keys_cached = 1000000.0
> and key_cache_save_period = 14400
> and read_repair_chance = 1.0
> and gc_grace = 60
> and min_compaction_threshold = 4
> and max_compaction_threshold = 32
> and replicate_on_write = true
> and row_cache_provider = 'ConcurrentLinkedHashCacheProvider'
> and compaction_strategy = 'org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy'
> and comment = 'Stores file meta data'
> and column_metadata = [
> {column_name : 'b@70617468',
> validation_class : BytesType,
> index_name : 'path',
> index_type : 0,
> },
> {column_name : 'b@73656e74696e656c',
> validation_class : BytesType,
> index_name : 'sentinel',
> index_type : 0,
> },
> {column_name : 'b@706172656e745f70617468',
> validation_class : BytesType,
> index_name : 'parent_path',
> index_type : 0,
> }];
> That's that was outputted when I ran show schema. When I tried it on a new cluster, it failed since the commas after 'index_type: 0' were present.
> Proposed fixes:
> 1. Allow trailing commas
> 2. Do not output trailing commas
--
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