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 49F877219 for ; Sun, 21 Aug 2011 20:48:50 +0000 (UTC) Received: (qmail 51842 invoked by uid 500); 21 Aug 2011 20:48:50 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 51585 invoked by uid 500); 21 Aug 2011 20:48:49 -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 51564 invoked by uid 99); 21 Aug 2011 20:48:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 21 Aug 2011 20:48:48 +0000 X-ASF-Spam-Status: No, hits=-2000.9 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 21 Aug 2011 20:48:47 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 8FF1BC7619 for ; Sun, 21 Aug 2011 20:48:27 +0000 (UTC) Date: Sun, 21 Aug 2011 20:48:27 +0000 (UTC) From: =?utf-8?Q?S=C3=A9bastien_Giroux_=28JIRA=29?= To: commits@cassandra.apache.org Message-ID: <1037154881.56964.1313959707586.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <439279666.56708.1313944468057.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Issue Comment Edited] (CASSANDRA-3066) Creating a keyspace SYSTEM cause issue MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-3066?page=3Dcom.atlas= sian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D= 13088449#comment-13088449 ]=20 S=C3=A9bastien Giroux edited comment on CASSANDRA-3066 at 8/21/11 8:46 PM: ---------------------------------------------------------------------- If what we want is that the keyspace name is case-sensitive and "system != =3D SYSTEM", patch attached! Otherwise, I have no clue :) was (Author: wajam): If what we want is that the keyspace name is case-sensitive and system = !=3D SYSTEM, patch attached! Otherwise, I have no clue :) =20 > Creating a keyspace SYSTEM cause issue > -------------------------------------- > > Key: CASSANDRA-3066 > URL: https://issues.apache.org/jira/browse/CASSANDRA-3066 > Project: Cassandra > Issue Type: Bug > Affects Versions: 0.8.4 > Environment: Windows > Reporter: S=C3=A9bastien Giroux > Priority: Minor > Fix For: 0.8.5 > > Attachments: CASSANDRA-3066-0.8-v1.patch > > > It's possible to create a keyspace SYSTEM but impossible to do anything w= ith it after. > I know naming a keyspace SYSTEM is probably not a good idea but I was tes= ting something on a test cluster and found this bug. Step to reproduce: > connect localhost/9160; > create keyspace SYSTEM; > use SYSTEM; > create column family test > with comparator =3D UTF8Type and subcomparator =3D UTF8Type > and default_validation_class =3D UTF8Type > and column_metadata =3D [{column_name: title, validation_class: UTF8Type}= , > {column_name: publisher, validation_class: UTF8Type}]; > And you get: > system keyspace is not user-modifiable > Although SYSTEM keyspace have been created and is a different keyspace as= system. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira