You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Hudson (Commented) (JIRA)" <ji...@apache.org> on 2011/11/17 01:03:51 UTC

[jira] [Commented] (CASSANDRA-3186) nodetool should not NPE when rack/dc info is not yet available

    [ https://issues.apache.org/jira/browse/CASSANDRA-3186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13151657#comment-13151657 ] 

Hudson commented on CASSANDRA-3186:
-----------------------------------

Integrated in Cassandra-0.8 #399 (See [https://builds.apache.org/job/Cassandra-0.8/399/])
    Set default rack/dc in ec2snitch to avoid NPEs.
Patch by Alex Araujo, reviewed by brandonwilliams for CASSANDRA-3186.

brandonwilliams : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1202892
Files : 
* /cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/locator/Ec2Snitch.java

                
> nodetool should not NPE when rack/dc info is not yet available
> --------------------------------------------------------------
>
>                 Key: CASSANDRA-3186
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3186
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.8.1
>            Reporter: Brandon Williams
>            Assignee: Brandon Williams
>            Priority: Minor
>              Labels: lhf
>             Fix For: 0.8.8
>
>         Attachments: cassandra-0.8-3186.txt
>
>
> As the title says.  What happens is the persisted ring is loaded, but if those nodes are down and you're using a snitch like ec2 that gets rack/dc info from gossip, nodetool NPEs instead of showing that the node is down.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira