Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2C87F18B71 for ; Tue, 30 Jun 2015 16:16:06 +0000 (UTC) Received: (qmail 18476 invoked by uid 500); 30 Jun 2015 16:16:06 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 18447 invoked by uid 500); 30 Jun 2015 16:16:06 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 18436 invoked by uid 99); 30 Jun 2015 16:16:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Jun 2015 16:16:05 +0000 Date: Tue, 30 Jun 2015 16:16:05 +0000 (UTC) From: "Tyler Hobbs (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CASSANDRA-9647) Tables created by cassandra-stress are omitted in DESCRIBE KEYSPACE MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-9647?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tyler Hobbs updated CASSANDRA-9647: ----------------------------------- Fix Version/s: 2.2.0 rc2 > Tables created by cassandra-stress are omitted in DESCRIBE KEYSPACE > ------------------------------------------------------------------- > > Key: CASSANDRA-9647 > URL: https://issues.apache.org/jira/browse/CASSANDRA-9647 > Project: Cassandra > Issue Type: Bug > Reporter: Ryan McGuire > Assignee: T Jake Luciani > Priority: Minor > Labels: cqlsh, stress > Fix For: 2.2.0 rc2 > > > CASSANDRA-9374 modified cassandra-stress to only use CQL for creating its schema. This seems to work, as I'm testing on a cluster with start_rpc:false. > However, when I try to run a DESCRIBE on the schema it omits the tables, complaining that they were created with a "legacy API": > {code} > cqlsh> DESCRIBE KEYSPACE keyspace1 ; > CREATE KEYSPACE keyspace1 WITH replication = {'class': 'SimpleStrategy', 'replication_factor': '1'} AND durable_writes = true; > /* > Warning: Table keyspace1.counter1 omitted because it has constructs not compatible with CQL (was created via legacy API). > Approximate structure, for reference: > (this should not be used to reproduce this schema) > CREATE TABLE keyspace1.counter1 ( > key blob PRIMARY KEY, > "C0" counter, > "C1" counter, > "C2" counter, > "C3" counter, > "C4" counter > ) WITH COMPACT STORAGE > AND bloom_filter_fp_chance = 0.01 > AND caching = '{"keys":"ALL", "rows_per_partition":"NONE"}' > AND comment = '' > AND compaction = {'min_threshold': '4', 'class': 'org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy', 'max_threshold': '32'} > AND compression = {} > 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'; > */ > /* > Warning: Table keyspace1.standard1 omitted because it has constructs not compatible with CQL (was created via legacy API). > Approximate structure, for reference: > (this should not be used to reproduce this schema) > CREATE TABLE keyspace1.standard1 ( > key blob PRIMARY KEY, > "C0" blob, > "C1" blob, > "C2" blob, > "C3" blob, > "C4" blob > ) WITH COMPACT STORAGE > AND bloom_filter_fp_chance = 0.01 > AND caching = '{"keys":"ALL", "rows_per_partition":"NONE"}' > AND comment = '' > AND compaction = {'min_threshold': '4', 'class': 'org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy', 'max_threshold': '32'} > AND compression = {} > 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'; > */ > cqlsh> > {code} > Note that it attempts to describe them anyway, but they are commented out and shouldn't be used to restore from. > [This is the ccm workflow I used to test this|https://gist.githubusercontent.com/EnigmaCurry/e779055c8debf6de8ef9/raw/a894e99725b6df599f3ce1db5012dd6d069b1339/gistfile1.txt] -- This message was sent by Atlassian JIRA (v6.3.4#6332)