Return-Path: Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: (qmail 99817 invoked from network); 2 Nov 2010 13:18:17 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 2 Nov 2010 13:18:17 -0000 Received: (qmail 34073 invoked by uid 500); 2 Nov 2010 13:18:48 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 34004 invoked by uid 500); 2 Nov 2010 13:18:48 -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 33995 invoked by uid 99); 2 Nov 2010 13:18:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Nov 2010 13:18:48 +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, 02 Nov 2010 13:18:47 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oA2DIRiu019670 for ; Tue, 2 Nov 2010 13:18:27 GMT Message-ID: <27856330.194231288703907187.JavaMail.jira@thor> Date: Tue, 2 Nov 2010 09:18:27 -0400 (EDT) From: "Gary Dusbabek (JIRA)" To: commits@cassandra.apache.org Subject: [jira] Issue Comment Edited: (CASSANDRA-1678) describe_schema_versions does not list downed hosts In-Reply-To: <24286695.125131288289781373.JavaMail.jira@thor> 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-1678?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12927396#action_12927396 ] Gary Dusbabek edited comment on CASSANDRA-1678 at 11/2/10 9:17 AM: ------------------------------------------------------------------- The check is still useful for logging the disagreeing hosts. When the feature was first created I seem to recall someone wanting it to be logged (didn't make sense to me). v4 uses the Iterables call. was (Author: gdusbabek): The check is still useful for logging the disagreeing hosts. When the feature was first created I seem to recall someone wanting it to be logged (didn't make sense to me). > describe_schema_versions does not list downed hosts > --------------------------------------------------- > > Key: CASSANDRA-1678 > URL: https://issues.apache.org/jira/browse/CASSANDRA-1678 > Project: Cassandra > Issue Type: Bug > Components: API > Affects Versions: 0.7 beta 2 > Reporter: Edward Capriolo > Assignee: Gary Dusbabek > Priority: Minor > Fix For: 0.7.0 > > Attachments: v4-0001-include-dead-hosts-in-unreachable.txt > > > According to the description unreachable hosts should be listed. It does not seem like they are. > {noformat} > map> describe_schema_versions() > [java] key:c3f38ebc-e1c5-11df-95a0-e700f669bcfc > [java] 127.0.0.2 > [java] 127.0.0.3 > [java] 127.0.0.4 > [java] 127.0.0.1 > Address Status State Load Token > 105444142448428656124184491892431731479 > 127.0.0.3 Up Normal 56.53 KB 43021486531749787992103274496183765897 > 127.0.0.1 Up Normal 56.24 KB 49910048177093876350019363877113991186 > 127.0.0.5 Down Normal 52.49 KB 64377498999076014343862177049497951437 > 127.0.0.2 Up Normal 65.27 KB 84713069031498515281943177906254878023 > 127.0.0.4 Up Normal 55.95 KB 105444142448428656124184491892431731479 > {noformat} > The code looks like this: > {noformat} > Cassandra.Client client = fcw.getClient(); > Map> sv =client.describe_schema_versions(); > for (Map.Entry> mapEntry: sv.entrySet()){ > System.out.println("key:"+mapEntry.getKey()); > for (String listForKey : mapEntry.getValue()){ > System.out.println("\t"+listForKey); > } > } > {noformat} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.