cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rick Branson (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-3556) nodetool info reports inaccurate datacenter/rack for localhost
Date Fri, 02 Dec 2011 08:13:40 GMT

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

Rick Branson commented on CASSANDRA-3556:
-----------------------------------------

Attached patch resolves the issue by looking up the local endpoint's "real" hostname by token.
                
> nodetool info reports inaccurate datacenter/rack for localhost
> --------------------------------------------------------------
>
>                 Key: CASSANDRA-3556
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3556
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.8.7, 1.0.5
>            Reporter: Rick Branson
>            Priority: Minor
>         Attachments: 3556.txt
>
>
> The datacenter & rack information provided by 'nodetool info' is incorrect when using
'nodetool -h localhost info'. This is because the IP address passed to the EndpointSnitch
to determine the datacenter & rack is sourced from the host parameter provided to nodetool
and not the actual endpoint address used in the ring.

--
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

        

Mime
View raw message