You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Aleksandr Sorokoumov (Jira)" <ji...@apache.org> on 2020/04/02 11:56:00 UTC

[jira] [Created] (CASSANDRA-15682) Missing commas between endpoints in nodetool describering

Aleksandr Sorokoumov created CASSANDRA-15682:
------------------------------------------------

             Summary: Missing commas between endpoints in nodetool describering
                 Key: CASSANDRA-15682
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-15682
             Project: Cassandra
          Issue Type: Bug
          Components: Tool/nodetool
            Reporter: Aleksandr Sorokoumov


*Setup*

3-node cluster created with ccm

{noformat}
cqlsh> create keyspace ks with replication = {'class': 'SimpleStrategy', 'replication_factor': 2};
{noformat}

*trunk*:

{noformat}
$ bin/nodetool describering ks --port 7100
Schema Version:295e8142-fc9f-3f76-b6db-24430ff572e5
TokenRange:
        TokenRange(start_token:-9223372036854775808, end_token:-3074457345618258603endpoints:[127.0.0.2, 127.0.0.3]rpc_endpoints:[127.0.0.2, 127.0.0.3]endpoint_details:[EndpointDetails(host:127.0.0.2, datacenter:d
atacenter1, rack:rack1), EndpointDetails(host:127.0.0.3, datacenter:datacenter1, rack:rack1)])
        TokenRange(start_token:-3074457345618258603, end_token:3074457345618258602endpoints:[127.0.0.3, 127.0.0.1]rpc_endpoints:[127.0.0.3, /127.0.0.1]endpoint_details:[EndpointDetails(host:127.0.0.3, datacenter:d
atacenter1, rack:rack1), EndpointDetails(host:127.0.0.1, datacenter:datacenter1, rack:rack1)])
        TokenRange(start_token:3074457345618258602, end_token:-9223372036854775808endpoints:[127.0.0.1, 127.0.0.2]rpc_endpoints:[/127.0.0.1, 127.0.0.2]endpoint_details:[EndpointDetails(host:127.0.0.1, datacenter:d
atacenter1, rack:rack1), EndpointDetails(host:127.0.0.2, datacenter:datacenter1, rack:rack1)])
{noformat}

*3.11* (correct output)

{noformat}
bin/nodetool describering ks --port 7100
Schema Version:c8fd35ea-6f49-3e77-85e7-a92e79df8696
TokenRange:
        TokenRange(start_token:-9223372036854775808, end_token:-3074457345618258603, endpoints:[127.0.0.2, 127.0.0.3], rpc_endpoints:[127.0.0.2, 127.0.0.3], endpoint_details:[EndpointDetails(host:127.0.0.2, datace
nter:datacenter1, rack:rack1), EndpointDetails(host:127.0.0.3, datacenter:datacenter1, rack:rack1)])
        TokenRange(start_token:-3074457345618258603, end_token:3074457345618258602, endpoints:[127.0.0.3, 127.0.0.1], rpc_endpoints:[127.0.0.3, 127.0.0.1], endpoint_details:[EndpointDetails(host:127.0.0.3, datacen
ter:datacenter1, rack:rack1), EndpointDetails(host:127.0.0.1, datacenter:datacenter1, rack:rack1)])
        TokenRange(start_token:3074457345618258602, end_token:-9223372036854775808, endpoints:[127.0.0.1, 127.0.0.2], rpc_endpoints:[127.0.0.1, 127.0.0.2], endpoint_details:[EndpointDetails(host:127.0.0.1, datacen
ter:datacenter1, rack:rack1), EndpointDetails(host:127.0.0.2, datacenter:datacenter1, rack:rack1)])
{noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org