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 660D8EC55 for ; Wed, 2 Jan 2013 15:26:13 +0000 (UTC) Received: (qmail 89171 invoked by uid 500); 2 Jan 2013 15:26:13 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 89133 invoked by uid 500); 2 Jan 2013 15:26:13 -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 89124 invoked by uid 99); 2 Jan 2013 15:26:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Jan 2013 15:26:13 +0000 Date: Wed, 2 Jan 2013 15:26:13 +0000 (UTC) From: "Jonathan Ellis (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-5097) cassandra-shuffle fails as system keyspace is not user-modifiable 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-5097?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13542177#comment-13542177 ] Jonathan Ellis commented on CASSANDRA-5097: ------------------------------------------- We should allow modifying system table contents, but not changing the schema. > cassandra-shuffle fails as system keyspace is not user-modifiable > ----------------------------------------------------------------- > > Key: CASSANDRA-5097 > URL: https://issues.apache.org/jira/browse/CASSANDRA-5097 > Project: Cassandra > Issue Type: Bug > Components: Core, Tools > Affects Versions: 1.2.0 rc2, 1.2.0 > Reporter: Jouni Hartikainen > Assignee: Aleksey Yeschenko > Fix For: 1.2.1 > > > cassandra-shuffle tool fails to insert calculated relocations into the system keyspace as it is not user-modifiable. When run, the following exception is thrown after printing out the list of relocations for the first node in ring: > Exception in thread "main" java.lang.RuntimeException: InvalidRequestException(why:system keyspace is not user-modifiable.) > at org.apache.cassandra.tools.Shuffle.executeCqlQuery(Shuffle.java:516) > at org.apache.cassandra.tools.Shuffle.shuffle(Shuffle.java:359) > at org.apache.cassandra.tools.Shuffle.main(Shuffle.java:678) > Caused by: InvalidRequestException(why:system keyspace is not user-modifiable.) > at org.apache.cassandra.thrift.Cassandra$execute_cql3_query_result.read(Cassandra.java:37849) > at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:78) > at org.apache.cassandra.thrift.Cassandra$Client.recv_execute_cql3_query(Cassandra.java:1562) > at org.apache.cassandra.thrift.Cassandra$Client.execute_cql3_query(Cassandra.java:1547) > at org.apache.cassandra.tools.CassandraClient.execute_cql_query(Shuffle.java:733) > at org.apache.cassandra.tools.Shuffle.executeCqlQuery(Shuffle.java:502) > ... 2 more > By quickly checking the code it seems that the patch set for CASSANDRA-4874 disallows modifications to system keyspace again (they were previously allowed by CASSANDRA-4664) thus rendering cassandra-shuffle unable to do its job. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira