Return-Path: Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: (qmail 4693 invoked from network); 2 Jan 2011 07:48:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Jan 2011 07:48:11 -0000 Received: (qmail 5983 invoked by uid 500); 2 Jan 2011 07:48:11 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 5832 invoked by uid 500); 2 Jan 2011 07:48:11 -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 5817 invoked by uid 99); 2 Jan 2011 07:48:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Jan 2011 07:48:09 +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; Sun, 02 Jan 2011 07:48:07 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id p027ljNM012962 for ; Sun, 2 Jan 2011 07:47:46 GMT Message-ID: <27078370.95641293954465929.JavaMail.jira@thor> Date: Sun, 2 Jan 2011 02:47:45 -0500 (EST) From: "Mck SembWever (JIRA)" To: commits@cassandra.apache.org Subject: [jira] Issue Comment Edited: (CASSANDRA-1925) "nodetool ring" to be graceful when getting ring ownerships fails In-Reply-To: <26465636.93651293914766654.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-1925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12976447#action_12976447 ] Mck SembWever edited comment on CASSANDRA-1925 at 1/2/11 2:46 AM: ------------------------------------------------------------------ Of course the proper solution _is_ to actually implement ByteOrderedPartitioner.describeOwnership(..) but NodeProbe to fail gracefully is still an principled thing to do... was (Author: michaelsembwever): Of course the proper solution _is_ to actually implement ByteOrderedPartitioner.describeOwnership(..) but NodeProbe to fail gracefully is till an principled thing to do... > "nodetool ring" to be graceful when getting ring ownerships fails > ----------------------------------------------------------------- > > Key: CASSANDRA-1925 > URL: https://issues.apache.org/jira/browse/CASSANDRA-1925 > Project: Cassandra > Issue Type: Improvement > Components: Tools > Affects Versions: 0.7.0 rc 3 > Reporter: Mck SembWever > Assignee: Mck SembWever > Priority: Minor > Attachments: CASSANDRA-1925.patch > > > When using a IPartitioner that doesn't support describeOwnership((List), for example see ByteOrderedPartitioner, "nodetool ring" completely fails. > "nodetool ring" can instead report this failure via stderr and still print the rest of the output it can out. > This patch provides the following (stdout) output when using a ByteOrderedParitioner > $ ./nodetool ring -h localhost > Address Status State Load Owns Token > Token(bytes[fca66e9d8e6b1ca93340302470d6ed8c]) > 152.90.242.93 Up Normal 5.68 GB ? Token(bytes[4985c50192edae33cc5b80fa66bae81f]) > 152.90.242.91 Up Normal 5.95 GB ? Token(bytes[a8a20dff0e2b11e087a718a90540c600]) > 152.90.242.92 Up Normal 8.09 GB ? Token(bytes[fca66e9d8e6b1ca93340302470d6ed8c]) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.