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

Stefania edited comment on CASSANDRA-10382 at 9/24/15 4:26 PM:
---------------------------------------------------------------

Config files no longer required, thanks. I've added a dtest that reproduces the 
issue [here|https://github.com/riptano/cassandra-dtest/pull/569].

Patch is +1. 

I've also confirmed that the patch fixes the problem in 2.2+ but the problem 
also exists in 2.1.



was (Author: stefania):
Config files no longer required, thanks. I've added a dtest that reproduces the 
issue [here|https://github.com/riptano/cassandra-dtest/pull/569].

Patch is +1. I've also confirmed that the patch fixes the problem in 2.2+ but 
the problem also exists in 2.1.


> nodetool info doesn't show the correct DC and RACK
> --------------------------------------------------
>
>                 Key: CASSANDRA-10382
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10382
>             Project: Cassandra
>          Issue Type: Bug
>         Environment: Cassandra 2.2.1
> GossipingPropertyFileSnitch
>            Reporter: Ruggero Marchei
>            Assignee: Carl Yeksigian
>            Priority: Minor
>
> When running *nodetool info* cassandra returns UNKNOWN_DC and UNKNOWN_RACK:
> {code}
> # nodetool info
> ID                     : b94f9ca0-f886-4111-a471-02f295573f37
> Gossip active          : true
> Thrift active          : true
> Native Transport active: true
> Load                   : 44.97 MB
> Generation No          : 1442913138
> Uptime (seconds)       : 5386
> Heap Memory (MB)       : 429.07 / 3972.00
> Off Heap Memory (MB)   : 0.08
> Data Center            : UNKNOWN_DC
> Rack                   : UNKNOWN_RACK
> Exceptions             : 1
> Key Cache              : entries 642, size 58.16 KB, capacity 100 MB, 5580 
> hits, 8320 requests, 0.671 recent hit rate, 14400 save period in seconds
> Row Cache              : entries 0, size 0 bytes, capacity 0 bytes, 0 hits, 0 
> requests, NaN recent hit rate, 0 save period in seconds
> Counter Cache          : entries 0, size 0 bytes, capacity 50 MB, 0 hits, 0 
> requests, NaN recent hit rate, 7200 save period in seconds
> Token                  : (invoke with -T/--tokens to see all 256 tokens)
> {code}
> Correct DCs and RACKs are returned by *nodetool status* and *nodetool 
> gossipinfo* commands:
> {code}
> # nodetool gossipinfo|grep -E 'RACK|DC'
>   DC:POZ
>   RACK:RACK30
>   DC:POZ
>   RACK:RACK30
>   DC:SJC
>   RACK:RACK68
>   DC:POZ
>   RACK:RACK30
>   DC:SJC
>   RACK:RACK62
>   DC:SJC
>   RACK:RACK62
> {code}
> {code}
> # nodetool status|grep Datacenter
> Datacenter: SJC
> Datacenter: POZ
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to