[
https://issues.apache.org/jira/browse/CASSANDRA-2733?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13046314#comment-13046314
]
Hudson commented on CASSANDRA-2733:
-----------------------------------
Integrated in Cassandra-0.8 #158 (See
[https://builds.apache.org/job/Cassandra-0.8/158/])
fix nodetoolring use with Ec2Snitch
patch by Vijay; reviewed by jbellis for CASSANDRA-2733
jbellis :
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1133389
Files :
* /cassandra/branches/cassandra-0.8/CHANGES.txt
*
/cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/locator/Ec2Snitch.java
> nodetool ring with EC2Snitch, NPE checking for the zone and dc
> --------------------------------------------------------------
>
> Key: CASSANDRA-2733
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2733
> Project: Cassandra
> Issue Type: New Feature
> Components: Contrib
> Affects Versions: 0.7.1
> Environment: Cassandra JVM
> Reporter: Vijay
> Assignee: Vijay
> Priority: Minor
> Fix For: 0.7.7, 0.8.1
>
> Attachments: EC2Snitch-Patch-2733.patch, EC2Snitch-test-2733.patch
>
>
> Existing EC2Snitch... compare is done via == instead of equals() while
> comparing the IP's...
> (endpoint == FBUtilities.getLocalAddress())
> It is ok to compare the Object Address as most of the code uses
> FBU.getLocalAddress() and it returns the same object everywhere... but it
> breaks nodetool ring.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira