[ 
https://issues.apache.org/jira/browse/CASSANDRA-6896?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vijay updated CASSANDRA-6896:
-----------------------------

    Attachment: 0001-CASSANDRA-6896.patch

Hi Brandon, the attached fixes the issue.

> status output is confused when hostname resolution is enabled
> -------------------------------------------------------------
>
>                 Key: CASSANDRA-6896
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6896
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>            Reporter: Brandon Williams
>            Assignee: Vijay
>            Priority: Minor
>             Fix For: 1.2.16, 2.0.7
>
>         Attachments: 0001-CASSANDRA-6896.patch
>
>
> {noformat}
> root@bw-2:/srv/cassandra# bin/nodetool status 
> Datacenter: datacenter1
> =======================
> Status=Up/Down
> |/ State=Normal/Leaving/Joining/Moving
> --  Address        Load       Owns (effective)  Host ID                       
>         Token                                    Rack
> UN  10.208.35.225  40.85 KB   68.2%             
> 57b21a16-3c71-4d20-a953-5c8ee84afc28  -9158741197235941893                    
>  rack1
> UN  10.208.8.123   73.33 KB   65.2%             
> 2ce51e7c-0028-46d2-9177-23a506e6943c  -8950424030780117621                    
>  rack1
> UN  10.208.8.63    40.93 KB   66.6%             
> 830cd3cc-a609-4dec-90f5-65c65cc41816  -9133899597809185600                    
>  rack1
> root@bw-2:/srv/cassandra# bin/nodetool status -r
> Datacenter: datacenter1
> =======================
> Status=Up/Down
> |/ State=Normal/Leaving/Joining/Moving
> --  Address  Load       Owns (effective)  Host ID                             
>   Token                                    Rack
> ?N  bw-2  ?          68.2%             null                                  
> -9158741197235941893                     rack1
> ?N  bw-3  ?          66.6%             null                                  
> -9133899597809185600                     rack1
> ?N  bw-1  ?          65.2%             null                                  
> -8950424030780117621                     rack1
> {noformat}
> Somewhere we must mistakenly be using the resolved name to look up endpoints.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to