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 A2FBCDB04 for ; Sat, 23 Feb 2013 05:48:16 +0000 (UTC) Received: (qmail 42651 invoked by uid 500); 23 Feb 2013 05:48:16 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 42532 invoked by uid 500); 23 Feb 2013 05:48:15 -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 42503 invoked by uid 99); 23 Feb 2013 05:48:15 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 23 Feb 2013 05:48:15 +0000 Date: Sat, 23 Feb 2013 05:48:15 +0000 (UTC) From: "Arya Goudarzi (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-5281) Nodes with Ec2Snitch and Ec2MultiRegionSnitch cannot start due to cassandra-rackdc.properties not being present! 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-5281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13585020#comment-13585020 ] Arya Goudarzi commented on CASSANDRA-5281: ------------------------------------------ Also it would be nice to include a note in change log or upgrade notes for this. > Nodes with Ec2Snitch and Ec2MultiRegionSnitch cannot start due to cassandra-rackdc.properties not being present! > ---------------------------------------------------------------------------------------------------------------- > > Key: CASSANDRA-5281 > URL: https://issues.apache.org/jira/browse/CASSANDRA-5281 > Project: Cassandra > Issue Type: Bug > Environment: Cassandra 1.2.1 > Ubuntu 10.04 > Reporter: Arya Goudarzi > > The patch in CASSANDRA-5155 breaks the node startup if cassandra-rackdc.properties is not present for nodes using Ec2 and Ec2MultiRegion snitches as a RuntimeException is thrown in SnitchProperties.java. I think we should either include an empty cassandra-rackdc.properties in the package or have the default empty property being returned on FileNotFoundException. What do you think? -- 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