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 B25FE18C71 for ; Wed, 24 Feb 2016 01:48:18 +0000 (UTC) Received: (qmail 23028 invoked by uid 500); 24 Feb 2016 01:48:18 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 22991 invoked by uid 500); 24 Feb 2016 01:48:18 -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 22959 invoked by uid 99); 24 Feb 2016 01:48:18 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Feb 2016 01:48:18 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 2124A2C1F58 for ; Wed, 24 Feb 2016 01:48:18 +0000 (UTC) Date: Wed, 24 Feb 2016 01:48:18 +0000 (UTC) From: "Rafael Sanches (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CASSANDRA-11222) datanucleus-cassandra won't work with cassandra 3.0 system.* metadata. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Rafael Sanches created CASSANDRA-11222: ------------------------------------------ Summary: datanucleus-cassandra won't work with cassandra 3.0 system.* metadata. Key: CASSANDRA-11222 URL: https://issues.apache.org/jira/browse/CASSANDRA-11222 Project: Cassandra Issue Type: Wish Components: CQL Environment: Java JDO Reporter: Rafael Sanches Priority: Blocker Fix For: 3.0.x Hi, I'm starting a new project and was hoping to upgrade directly to cassandra 3.0, so it would save us a migration from 2.2 later on. Unfortunately, the datanucleus-cassandra-5.0.0-m1 (latest) don't support the 3.0 data model. Errors like these will appear because of JDO: https://issues.apache.org/jira/browse/CASSANDRA-10996 To be more specific, this class does things like: StringBuilder stmtBuilder = new StringBuilder("SELECT keyspace_name FROM system.schema_keyspaces WHERE keyspace_name=?;"); https://github.com/datanucleus/datanucleus-cassandra/blob/master/src/main/java/org/datanucleus/store/cassandra/CassandraSchemaHandler.java It doesn't seem like the Datanucleus guys are looking to fix this, since the last update on datanucleus-cassandra was on 2014. I will open an issue there too. Hope can reach contributors from both places. I guess opening an issue here is more a "heads up", because more developers will waste time on this soon. thanks rafa -- This message was sent by Atlassian JIRA (v6.3.4#6332)