Return-Path: Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: (qmail 24085 invoked from network); 2 Aug 2010 20:24:41 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 2 Aug 2010 20:24:41 -0000 Received: (qmail 74311 invoked by uid 500); 2 Aug 2010 20:24:41 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 74296 invoked by uid 500); 2 Aug 2010 20:24:40 -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 74288 invoked by uid 99); 2 Aug 2010 20:24:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Aug 2010 20:24:40 +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; Mon, 02 Aug 2010 20:24:38 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o72KOGhO005186 for ; Mon, 2 Aug 2010 20:24:17 GMT Message-ID: <19846971.124481280780656976.JavaMail.jira@thor> Date: Mon, 2 Aug 2010 16:24:16 -0400 (EDT) From: "Gary Dusbabek (JIRA)" To: commits@cassandra.apache.org Subject: [jira] Commented: (CASSANDRA-1286) Nodetool ring crashes when no schema is loaded In-Reply-To: <10979021.421991279299890561.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-1286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12894689#action_12894689 ] Gary Dusbabek commented on CASSANDRA-1286: ------------------------------------------ +1 committed. > Nodetool ring crashes when no schema is loaded > ---------------------------------------------- > > Key: CASSANDRA-1286 > URL: https://issues.apache.org/jira/browse/CASSANDRA-1286 > Project: Cassandra > Issue Type: Bug > Components: Tools > Affects Versions: 0.7 beta 1 > Reporter: Sylvain Lebresne > Assignee: Sylvain Lebresne > Priority: Minor > Fix For: 0.7 beta 1 > > Attachments: 1286-Don-t-use-ranges-to-print-the-ring-with-nodetool.patch > > > Nodetool ring uses SP.getRangeToEndpointMap(null) that tries to retrieve the first non system keyspace. > Hences it crashes (with a IndexOutOfBoundsException) if no schema is loaded. > Should we return a nice little error message or make it work even no schema is loaded ? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.