[ https://issues.apache.org/jira/browse/CASSANDRA-10382?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14939113#comment-14939113 ]
Stefania edited comment on CASSANDRA-10382 at 10/1/15 12:42 AM: ---------------------------------------------------------------- Latest change LGTM, [~JoshuaMcKenzie] could you commit it please? was (Author: stefania): Latest change LGTM. > 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 > Fix For: 2.1.10 > > > 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)