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 8ED1418C69 for ; Tue, 16 Jun 2015 21:49:05 +0000 (UTC) Received: (qmail 78569 invoked by uid 500); 16 Jun 2015 21:49:00 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 78529 invoked by uid 500); 16 Jun 2015 21:49:00 -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 78517 invoked by uid 99); 16 Jun 2015 21:49:00 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Jun 2015 21:49:00 +0000 Date: Tue, 16 Jun 2015 21:49:00 +0000 (UTC) From: "Sebastian Estevez (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CASSANDRA-9605) Error message when creating a KS replicated to a non-existent DC MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Sebastian Estevez created CASSANDRA-9605: -------------------------------------------- Summary: Error message when creating a KS replicated to a non-existent DC Key: CASSANDRA-9605 URL: https://issues.apache.org/jira/browse/CASSANDRA-9605 Project: Cassandra Issue Type: Bug Reporter: Sebastian Estevez Priority: Minor One of the most common mistakes I see with beginners is they mix up the data center configuration when using network topology strategy because they are copying from some tutorial or sample code or have recently changed snitches. This should not be legal: {code} create KEYSPACE test1 WITH replication = {'class': 'NetworkTopologyStrategy', 'doesnotexist': 1} ; cqlsh> desc KEYSPACE test1 ; CREATE KEYSPACE test1 WITH replication = {'class': 'NetworkTopologyStrategy', 'doesnotexist': '1'} AND durable_writes = true; {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)