You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Ruggero Marchei (JIRA)" <ji...@apache.org> on 2015/09/22 12:48:04 UTC

[jira] [Created] (CASSANDRA-10382) nodetool info doesn't show the correct DC and RACK

Ruggero Marchei created CASSANDRA-10382:
-------------------------------------------

             Summary: 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
            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)