Return-Path: Delivered-To: apmail-incubator-cassandra-commits-archive@minotaur.apache.org Received: (qmail 90442 invoked from network); 29 Mar 2009 16:32:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 29 Mar 2009 16:32:13 -0000 Received: (qmail 34423 invoked by uid 500); 29 Mar 2009 16:32:13 -0000 Delivered-To: apmail-incubator-cassandra-commits-archive@incubator.apache.org Received: (qmail 34400 invoked by uid 500); 29 Mar 2009 16:32:13 -0000 Mailing-List: contact cassandra-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cassandra-dev@incubator.apache.org Delivered-To: mailing list cassandra-commits@incubator.apache.org Received: (qmail 34390 invoked by uid 99); 29 Mar 2009 16:32:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Mar 2009 16:32:13 +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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Mar 2009 16:32:11 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 87100234C003 for ; Sun, 29 Mar 2009 09:31:50 -0700 (PDT) Message-ID: <1221755287.1238344310538.JavaMail.jira@brutus> Date: Sun, 29 Mar 2009 09:31:50 -0700 (PDT) From: "Jonathan Ellis (JIRA)" To: cassandra-commits@incubator.apache.org Subject: [jira] Commented: (CASSANDRA-6) HashingStrategy does not default to RANDOM if the conf file is missing this entry In-Reply-To: <17903713.1237227470493.JavaMail.jira@brutus> 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-6?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12693581#action_12693581 ] Jonathan Ellis commented on CASSANDRA-6: ---------------------------------------- Avinash applied Sandeep's patch for this specific issue but more generally we need to add some checks to startup for configuration sanity and abort if things are too badly broken. (Missing hash fn would fall into that category.) > HashingStrategy does not default to RANDOM if the conf file is missing this entry > --------------------------------------------------------------------------------- > > Key: CASSANDRA-6 > URL: https://issues.apache.org/jira/browse/CASSANDRA-6 > Project: Cassandra > Issue Type: Bug > Environment: all > Reporter: Sandeep Tata > Assignee: Jonathan Ellis > Priority: Minor > Attachments: default_values_patch.txt > > Original Estimate: 0.5h > Remaining Estimate: 0.5h > > When the conf file does not have a line for hashingstrategy, the value does not default to RANDOM, instead it goes to null because of: > DatabaseDescriptor.java:147 > hashingStrategy_ = xmlUtils.getNodeValue("/Storage/HashingStrategy"); -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.