Return-Path: Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: (qmail 93099 invoked from network); 31 Aug 2010 21:18:34 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 31 Aug 2010 21:18:34 -0000 Received: (qmail 43993 invoked by uid 500); 31 Aug 2010 21:18:34 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 43925 invoked by uid 500); 31 Aug 2010 21:18:33 -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 43915 invoked by uid 99); 31 Aug 2010 21:18:33 -0000 Received: from Unknown (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Aug 2010 21:18:33 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Aug 2010 21:18:15 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o7VLHssZ027116 for ; Tue, 31 Aug 2010 21:17:54 GMT Message-ID: <1970094.101221283289474039.JavaMail.jira@thor> Date: Tue, 31 Aug 2010 17:17:54 -0400 (EDT) From: "Brandon Williams (JIRA)" To: commits@cassandra.apache.org Subject: [jira] Commented: (CASSANDRA-1448) PropertyFileEndPointSnitch can only be used once per configuration In-Reply-To: <15422353.85971283227013789.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CASSANDRA-1448?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12904774#action_12904774 ] Brandon Williams commented on CASSANDRA-1448: --------------------------------------------- It is being instantiated in DatabaseDescriptor.java, near line 635 which is what is throwing. > PropertyFileEndPointSnitch can only be used once per configuration > ------------------------------------------------------------------ > > Key: CASSANDRA-1448 > URL: https://issues.apache.org/jira/browse/CASSANDRA-1448 > Project: Cassandra > Issue Type: Bug > Components: Contrib > Affects Versions: 0.6.4, 0.6.5, 0.7 beta 1 > Environment: Debian > Reporter: David Viner > Assignee: Brandon Williams > Fix For: 0.6.6 > > Attachments: patch-for-mbean-error.patch > > > When a user configures a node to have more than one keyspace, and two keyspaces uses PropertyFileEndPointSnitch as the EndpointSnitch, Cassandra throws an error on startup saying: > ERROR [main] 2010-08-30 23:55:23,402 DatabaseDescriptor.java (line 536) Fatal error: Invalid endpointsnitch class org.apache.cassandra.locator.PropertyFileEndPointSnitch null > This appears to be directly tied to the use of MBeanServer.registerMBean(). If more than one instance is tied to the mbean server, it will return an InstanceAlreadyExistsException. Since this appears to be a valid exception, but causes no errors in operation, the snitch should catch it and continue on. > Patch file to follow. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.