[jira] [Updated] (CASSANDRA-9064) [LeveledCompactionStrategy] cqlsh can't run cql produced by its own describe table statement

2020-02-18 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-9064?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated CASSANDRA-9064:
--
Labels: cqlsh pull-request-available  (was: cqlsh)

> [LeveledCompactionStrategy] cqlsh can't run cql produced by its own describe 
> table statement
> 
>
> Key: CASSANDRA-9064
> URL: https://issues.apache.org/jira/browse/CASSANDRA-9064
> Project: Cassandra
>  Issue Type: Bug
>  Components: Legacy/CQL
> Environment: cassandra 2.1.3 on mac os x
>Reporter: Sujeet Gholap
>Assignee: Benjamin Lerer
>Priority: Normal
>  Labels: cqlsh, pull-request-available
> Fix For: 2.1.8, 2.2.0 rc2
>
>
> Here's how to reproduce:
> 1) Create a table with LeveledCompactionStrategy
> CREATE keyspace foo WITH REPLICATION = {'class': 'SimpleStrategy', 
> 'replication_factor' : 3};
> CREATE TABLE foo.bar (
> spam text PRIMARY KEY
> ) WITH compaction = {'class': 'LeveledCompactionStrategy'};
> 2) Describe the table and save the output
> cqlsh -e "describe table foo.bar"
> Output should be something like
> CREATE TABLE foo.bar (
> spam text PRIMARY KEY
> ) WITH bloom_filter_fp_chance = 0.1
> AND caching = '{"keys":"ALL", "rows_per_partition":"NONE"}'
> AND comment = ''
> AND compaction = {'min_threshold': '4', 'class': 
> 'org.apache.cassandra.db.compaction.LeveledCompactionStrategy', 
> 'max_threshold': '32'}
> AND compression = {'sstable_compression': 
> 'org.apache.cassandra.io.compress.LZ4Compressor'}
> AND dclocal_read_repair_chance = 0.1
> AND default_time_to_live = 0
> AND gc_grace_seconds = 864000
> AND max_index_interval = 2048
> AND memtable_flush_period_in_ms = 0
> AND min_index_interval = 128
> AND read_repair_chance = 0.0
> AND speculative_retry = '99.0PERCENTILE';
> 3) Save the output to repro.cql
> 4) Drop the table foo.bar
> cqlsh -e "drop table foo.bar"
> 5) Run the create table statement we saved
> cqlsh -f "repro.cql"
> 6) Expected: normal execution without an error
> 7) Reality:
> ConfigurationException:  configuration issue] message="Properties specified [min_threshold, 
> max_threshold] are not understood by LeveledCompactionStrategy">



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Updated] (CASSANDRA-9064) [LeveledCompactionStrategy] cqlsh can't run cql produced by its own describe table statement

2015-12-07 Thread Benjamin Lerer (JIRA)

 [ 
https://issues.apache.org/jira/browse/CASSANDRA-9064?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Benjamin Lerer updated CASSANDRA-9064:
--
Component/s: CQL

> [LeveledCompactionStrategy] cqlsh can't run cql produced by its own describe 
> table statement
> 
>
> Key: CASSANDRA-9064
> URL: https://issues.apache.org/jira/browse/CASSANDRA-9064
> Project: Cassandra
>  Issue Type: Bug
>  Components: CQL
> Environment: cassandra 2.1.3 on mac os x
>Reporter: Sujeet Gholap
>Assignee: Benjamin Lerer
>  Labels: cqlsh
> Fix For: 2.1.8, 2.2.0 rc2
>
>
> Here's how to reproduce:
> 1) Create a table with LeveledCompactionStrategy
> CREATE keyspace foo WITH REPLICATION = {'class': 'SimpleStrategy', 
> 'replication_factor' : 3};
> CREATE TABLE foo.bar (
> spam text PRIMARY KEY
> ) WITH compaction = {'class': 'LeveledCompactionStrategy'};
> 2) Describe the table and save the output
> cqlsh -e "describe table foo.bar"
> Output should be something like
> CREATE TABLE foo.bar (
> spam text PRIMARY KEY
> ) WITH bloom_filter_fp_chance = 0.1
> AND caching = '{"keys":"ALL", "rows_per_partition":"NONE"}'
> AND comment = ''
> AND compaction = {'min_threshold': '4', 'class': 
> 'org.apache.cassandra.db.compaction.LeveledCompactionStrategy', 
> 'max_threshold': '32'}
> AND compression = {'sstable_compression': 
> 'org.apache.cassandra.io.compress.LZ4Compressor'}
> AND dclocal_read_repair_chance = 0.1
> AND default_time_to_live = 0
> AND gc_grace_seconds = 864000
> AND max_index_interval = 2048
> AND memtable_flush_period_in_ms = 0
> AND min_index_interval = 128
> AND read_repair_chance = 0.0
> AND speculative_retry = '99.0PERCENTILE';
> 3) Save the output to repro.cql
> 4) Drop the table foo.bar
> cqlsh -e "drop table foo.bar"
> 5) Run the create table statement we saved
> cqlsh -f "repro.cql"
> 6) Expected: normal execution without an error
> 7) Reality:
> ConfigurationException:  configuration issue] message="Properties specified [min_threshold, 
> max_threshold] are not understood by LeveledCompactionStrategy">



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (CASSANDRA-9064) [LeveledCompactionStrategy] cqlsh can't run cql produced by its own describe table statement

2015-06-30 Thread T Jake Luciani (JIRA)

 [ 
https://issues.apache.org/jira/browse/CASSANDRA-9064?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

T Jake Luciani updated CASSANDRA-9064:
--
Reviewer: T Jake Luciani  (was: Benjamin Lerer)

> [LeveledCompactionStrategy] cqlsh can't run cql produced by its own describe 
> table statement
> 
>
> Key: CASSANDRA-9064
> URL: https://issues.apache.org/jira/browse/CASSANDRA-9064
> Project: Cassandra
>  Issue Type: Bug
>  Components: Core
> Environment: cassandra 2.1.3 on mac os x
>Reporter: Sujeet Gholap
>Assignee: Benjamin Lerer
>  Labels: cqlsh
> Fix For: 2.2.0 rc2, 2.1.8
>
>
> Here's how to reproduce:
> 1) Create a table with LeveledCompactionStrategy
> CREATE keyspace foo WITH REPLICATION = {'class': 'SimpleStrategy', 
> 'replication_factor' : 3};
> CREATE TABLE foo.bar (
> spam text PRIMARY KEY
> ) WITH compaction = {'class': 'LeveledCompactionStrategy'};
> 2) Describe the table and save the output
> cqlsh -e "describe table foo.bar"
> Output should be something like
> CREATE TABLE foo.bar (
> spam text PRIMARY KEY
> ) WITH bloom_filter_fp_chance = 0.1
> AND caching = '{"keys":"ALL", "rows_per_partition":"NONE"}'
> AND comment = ''
> AND compaction = {'min_threshold': '4', 'class': 
> 'org.apache.cassandra.db.compaction.LeveledCompactionStrategy', 
> 'max_threshold': '32'}
> AND compression = {'sstable_compression': 
> 'org.apache.cassandra.io.compress.LZ4Compressor'}
> AND dclocal_read_repair_chance = 0.1
> AND default_time_to_live = 0
> AND gc_grace_seconds = 864000
> AND max_index_interval = 2048
> AND memtable_flush_period_in_ms = 0
> AND min_index_interval = 128
> AND read_repair_chance = 0.0
> AND speculative_retry = '99.0PERCENTILE';
> 3) Save the output to repro.cql
> 4) Drop the table foo.bar
> cqlsh -e "drop table foo.bar"
> 5) Run the create table statement we saved
> cqlsh -f "repro.cql"
> 6) Expected: normal execution without an error
> 7) Reality:
> ConfigurationException:  configuration issue] message="Properties specified [min_threshold, 
> max_threshold] are not understood by LeveledCompactionStrategy">



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (CASSANDRA-9064) [LeveledCompactionStrategy] cqlsh can't run cql produced by its own describe table statement

2015-06-24 Thread Tyler Hobbs (JIRA)

 [ 
https://issues.apache.org/jira/browse/CASSANDRA-9064?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tyler Hobbs updated CASSANDRA-9064:
---
Fix Version/s: (was: 2.1.x)
   2.1.8
   2.2.0 rc2

> [LeveledCompactionStrategy] cqlsh can't run cql produced by its own describe 
> table statement
> 
>
> Key: CASSANDRA-9064
> URL: https://issues.apache.org/jira/browse/CASSANDRA-9064
> Project: Cassandra
>  Issue Type: Bug
>  Components: Core
> Environment: cassandra 2.1.3 on mac os x
>Reporter: Sujeet Gholap
>Assignee: Adam Holmberg
>  Labels: cqlsh
> Fix For: 2.2.0 rc2, 2.1.8
>
>
> Here's how to reproduce:
> 1) Create a table with LeveledCompactionStrategy
> CREATE keyspace foo WITH REPLICATION = {'class': 'SimpleStrategy', 
> 'replication_factor' : 3};
> CREATE TABLE foo.bar (
> spam text PRIMARY KEY
> ) WITH compaction = {'class': 'LeveledCompactionStrategy'};
> 2) Describe the table and save the output
> cqlsh -e "describe table foo.bar"
> Output should be something like
> CREATE TABLE foo.bar (
> spam text PRIMARY KEY
> ) WITH bloom_filter_fp_chance = 0.1
> AND caching = '{"keys":"ALL", "rows_per_partition":"NONE"}'
> AND comment = ''
> AND compaction = {'min_threshold': '4', 'class': 
> 'org.apache.cassandra.db.compaction.LeveledCompactionStrategy', 
> 'max_threshold': '32'}
> AND compression = {'sstable_compression': 
> 'org.apache.cassandra.io.compress.LZ4Compressor'}
> AND dclocal_read_repair_chance = 0.1
> AND default_time_to_live = 0
> AND gc_grace_seconds = 864000
> AND max_index_interval = 2048
> AND memtable_flush_period_in_ms = 0
> AND min_index_interval = 128
> AND read_repair_chance = 0.0
> AND speculative_retry = '99.0PERCENTILE';
> 3) Save the output to repro.cql
> 4) Drop the table foo.bar
> cqlsh -e "drop table foo.bar"
> 5) Run the create table statement we saved
> cqlsh -f "repro.cql"
> 6) Expected: normal execution without an error
> 7) Reality:
> ConfigurationException:  configuration issue] message="Properties specified [min_threshold, 
> max_threshold] are not understood by LeveledCompactionStrategy">



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (CASSANDRA-9064) [LeveledCompactionStrategy] cqlsh can't run cql produced by its own describe table statement

2015-06-24 Thread Benjamin Lerer (JIRA)

 [ 
https://issues.apache.org/jira/browse/CASSANDRA-9064?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Benjamin Lerer updated CASSANDRA-9064:
--
Assignee: Adam Holmberg  (was: Benjamin Lerer)

> [LeveledCompactionStrategy] cqlsh can't run cql produced by its own describe 
> table statement
> 
>
> Key: CASSANDRA-9064
> URL: https://issues.apache.org/jira/browse/CASSANDRA-9064
> Project: Cassandra
>  Issue Type: Bug
>  Components: Core
> Environment: cassandra 2.1.3 on mac os x
>Reporter: Sujeet Gholap
>Assignee: Adam Holmberg
>  Labels: cqlsh
> Fix For: 2.1.x
>
>
> Here's how to reproduce:
> 1) Create a table with LeveledCompactionStrategy
> CREATE keyspace foo WITH REPLICATION = {'class': 'SimpleStrategy', 
> 'replication_factor' : 3};
> CREATE TABLE foo.bar (
> spam text PRIMARY KEY
> ) WITH compaction = {'class': 'LeveledCompactionStrategy'};
> 2) Describe the table and save the output
> cqlsh -e "describe table foo.bar"
> Output should be something like
> CREATE TABLE foo.bar (
> spam text PRIMARY KEY
> ) WITH bloom_filter_fp_chance = 0.1
> AND caching = '{"keys":"ALL", "rows_per_partition":"NONE"}'
> AND comment = ''
> AND compaction = {'min_threshold': '4', 'class': 
> 'org.apache.cassandra.db.compaction.LeveledCompactionStrategy', 
> 'max_threshold': '32'}
> AND compression = {'sstable_compression': 
> 'org.apache.cassandra.io.compress.LZ4Compressor'}
> AND dclocal_read_repair_chance = 0.1
> AND default_time_to_live = 0
> AND gc_grace_seconds = 864000
> AND max_index_interval = 2048
> AND memtable_flush_period_in_ms = 0
> AND min_index_interval = 128
> AND read_repair_chance = 0.0
> AND speculative_retry = '99.0PERCENTILE';
> 3) Save the output to repro.cql
> 4) Drop the table foo.bar
> cqlsh -e "drop table foo.bar"
> 5) Run the create table statement we saved
> cqlsh -f "repro.cql"
> 6) Expected: normal execution without an error
> 7) Reality:
> ConfigurationException:  configuration issue] message="Properties specified [min_threshold, 
> max_threshold] are not understood by LeveledCompactionStrategy">



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (CASSANDRA-9064) [LeveledCompactionStrategy] cqlsh can't run cql produced by its own describe table statement

2015-03-27 Thread Philip Thompson (JIRA)

 [ 
https://issues.apache.org/jira/browse/CASSANDRA-9064?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Philip Thompson updated CASSANDRA-9064:
---
Reproduced In: 2.1.3
Fix Version/s: 2.1.4
 Assignee: Benjamin Lerer
   Labels: cqlsh  (was: )

> [LeveledCompactionStrategy] cqlsh can't run cql produced by its own describe 
> table statement
> 
>
> Key: CASSANDRA-9064
> URL: https://issues.apache.org/jira/browse/CASSANDRA-9064
> Project: Cassandra
>  Issue Type: Bug
>  Components: Core
> Environment: cassandra 2.1.3 on mac os x
>Reporter: Sujeet Gholap
>Assignee: Benjamin Lerer
>  Labels: cqlsh
> Fix For: 2.1.4
>
>
> Here's how to reproduce:
> 1) Create a table with LeveledCompactionStrategy
> CREATE keyspace foo WITH REPLICATION = {'class': 'SimpleStrategy', 
> 'replication_factor' : 3};
> CREATE TABLE foo.bar (
> spam text PRIMARY KEY
> ) WITH compaction = {'class': 'LeveledCompactionStrategy'};
> 2) Describe the table and save the output
> cqlsh -e "describe table foo.bar"
> Output should be something like
> CREATE TABLE foo.bar (
> spam text PRIMARY KEY
> ) WITH bloom_filter_fp_chance = 0.1
> AND caching = '{"keys":"ALL", "rows_per_partition":"NONE"}'
> AND comment = ''
> AND compaction = {'min_threshold': '4', 'class': 
> 'org.apache.cassandra.db.compaction.LeveledCompactionStrategy', 
> 'max_threshold': '32'}
> AND compression = {'sstable_compression': 
> 'org.apache.cassandra.io.compress.LZ4Compressor'}
> AND dclocal_read_repair_chance = 0.1
> AND default_time_to_live = 0
> AND gc_grace_seconds = 864000
> AND max_index_interval = 2048
> AND memtable_flush_period_in_ms = 0
> AND min_index_interval = 128
> AND read_repair_chance = 0.0
> AND speculative_retry = '99.0PERCENTILE';
> 3) Save the output to repro.cql
> 4) Drop the table foo.bar
> cqlsh -e "drop table foo.bar"
> 5) Run the create table statement we saved
> cqlsh -f "repro.cql"
> 6) Expected: normal execution without an error
> 7) Reality:
> ConfigurationException:  configuration issue] message="Properties specified [min_threshold, 
> max_threshold] are not understood by LeveledCompactionStrategy">



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (CASSANDRA-9064) [LeveledCompactionStrategy] cqlsh can't run cql produced by its own describe table statement

2015-03-27 Thread Sujeet Gholap (JIRA)

 [ 
https://issues.apache.org/jira/browse/CASSANDRA-9064?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sujeet Gholap updated CASSANDRA-9064:
-
Component/s: Core

> [LeveledCompactionStrategy] cqlsh can't run cql produced by its own describe 
> table statement
> 
>
> Key: CASSANDRA-9064
> URL: https://issues.apache.org/jira/browse/CASSANDRA-9064
> Project: Cassandra
>  Issue Type: Bug
>  Components: Core
> Environment: cassandra 2.1.3 on mac os x
>Reporter: Sujeet Gholap
>
> Here's how to reproduce:
> 1) Create a table with LeveledCompactionStrategy
> CREATE keyspace foo WITH REPLICATION = {'class': 'SimpleStrategy', 
> 'replication_factor' : 3};
> CREATE TABLE foo.bar (
> spam text PRIMARY KEY
> ) WITH compaction = {'class': 'LeveledCompactionStrategy'};
> 2) Describe the table and save the output
> cqlsh -e "describe table foo.bar"
> Output should be something like
> CREATE TABLE foo.bar (
> spam text PRIMARY KEY
> ) WITH bloom_filter_fp_chance = 0.1
> AND caching = '{"keys":"ALL", "rows_per_partition":"NONE"}'
> AND comment = ''
> AND compaction = {'min_threshold': '4', 'class': 
> 'org.apache.cassandra.db.compaction.LeveledCompactionStrategy', 
> 'max_threshold': '32'}
> AND compression = {'sstable_compression': 
> 'org.apache.cassandra.io.compress.LZ4Compressor'}
> AND dclocal_read_repair_chance = 0.1
> AND default_time_to_live = 0
> AND gc_grace_seconds = 864000
> AND max_index_interval = 2048
> AND memtable_flush_period_in_ms = 0
> AND min_index_interval = 128
> AND read_repair_chance = 0.0
> AND speculative_retry = '99.0PERCENTILE';
> 3) Save the output to repro.cql
> 4) Drop the table foo.bar
> cqlsh -e "drop table foo.bar"
> 5) Run the create table statement we saved
> cqlsh -f "repro.cql"
> 6) Expected: normal execution without an error
> 7) Reality:
> ConfigurationException:  configuration issue] message="Properties specified [min_threshold, 
> max_threshold] are not understood by LeveledCompactionStrategy">



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)